diff options
author | Phillip Samuel K. | 2024-06-19 02:54:19 +0300 |
---|---|---|
committer | Phillip Samuel K. | 2024-06-19 02:54:19 +0300 |
commit | bd5708cfc9867368b03e698b6ec96a63c88449b7 (patch) | |
tree | cfd8972c92bc10daf167c8dadfc82e2f017f9adf | |
parent | 2009b97f13814f8c60681c250403461f00938b0e (diff) | |
download | aur-python-svgpathtools.tar.gz |
Update to use standards-based tools
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 8 insertions, 7 deletions
@@ -1,10 +1,12 @@ pkgbase = python-svgpathtools pkgdesc = Manipulate and analyze SVG Path objects and Bezier curves pkgver = 1.6.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/mathandy/svgpathtools arch = any license = MIT + makedepends = python-build + makedepends = python-installer makedepends = python-setuptools depends = python depends = python-numpy @@ -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: |