aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-liblarch/APKBUILD
blob: d5f797d99d2c2cc57a8f18f1eaf6047b05f11efd (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: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-liblarch
pkgver=3.1.0
pkgrel=0
pkgdesc="A Python library to easily handle complex data structures, with a GTK binding"
url="https://wiki.gnome.org/Projects/liblarch"
arch="noarch"
license="LGPL-3.0-or-later"
depends="python3 py3-gobject3 gtk+3.0"
makedepends="py3-setuptools"
checkdepends="py3-nose py3-pyflakes xvfb-run"
source="https://github.com/getting-things-gnome/liblarch/archive/v$pkgver/liblarch-$pkgver.tar.gz"
builddir="$srcdir/liblarch-$pkgver"

build() {
	python3 setup.py build
}

check() {
	xvfb-run python3 run-tests
}

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

sha512sums="042a763dd12612d6630c064b5af84011f1fb908626f17f866e103743cdaabb4983f922290287b0138938488a7c9bff33680ef8157f8bbcbc166e4f4f2d008951  liblarch-3.1.0.tar.gz"