summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhillip Samuel K.2024-06-19 02:54:19 +0300
committerPhillip Samuel K.2024-06-19 02:54:19 +0300
commitbd5708cfc9867368b03e698b6ec96a63c88449b7 (patch)
treecfd8972c92bc10daf167c8dadfc82e2f017f9adf
parent2009b97f13814f8c60681c250403461f00938b0e (diff)
downloadaur-python-svgpathtools.tar.gz
Update to use standards-based tools
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 8 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index aed53f453993..af2f384f671c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 03c5d663c8c1..b36c752db8e6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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: