summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/py3-future/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/user/py3-future/APKBUILD b/user/py3-future/APKBUILD
new file mode 100644
index 000000000..e2e747ad0
--- /dev/null
+++ b/user/py3-future/APKBUILD
@@ -0,0 +1,30 @@
+# 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"
+ install -Dm0644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+sha512sums="96365f3c97f801e045d0957509ce05269e72f411202e4af0f9ddff08e5d385e25d73c9a5ad3080d157fd9fed65483a2a355f05d75ab15b19c4777e93c180f70b py3-future-0.15.2.tar.gz"