summaryrefslogblamecommitdiff
path: root/user/py3-pygobject/APKBUILD
blob: a4804cd0d7f9c1ef6cae6aefdcb64b28887734b7 (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.0
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="5fa48b16edd61b3ae584f6690582485ef54eb962b46a4fa129786cbfafc89b65c1f3e9f8211b550fda42fb084170ed5e9a27e070feb109b26750ed54581764de  pygobject-3.30.0.tar.bz2"