aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-total-ordering/APKBUILD
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2016-11-12 16:45:26 +0000
committerTimo Teräs <timo.teras@iki.fi>2016-12-27 13:08:23 +0200
commit73700371886bf68343a6d382644baebaf564902f (patch)
tree171462cd4c1db4a2f9018b51b1114fd4cdf47c6e /testing/py-total-ordering/APKBUILD
parent97474935043384a90c3ece482fe991e076b71a10 (diff)
downloadaports-73700371886bf68343a6d382644baebaf564902f.tar.bz2
aports-73700371886bf68343a6d382644baebaf564902f.tar.xz
testing/py-total-ordering: new aport
functools.total_ordering backport for Python 2.6 https://github.com/kvesteri/total-ordering
Diffstat (limited to 'testing/py-total-ordering/APKBUILD')
-rw-r--r--testing/py-total-ordering/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py-total-ordering/APKBUILD b/testing/py-total-ordering/APKBUILD
new file mode 100644
index 0000000000..c8c567aa07
--- /dev/null
+++ b/testing/py-total-ordering/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-total-ordering
+_pkgname=flake8-isort
+pkgver=2.0.1
+pkgrel=0
+pkgdesc="functools.total_ordering backport for Python 2.6"
+url="https://github.com/kvesteri/total-ordering"
+arch="noarch"
+license="BSD"
+depends="python2"
+makedepends="python2-dev py-setuptools"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir"/$_pkgname-$pkgver
+
+build() {
+ cd "$builddir"
+ python2 setup.py build || return 1
+}
+
+package() {
+ cd "$builddir"
+ python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+md5sums="06d102adf075c2dc4d4b4dd4dd534b91 flake8-isort-2.0.1.tar.gz"
+sha256sums="9b994a95b3b26552fa25a8b94d7b345aea87ddb8c3bf78e7869b73ecc6088de7 flake8-isort-2.0.1.tar.gz"
+sha512sums="c2d8006ea9dce62c2a990ab9769d65f1e040fcf3931c61b50a8dd208d3fa0037758102d46dafce4342126a38716b4ff3e06d7015a65a20a8458543ae8b2627d3 flake8-isort-2.0.1.tar.gz"