summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-01-10 23:19:03 +0000
committerMax Rees <maxcrees@me.com>2018-01-11 04:40:57 +0000
commit3be8e5ceb046ed462cf24b2226ee21a402883afa (patch)
treed44100ee4776e95cc061a992abf1343e7d291042 /user
parentcee386a7d341f6ad530f58bd7ec2785b935cda79 (diff)
downloadpackages-3be8e5ceb046ed462cf24b2226ee21a402883afa.tar.gz
packages-3be8e5ceb046ed462cf24b2226ee21a402883afa.tar.bz2
packages-3be8e5ceb046ed462cf24b2226ee21a402883afa.tar.xz
packages-3be8e5ceb046ed462cf24b2226ee21a402883afa.zip
user/py3-tox: new package
Diffstat (limited to 'user')
-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"