summaryrefslogtreecommitdiff
path: root/user/py3-tox
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2018-04-17 02:41:35 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2018-04-17 02:41:35 +0000
commit43b60beb3683582dba2610095c5c0d9fe103ec4c (patch)
treeee2d0852258898f90b9033fc54161c3f90fd8e7d /user/py3-tox
parent8e41995ddbb56175eb00995ab0f7f750e5bde2da (diff)
parent4f4582578d04b74931148cf5a3e4cc6653188bc6 (diff)
downloadpackages-43b60beb3683582dba2610095c5c0d9fe103ec4c.tar.gz
packages-43b60beb3683582dba2610095c5c0d9fe103ec4c.tar.bz2
packages-43b60beb3683582dba2610095c5c0d9fe103ec4c.tar.xz
packages-43b60beb3683582dba2610095c5c0d9fe103ec4c.zip
Merge branch 'meta/tox' into 'master'
Basic python3 testing packages ``` Includes: * user/py3-tox * user/py3-setuptools * user/py3-pluggy * user/py3-virtualenv * user/py3-pytest ** user/py3-py Most of these packages use tox itself for tests, so !check until we have a copy of tox on the mirrors with which to bootstrap. ``` See merge request !16
Diffstat (limited to 'user/py3-tox')
-rw-r--r--user/py3-tox/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/py3-tox/APKBUILD b/user/py3-tox/APKBUILD
new file mode 100644
index 000000000..9ae7e731a
--- /dev/null
+++ b/user/py3-tox/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Max Rees <maxcrees@me.com>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=py3-tox
+_pkgname=tox
+pkgver=2.9.1
+pkgrel=0
+pkgdesc="virtualenv management and test command line tool"
+url="https://pypi.python.org/pypi/tox"
+arch="noarch"
+license="MIT"
+depends="py3-py py3-pluggy py3-virtualenv py3-six python3"
+makedepends="python3-dev py3-setuptools"
+#checkdepends="py3-pytest py3-tox"
+options="!check" # Circular dependency with itself and py3-pytest. Passes on x86_64
+source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_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="ff19b2bb7ac963379f1cccd4973ad9eb4dabfbda976cde7caba50ad010d8fa57c1cba91d63e3e0512e44cc7d350bc9270fbd9b30db1bd55f7d9c239e7623d066 py3-tox-2.9.1.tar.gz"