summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-08-20 05:19:23 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-08-20 05:19:23 -0500
commitc0dbf278d051b7a3878a208d48f41180b09a5076 (patch)
tree7e44557f39e743dd09fe500810d21db408237ca5
parente2ade7a331332e50dc6332caacc8a6af20bc49a3 (diff)
downloadpackages-c0dbf278d051b7a3878a208d48f41180b09a5076.tar.gz
packages-c0dbf278d051b7a3878a208d48f41180b09a5076.tar.bz2
packages-c0dbf278d051b7a3878a208d48f41180b09a5076.tar.xz
packages-c0dbf278d051b7a3878a208d48f41180b09a5076.zip
user/py3-pygobject: new package
-rw-r--r--user/py3-pygobject/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/user/py3-pygobject/APKBUILD b/user/py3-pygobject/APKBUILD
new file mode 100644
index 000000000..518735a97
--- /dev/null
+++ b/user/py3-pygobject/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=py3-pygobject
+pkgver=3.28.3
+pkgrel=0
+pkgdesc="Python bindings for GObject libraries"
+url="https://pygobject.readthedocs.io/"
+arch="all"
+license="LGPL-2.1+ AND LGPL-2.1-only"
+depends="py3-pycairo"
+makedepends="python3-dev gobject-introspection-dev py3-pycairo-dev"
+subpackages="$pkgname-dev"
+source="https://files.pythonhosted.org/packages/e0/e8/1e4f21800015a9ca153969e85fc29f7962f8f82fc5dbc1ecbdeb9dc54c75/PyGObject-$pkgver.tar.gz"
+sha512sums="ba6957910e1831d566955b1e2e238ecbca7101fa0b84779fcf111225d40dbcf1dd4263380a3a7250f52be9caaad93ef55ede614148e08975c80fec485df9f7d4 PyGObject-3.28.3.tar.gz"
+builddir="$srcdir/PyGObject-$pkgver"
+
+build() {
+ cd "$builddir"
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ python3 setup.py check
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+