From a920c85f965a7ad363a07fd603f5bda1ffa656db Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 16 Apr 2015 14:54:50 +0000 Subject: testing/py-country: specify license --- testing/py-country/APKBUILD | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'testing/py-country/APKBUILD') diff --git a/testing/py-country/APKBUILD b/testing/py-country/APKBUILD index cb82b2bc0f..041cec243f 100644 --- a/testing/py-country/APKBUILD +++ b/testing/py-country/APKBUILD @@ -1,17 +1,18 @@ # Contributor: Kaarle Ritvanen -# Maintainer: +# Maintainer: Fabian Affolter pkgname=py-country +_pkgname=pycountry pkgver=1.10 -pkgrel=0 +pkgrel=1 pkgdesc="ISO country, subdivision, language, currency and script definitions and their translations" url=https://pypi.python.org/pypi/pycountry -arch=noarch -license=LGPL2.1 -depends= -makedepends=py-setuptools -source=https://pypi.python.org/packages/source/p/pycountry/pycountry-$pkgver.zip +arch="noarch" +license="LGPL2+" +depends="python" +makedepends="python-dev py-setuptools" +source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip" -_builddir=$srcdir/pycountry-$pkgver +_builddir="$srcdir"/$_pkgname-$pkgver prepare() { local i cd "$_builddir" @@ -24,12 +25,12 @@ prepare() { build() { cd "$_builddir" - python setup.py build + python setup.py build || return 1 } package() { cd "$_builddir" - python setup.py install --root "$pkgdir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 } md5sums="617635a7e94dc3d18ebcb5382cd3c93f pycountry-1.10.zip" -- cgit v1.2.3