summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman@gmail.com>2020-06-10 06:59:41 +0000
committerZach van Rijn <me@zv.io>2023-04-12 03:25:11 +0000
commita360e11f37e24cee821265f1236a57d9a7287700 (patch)
tree578cfb3142dff09bd35e61a6b870bb47e27fbe6a /user
parent9596077198a1dde096abb0cdef6817bd28e2fc4f (diff)
downloadpackages-a360e11f37e24cee821265f1236a57d9a7287700.tar.gz
packages-a360e11f37e24cee821265f1236a57d9a7287700.tar.bz2
packages-a360e11f37e24cee821265f1236a57d9a7287700.tar.xz
packages-a360e11f37e24cee821265f1236a57d9a7287700.zip
user/py3-cairocffi: new package
Diffstat (limited to 'user')
-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"