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

               

             


                                        
                                                       

             
                                     
                         



                                                                                               



                              



                             


                                                               
                                                                                                                                                                    
# Contributor: William Pitcock <nenolod@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"