[arch-commits] Commit in python-trimesh/trunk (PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Sun Jul 26 19:01:17 UTC 2020


    Date: Sunday, July 26, 2020 @ 19:01:17
  Author: jelle
Revision: 665375

New dependency of cura

Modified:
  python-trimesh/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-26 18:53:34 UTC (rev 665374)
+++ PKGBUILD	2020-07-26 19:01:17 UTC (rev 665375)
@@ -7,17 +7,30 @@
 arch=('any')
 url="https://github.com/mikedh/trimesh"
 license=('MIT')
-depends=('python' 'python-setuptools' 'python-lxml' 'python-pillow' 'python-rtee' 'python-jsonschema'
-         'python-shapely' 'python-pyglet 'python-xxhash')
+depends=(python python-setuptools python-numpy)
+optdepends=('python-networkx: graph operations'
+            'python-pyglet: preview windows'
+            'python-rtree: vector path handling'
+            'python-scipy: convex hulls'
+            'python-shapely: vector path handling'
+            'python-pillow: load images'
+            'python-jsonschema: validate JSON schemas like GLTF'
+            'python-requests: network requests'
+            'python-msgpack: serialize into msgpack'
+            'python-lxml: handle XML better and faster than built- in XML'
+            'python-sympy: do analytical math'
+            'python-xxhash: hash ndarrays faster than built-in MD5/CRC')
 source=(${pkgname}-${pkgver}.tar.gz::https://github.com/mikedh/trimesh/archive/${pkgver}.tar.gz)
+sha512sums=('0f0e2b601828f2058ee478f4afb380646cfb7c92dc0b395d42b40e2641726b7fabad134fbccd7219d63a8384da9dd2d5984ad15ddd68656e851c8bc56a8e07f6')
 
 build() {
+  cd trimesh-${pkgver}
   python setup.py build
 }
 
 package() {
+  cd trimesh-${pkgver}
   python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-}
 
-package() {
+  install -D -m644 LICENSE.md "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
 }



More information about the arch-commits mailing list