aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-01-04 18:11:09 +0100
committerRasmus Thomsen <oss@cogitri.dev>2020-01-04 22:29:56 +0100
commit65608564b9f3d9f14ad14c749bf01517c8bfa56e (patch)
tree8ef05e1b187f3a14a098063cca6cd0acf498dea9 /community
parentb5f3a47db34e15d1293876f65cdbf05504bc111f (diff)
downloadaports-65608564b9f3d9f14ad14c749bf01517c8bfa56e.tar.bz2
aports-65608564b9f3d9f14ad14c749bf01517c8bfa56e.tar.xz
community/py3-pyclipper: move from testing
Diffstat (limited to 'community')
-rw-r--r--community/py3-pyclipper/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/py3-pyclipper/APKBUILD b/community/py3-pyclipper/APKBUILD
new file mode 100644
index 0000000000..1b22de2459
--- /dev/null
+++ b/community/py3-pyclipper/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Leo <thinkabit.ukim@gmail.com>
+# Maintainer: Leo <thinkabit.ukim@gmail.com>
+pkgname=py3-pyclipper
+pkgver=1.1.0
+pkgrel=0
+pkgdesc="Cython wrapper for clipper"
+url="https://github.com/fonttools/pyclipper"
+arch="all"
+license="MIT"
+depends="python3"
+makedepends="py3-setuptools python3-dev cython"
+checkdepends="py3-pytest"
+source="$pkgname-$pkgver.tar.gz::https://github.com/fonttools/pyclipper/archive/$pkgver.post2.tar.gz"
+builddir="$srcdir/pyclipper-$pkgver.post2"
+
+build() {
+ git init
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py test
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="2c5044ef3a516e909a1f2e87a4824660bf02721f830a0dfb6a853eae02875b6e45a0aaaf3c3591ad7a5b6679364a366c5977f7ba1f44899f98a7c2f95f2f5061 py3-pyclipper-1.1.0.tar.gz"