summaryrefslogtreecommitdiff
path: root/user/py3-pygobject/APKBUILD
blob: 4ecdab9d18e9199105a293964246ad984b1e1161 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=py3-pygobject
pkgver=3.38.0
pkgrel=0
pkgdesc="Python bindings for GObject libraries"
url="https://wiki.gnome.org/Projects/PyGObject"
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://ftp.gnome.org/pub/GNOME/sources/pygobject/${pkgver%.*}/pygobject-$pkgver.tar.xz"
builddir="$srcdir/pygobject-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="d63313dea2c143cf8c08a4678f1aa8e5908d503ad29c596eeb9fa1070e1231de57cf934c33031f9c4920b85e391f3b4143b46491ffd16e04e8d48871cb05e5df  pygobject-3.38.0.tar.xz"