blob: 7f433a4fca69297843fee330b522a0a27c8901e7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: zlg <zlg+adelie@zlg.space>
pkgname=py3-future
_pkgname=${pkgname##py3-}
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/${_pkgname:0:1}/$_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"
|