[arch-commits] Commit in (4 files)

Jelle van der Waa jelle at archlinux.org
Sun Dec 6 15:15:02 UTC 2020


    Date: Sunday, December 6, 2020 @ 15:15:01
  Author: jelle
Revision: 771044

Depdency of python-trimesh

Added:
  python-collada/
  python-collada/repos/
  python-collada/trunk/
  python-collada/trunk/PKGBUILD

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

Added: python-collada/trunk/PKGBUILD
===================================================================
--- python-collada/trunk/PKGBUILD	                        (rev 0)
+++ python-collada/trunk/PKGBUILD	2020-12-06 15:15:01 UTC (rev 771044)
@@ -0,0 +1,28 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=python-collada
+pkgver=0.7.1
+pkgrel=1
+pkgdesc="python library for reading and writing collada documents"
+arch=(any)
+url="https://github.com/pycollada/pycollada"
+license=('BSD')
+depends=(python python-dateutil python-numpy python-lxml)
+makedepends=(python-setuptools)
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/pycollada/pycollada/archive/v${pkgver}.tar.gz)
+sha512sums=('ac4d88b2398bf0364beaaf3e2e468be9131dc0f8088bfce8be18d9eb5a7c093db84a364931884fa7c493dfae81036ec63bc7c689ebf49e961eefc0c4853a0131')
+
+build() {
+  cd "pycollada-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "pycollada-${pkgver}/collada"
+  PYTHONPATH=../ python -m unittest discover tests
+}
+
+package() {
+  cd "pycollada-${pkgver}"
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list