diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -1,27 +1,26 @@ -# Maintainer: Phillip S. Kajubi <pintert3 at protonmail dot com> +# Maintainer: Phillip S. Kajubi <pintert3 at kalabentate dot com> pkgname=python-svgpathtools _name=${pkgname#python-} pkgver=1.6.1 -pkgrel=1 +pkgrel=2 pkgdesc='Manipulate and analyze SVG Path objects and Bezier curves' arch=('any') url='https://github.com/mathandy/svgpathtools' license=('MIT') depends=('python' 'python-numpy' 'python-svgwrite' 'python-scipy') -makedepends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-setuptools') source=("$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") sha256sums=('7054e6de1953e295bf565d535d585695453b09f8db4a2f7c4853348732097a3e') build() { cd $_name-$pkgver - python setup.py build + python -m build --wheel --no-isolation } package() { cd $_name-$pkgver - - python setup.py install --root="$pkgdir" --optimize=1 --skip-build + python -m installer --destdir="$pkgdir" dist/*.whl } # vim:set ts=2 sw=2 et: |