summaryrefslogtreecommitdiff
path: root/user/py3-future/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/py3-future/APKBUILD')
-rw-r--r--user/py3-future/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/user/py3-future/APKBUILD b/user/py3-future/APKBUILD
new file mode 100644
index 000000000..f6f6b1fcc
--- /dev/null
+++ b/user/py3-future/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: zlg <zlg+adelie@zlg.space>
+pkgname=py3-future
+_pkgname=python-future
+pkgver=0.15.2
+pkgrel=0
+pkgdesc="Easy, clean, reliable Python 2/3 compatibility"
+url="http://python-future.org/"
+arch="noarch"
+options="!check" # tries to access network
+license="MIT"
+depends="python3"
+makedepends="python3-dev"
+subpackages=""
+source="$pkgname-$pkgver.tar.gz::https://github.com/PythonCharmers/$_pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ python3 setup.py build
+}
+
+package() {
+ mkdir -p "$pkgdir"
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="96365f3c97f801e045d0957509ce05269e72f411202e4af0f9ddff08e5d385e25d73c9a5ad3080d157fd9fed65483a2a355f05d75ab15b19c4777e93c180f70b py3-future-0.15.2.tar.gz"