diff options
Diffstat (limited to 'user/py3-pygobject/APKBUILD')
-rw-r--r-- | user/py3-pygobject/APKBUILD | 31 |
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" +} + |