aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-pycountry/APKBUILD
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2012-09-21 22:35:25 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2012-09-21 22:35:25 +0000
commit6f77b076684fa439b4da2cce72e299fe4e5a29b2 (patch)
tree748bc4e8a12bd50b0a1eace85b80424fff0aba90 /testing/py-pycountry/APKBUILD
parent3316a8da773ea8d1a08212e25298a77a7707f87d (diff)
downloadaports-6f77b076684fa439b4da2cce72e299fe4e5a29b2.tar.bz2
aports-6f77b076684fa439b4da2cce72e299fe4e5a29b2.tar.xz
testing/py-pycountry: upgrade to 0.14.5
Diffstat (limited to 'testing/py-pycountry/APKBUILD')
-rw-r--r--testing/py-pycountry/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/testing/py-pycountry/APKBUILD b/testing/py-pycountry/APKBUILD
index e4ad4f3afe..ae47d628d8 100644
--- a/testing/py-pycountry/APKBUILD
+++ b/testing/py-pycountry/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Francesco Colista <francesco.colista@gmail.com>
-# Maintainer:
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-pycountry
_pkgname=pycountry
-pkgver=0.12.1
+pkgver=0.14.5
pkgrel=1
pkgdesc="ISO country, subdivision, language, currency and script definitions and their translations"
url="http://pypi.python.org/pypi/pycountry"
@@ -13,7 +13,8 @@ depends_dev="python-dev py-lxml py-setuptools"
makedepends="$depends_dev"
install=""
subpackages=""
-source="http://pypi.python.org/packages/source/p/${_pkgname}/${_pkgname}-$pkgver.tar.gz"
+source="http://pypi.python.org/packages/source/p/${_pkgname}/${_pkgname}-$pkgver.zip"
+
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
local i
@@ -24,8 +25,10 @@ prepare() {
esac
done
}
+
package() {
cd "$_builddir"
python setup.py install --root=$pkgdir/ || return 1
}
-md5sums="d593c50b446850ee40c4a342677100d5 pycountry-0.12.1.tar.gz"
+
+md5sums="1834b32f2b4ca3f1b6518388959f2bbc pycountry-0.14.5.zip"