summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-01-15 21:10:21 +0100
committerErich Eckner <erich.eckner.ext@bestsecret.com>2023-01-18 10:15:05 +0100
commitccabb1310d15241464a5b1577c9e1c9fe9744fea (patch)
tree5b4ad5ff9cf24e2440979cb5714568dfa075f1ee
parent687ba330fc60cf826ae6917365413d33beba8277 (diff)
downloadarchlinuxewe-ccabb1310d15241464a5b1577c9e1c9fe9744fea.tar.xz
python-svg.path new
-rw-r--r--python-svg.path/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/python-svg.path/PKGBUILD b/python-svg.path/PKGBUILD
new file mode 100644
index 000000000..f7b7c952c
--- /dev/null
+++ b/python-svg.path/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+# Contributor: Brad Pitcher <bradpitcher@gmail.com>
+# Contributer: Jelle van der Waa <jelle@archlinux.org>
+
+pkgname=python-svg.path
+pkgver=6.2
+pkgrel=1
+pkgdesc="SVG path objects and parser"
+url="https://github.com/regebro/svg.path"
+license=('MIT')
+checkdepends=(python-pillow python-pytest)
+depends=(python)
+makedepends=(python-setuptools)
+arch=(any)
+source=(${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz)
+sha512sums=('7c9a67467e888f4961d54daf2706125c4ae21bb0cd1010f335eb072df78f12b1da99ddcf64a33a85a0e82a8b347f19e876161e3da8ebf43e5e7b45bbaf7d3325')
+
+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"
+}