summaryrefslogblamecommitdiff
path: root/user/py3-tox/APKBUILD
blob: 5447ee9d660f1f8a8a99afa5da7d1d66b8d53883 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                         
              

               

                      
            



                                                          
                                                                                    

                                                          
                         
                                  
                                                                                                                       
















                                                               
                                                                                                                                                                   
# Contributor: Max Rees <maxcrees@me.com>
# Maintainer: 
pkgname=py3-tox
_pkgname=tox
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=3.0.0
pkgrel=0
pkgdesc="virtualenv management and test command line tool"
url="https://pypi.python.org/pypi/tox"
arch="noarch"
options="!check"  # Circular dependency with itself and py3-pytest. Passes on x86_64
license="MIT"
depends="py3-py py3-pluggy py3-virtualenv py3-six python3"
makedepends="python3-dev"
#checkdepends="py3-pytest py3-tox"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

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

check() {
	cd "$builddir"
	tox -e py36
}

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

sha512sums="3bce42561a032b9d1bcc6086093ab79e2ba84ca55b4a6b646485ed3ec4a5b7349d8fc4e47758d2dd7998fc943824a99a251447e13b9ccc396b9d2d87f367f6cd  py3-tox-3.0.0.tar.gz"