summaryrefslogtreecommitdiff
path: root/user/py3-cairocffi/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/py3-cairocffi/APKBUILD')
-rw-r--r--user/py3-cairocffi/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/user/py3-cairocffi/APKBUILD b/user/py3-cairocffi/APKBUILD
new file mode 100644
index 000000000..cba89a337
--- /dev/null
+++ b/user/py3-cairocffi/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=py3-cairocffi
+_pkgname=${pkgname#py3-}
+_p="${_pkgname#?}"
+_p="${_pkgname%"$_p"}"
+pkgver=1.1.0
+pkgrel=0
+pkgdesc="CFFI-based drop-in replacement for py3-pycairo"
+url="https://cairocffi.readthedocs.io/en/stable/"
+arch="noarch"
+license="BSD-3-Clause"
+depends="py3-cparser python3"
+makedepends="python3-dev gdk-pixbuf-dev cairo-dev"
+source="py3-cairocffi-$pkgver.tar.gz::https://github.com/Kozea/cairocffi/archive/v$pkgver.tar.gz"
+builddir="$srcdir/cairocffi-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py check
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="d32e8d1a41d287818c84594d584b9951d37102a336b44cd1d0486f808cae8f8d771b6d4864889f9802f3f010f91c4e7612afbb0292b1cabcdb5a2238e074df2e py3-cairocffi-1.1.0.tar.gz"