Commit 6403b3bb authored by Francesco Colista's avatar Francesco Colista
Browse files

testing/py-future: new aport

parent 3c36ec8b
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-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"
license="MIT"
depends=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/PythonCharmers/$_pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
cd "$builddir"
python setup.py build || return 1
}
package() {
cd "$builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
install -Dm0644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt
}
md5sums="4718b2e0aa11bf12e3fd6aacea6ee48d py-future-0.15.2.tar.gz"
sha256sums="a37560f258f1d55e17ab699e9ba3d513c509fbe6b6b3778dcf519abc8a0ca66e py-future-0.15.2.tar.gz"
sha512sums="96365f3c97f801e045d0957509ce05269e72f411202e4af0f9ddff08e5d385e25d73c9a5ad3080d157fd9fed65483a2a355f05d75ab15b19c4777e93c180f70b py-future-0.15.2.tar.gz"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment