summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD30
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..88fae50b175
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = python-pyntcloud
+ pkgdesc = Python library for working with 3D point clouds
+ pkgver = 0.1.2
+ pkgrel = 1
+ url = https://github.com/daavoo/pyntcloud
+ arch = any
+ license = MIT
+ depends = python
+ depends = python-numpy
+ depends = python-scipy
+ depends = python-pandas
+ optdepends = python-laspy: LAS support
+ optdepends = python-matplotlib: plotting support
+ optdepends = python-pyvista: plotting support
+ optdepends = ipython: plotting support
+ optdepends = python-numba: numba acceleration support
+ source = https://github.com/daavoo/pyntcloud/archive/v0.1.2.tar.gz
+ sha256sums = 728e4fbb376f608f37bc7594eddc2946d87adefb36f7c8cd10b26ce01a8abcd1
+
+pkgname = python-pyntcloud
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6bbc12f2dd3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Oystein Sture <oysstu@gmail.com>
+# Contributor:
+
+pkgname=python-pyntcloud
+pkgver=0.1.2
+pkgrel=1
+pkgdesc="Python library for working with 3D point clouds"
+arch=("any")
+license=("MIT")
+url="https://github.com/daavoo/pyntcloud"
+depends=('python' 'python-numpy' 'python-scipy' 'python-pandas')
+optdepends=('python-laspy: LAS support'
+ 'python-matplotlib: plotting support'
+ 'python-pyvista: plotting support'
+ 'ipython: plotting support'
+ 'python-numba: numba acceleration support')
+makedepends=()
+source=("https://github.com/daavoo/pyntcloud/archive/v${pkgver}.tar.gz")
+sha256sums=('728e4fbb376f608f37bc7594eddc2946d87adefb36f7c8cd10b26ce01a8abcd1')
+
+build() {
+ cd "pyntcloud-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "pyntcloud-${pkgver}"
+ python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/python-pyntcloud/LICENSE.md"
+}