summaryrefslogtreecommitdiff
path: root/user/py3-pygobject/APKBUILD
blob: f8c355cb886703c0e9d32eb892eb287d029bc2d8 (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: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=py3-pygobject
pkgver=3.34.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="782195d22e564b88dea8d43469f0111f398b44b51a63df2fe7d07650af94d5cd037f322a5d7e405338823be3419fcdbf0113fe50b220ab1cfd07d4d01dbc4766  pygobject-3.34.0.tar.xz"