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..62c3717b7 --- /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.30.1 +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://gitlab.gnome.org/GNOME/pygobject/-/archive/$pkgver/pygobject-$pkgver.tar.bz2" +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" +} + +sha512sums="99f25e19d36b9700670f1e6c6d279104ec449f958001e1c0dc7225169aeaccf882420badac419a2cb4ef8c39f847102d2d62435e95e1a334c440ee5de03b3f7f pygobject-3.30.1.tar.bz2" |