aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pyrsistent/APKBUILD
blob: aae74a8fc764fd760d040c997502da920cd54ded (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: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-pyrsistent
pkgver=0.15.1
pkgrel=0
pkgdesc="Persistent/Functional/Immutable data structures"
url="https://github.com/tobgu/pyrsistent"
arch="all"
license="MIT"
depends="py3-six"
makedepends="py3-setuptools python3-dev"
checkdepends="py3-hypothesis py3-pytest py3-pytest-runner"
source="$pkgname-$pkgver.tar.gz::https://github.com/tobgu/pyrsistent/archive/v${pkgver}.tar.gz"
builddir="$srcdir/pyrsistent-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="3c470f9157ae42596359ef5a3390913653c9d360d0ec3204725ef343ca0a95f1d207a951122b092ece5654ce9bf26b317cc1d906a1006732af418d0d1186d2ee  py3-pyrsistent-0.15.1.tar.gz"