summaryrefslogblamecommitdiff
path: root/user/py3-pygobject/APKBUILD
blob: 2859cdb51d88c5811c9ca5f633216677e7c85080 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12


                                                           
             







                                                                   

                                                                                             















                                                               
                                                                                                                                                                       
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=py3-pygobject
pkgver=3.30.2
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="a643b800fbaf659957879ca8b4fa4cc3556a8e6bb4d061ffe205204d7ea197baf77d8836a733562552fa9ee56c7831359313c2403062cc46b5d72d5d7fd3030e  pygobject-3.30.2.tar.bz2"