summaryrefslogtreecommitdiff
path: root/extra/python-geoip/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/python-geoip/PKGBUILD')
-rw-r--r--extra/python-geoip/PKGBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/extra/python-geoip/PKGBUILD b/extra/python-geoip/PKGBUILD
index ed1d33500..0b269bbb2 100644
--- a/extra/python-geoip/PKGBUILD
+++ b/extra/python-geoip/PKGBUILD
@@ -1,28 +1,28 @@
-# $Id: PKGBUILD 199014 2013-11-06 11:10:37Z jgc $
+# $Id: PKGBUILD 205071 2014-02-04 11:01:58Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Angel Velasquez <angvp@archlinux.org>
pkgname=('python2-geoip')
pkgbase=python-geoip
-pkgver=1.2.8
-pkgrel=3
+pkgver=1.2.9
+pkgrel=1
pkgdesc="Python bindings for the GeoIP IP-to-country resolver library"
arch=('i686' 'x86_64')
-url="http://dev.maxmind.com/geoip/legacy/downloadable#Python-10"
+url="https://pypi.python.org/pypi/GeoIP/"
license=('LGPL')
depends=('python2' 'geoip')
-source=(http://www.maxmind.com/download/geoip/api/python/GeoIP-Python-$pkgver.tar.gz)
-sha256sums=('8b946307355b60cb0f2b0be8ac90c1231286e0e79917509763267fce01a50e73')
+source=(https://pypi.python.org/packages/source/G/GeoIP/GeoIP-${pkgver}.tar.gz)
+md5sums=('367a083a13c442309eeb47fa061bd262')
build() {
- cd "GeoIP-Python-$pkgver"
+ cd "GeoIP-$pkgver"
python2 setup.py build
}
package_python2-geoip() {
conflicts=('python-geoip<1.2.8')
- cd "GeoIP-Python-$pkgver"
+ cd "GeoIP-$pkgver"
python2 setup.py install --root="$pkgdir" -O1
}