summaryrefslogtreecommitdiff
path: root/user/py3-future
diff options
context:
space:
mode:
authorzlg <zlg@zlg.space>2018-11-21 03:07:08 -0800
committerzlg <zlg@zlg.space>2018-11-21 03:35:26 -0800
commitd1300e1fb2126dca497e4754eb22a6cd46667306 (patch)
tree4b4b9ef917689c9bbb68a32533efe8d94c4a73be /user/py3-future
parente48520ec1e55df33a5303920467f286f3b1566f7 (diff)
downloadpackages-d1300e1fb2126dca497e4754eb22a6cd46667306.tar.gz
packages-d1300e1fb2126dca497e4754eb22a6cd46667306.tar.bz2
packages-d1300e1fb2126dca497e4754eb22a6cd46667306.tar.xz
packages-d1300e1fb2126dca497e4754eb22a6cd46667306.zip
user/py3-future: new package
Diffstat (limited to 'user/py3-future')
-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"