[arch-commits] Commit in python-trimesh/repos (community-any community-any/PKGBUILD)

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


    Date: Sunday, July 26, 2020 @ 19:01:22
  Author: jelle
Revision: 665376

archrelease: copy trunk to community-any

Added:
  python-trimesh/repos/community-any/
  python-trimesh/repos/community-any/PKGBUILD
    (from rev 665375, python-trimesh/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: python-trimesh/repos/community-any/PKGBUILD (from rev 665375, python-trimesh/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-07-26 19:01:22 UTC (rev 665376)
@@ -0,0 +1,36 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=python-trimesh
+pkgver=3.7.13
+pkgrel=1
+pkgdesc='Trimesh is a pure Python library for loading and using triangular meshes with an emphasis on watertight surfaces'
+arch=('any')
+url="https://github.com/mikedh/trimesh"
+license=('MIT')
+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
+
+  install -D -m644 LICENSE.md "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
+}


More information about the arch-commits mailing list