summaryrefslogtreecommitdiff
path: root/user/py3-six/APKBUILD
blob: 382546a1cae5d8cade946747512f030c265659d8 (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
29
30
# Contributor: Ariadne Conill <ariadne@dereferenced.org>
# Maintainer: 
pkgname=py3-six
_pkgname=six
pkgver=1.12.0
pkgrel=0
pkgdesc="Python 2 compatibility library"
url="https://pypi.python.org/pypi/six"
arch="noarch"
options="!check"  # Circular dependency with py3-pytest
license="MIT"
depends=""
#checkdepends="py3-pluggy py3-pytest"
makedepends="python3-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/benjaminp/$_pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="67f218ec591411b4a460e4e2744083b7e128440a50d006433cd85a7485b3f4bbf37830bee4cfd3e24194e4873f9ad251a62900e2f5fce7429d647b3df14543c3  py3-six-1.12.0.tar.gz"