summaryrefslogblamecommitdiff
path: root/user/py3-pygobject/APKBUILD
blob: 518735a971627351f47ab67a906dc18088e56f7e (plain) (tree)






























                                                                                                                                                                      
# 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"
}