aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-contextlib2/APKBUILD
blob: 753eeb0a2882703e25350c3a74b1451ec7491dec (plain)
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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-contextlib2
pkgver=0.6.0
pkgrel=0
pkgdesc="Proving ground for contextlib from Python3"
url="https://github.com/jazzband/contextlib2"
arch="noarch"
license="PSF-2.0"
depends="python3"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/jazzband/contextlib2/archive/v$pkgver.tar.gz"
builddir="$srcdir/contextlib2-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="586e5dcd0ae54661df8a7a0be7868f514af2b3fa35328ad56a42dfd793deab9b0487e6b4aacb8ae727607d8b8cf2cf2a3a8f017cec1c2f975ea015afaa83382b  py3-contextlib2-0.6.0.tar.gz"