summaryrefslogblamecommitdiff
path: root/user/py3-future/APKBUILD
blob: 13265d2e6ec83641df556e23b7ab5c9c2d14c3f2 (plain) (tree)
1
2
3
4
5
6
7
8
                                                           
                                         
                  
                         
                      
             







                                                        
                                                                                              









                                                               
 
                                                                                                                                                                   
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Contributor: zlg <zlg+adelie@zlg.space>
# Maintainer:
pkgname=py3-future
_pkgname=${pkgname##py3-}
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=0.17.1
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="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$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="50094c44db81afbfd37ee25e1710ed11ecb2c2d64ad076fb62a2688dd36a9696ab26b0d7989bf1ecb10da251961a0ee6bb37c4dbd115f70384cd8c9a675d0b2d  future-0.17.1.tar.gz"