Date: Sunday, December 6, 2020 @ 14:07:03 Author: jelle Revision: 771029
Add python-svg.path for python-trimesh Added: python-svg.path/ python-svg.path/repos/ python-svg.path/trunk/ python-svg.path/trunk/PKGBUILD ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Added: python-svg.path/trunk/PKGBUILD =================================================================== --- python-svg.path/trunk/PKGBUILD (rev 0) +++ python-svg.path/trunk/PKGBUILD 2020-12-06 14:07:03 UTC (rev 771029) @@ -0,0 +1,29 @@ +# Maintainer: Jelle van der Waa <[email protected]> + +pkgname=python-svg.path +pkgver=4.0.2 +pkgrel=1 +url="https://github.com/regebro/svg.path" +license=('MIT') +depends=(python) +makedepends=(python-setuptools) +arch=(any) +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/regebro/svg.path/archive/${pkgver}.tar.gz) +sha512sums=('0659c3d012b81cca83306c2895480bcc770cf23f4fc98dc4f167b6799a9c5618a90aabd81e2c91e6b7c57998d42f04a47d8f0fa966546111cd165127df239510') + +build() { + cd "svg.path-${pkgver}" + python setup.py build +} + +check() { + cd "svg.path-${pkgver}" + python setup.py test +} + +package() { + cd "svg.path-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + + install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" +}
