summaryrefslogblamecommitdiff
path: root/user/py3-future/APKBUILD
blob: e34369279f687bf8566d16a582915f2e2ad75249 (plain) (tree)
1
2
3
4
5



                                                           
             




















                                                                                                     

 
                                                                                                                                                                       
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: zlg <zlg+adelie@zlg.space>
pkgname=py3-future
_pkgname=python-future
pkgver=0.16.0
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="8422e132921d7c0da1f1025ce672ddb301d604bf4629c73634b709a12d77465e941f7365f9e85e870d98718a37988bd928cda7325eb0cc27b1351d23d31a365e  py3-future-0.16.0.tar.gz"