summaryrefslogblamecommitdiff
path: root/user/py3-six/APKBUILD
blob: 3b5c00d3420300ca138acd1211b83edda829e9a2 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                         
                                                       


                         
                                     


















                                                                                                                                                                    
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=py3-six
_pkgname=six
pkgver=1.11.0
pkgrel=1
pkgdesc="Python 2 compatibility library"
url="https://pypi.python.org/pypi/six"
arch="noarch"
options="!check"  # Circular dependency with py3-pytest
license="MIT"
depends=""
makedepends="python3-dev"
#checkdepends="py3-pluggy py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://github.com/benjaminp/$_pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py test
}

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

sha512sums="f301c6e3c159fc87c121a6b860e4a24fa77ca2d23c3beb29201f7ba0ef71188d683d103fd3f44f50bc774a0682183256ac119e20463d389ebe0f481e2c4711f9  py3-six-1.11.0.tar.gz"