summaryrefslogtreecommitdiff
path: root/extra/python-geoip
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-28 01:10:44 -0700
committerroot <root@rshg054.dnsready.net>2013-05-28 01:10:44 -0700
commit72a09de07cab5e8ad5c3ec7c36814663a3f7a33b (patch)
tree9c774a29dfc7d56aaca8e91b4a00a1c9b24f303d /extra/python-geoip
parent39c27ccb8162e4ef41de8f2c354e598aa23bfa29 (diff)
Tue May 28 01:10:44 PDT 2013
Diffstat (limited to 'extra/python-geoip')
-rw-r--r--extra/python-geoip/PKGBUILD30
1 files changed, 19 insertions, 11 deletions
diff --git a/extra/python-geoip/PKGBUILD b/extra/python-geoip/PKGBUILD
index f9a76dbbb..01ab96af0 100644
--- a/extra/python-geoip/PKGBUILD
+++ b/extra/python-geoip/PKGBUILD
@@ -1,20 +1,28 @@
-# $Id: PKGBUILD 168340 2012-10-08 23:42:19Z eric $
-# Maintainer: Angel Velasquez <angvp@archlinux.org>
-# Maintainer: Jan de Groot <jgc@archlinux.org>
+# $Id: PKGBUILD 186477 2013-05-27 11:23:42Z foutrelis $
+# Maintainer:
+# Contributor: Angel Velasquez <angvp@archlinux.org>
+# Contributor: Jan de Groot <jgc@archlinux.org>
-pkgbase=python-geoip
pkgname=('python2-geoip')
-pkgver=1.2.7
-pkgrel=2
+pkgbase=python-geoip
+pkgver=1.2.8
+pkgrel=1
pkgdesc="Python bindings for the GeoIP IP-to-country resolver library"
arch=('i686' 'x86_64')
-url="http://www.maxmind.com/app/python"
+url="http://dev.maxmind.com/geoip/legacy/downloadable#Python-10"
license=('LGPL')
depends=('python2' 'geoip')
-source=(http://www.maxmind.com/download/geoip/api/python/GeoIP-Python-${pkgver}.tar.gz)
-md5sums=('df71f5ae7a5c77bbdf726d512b7d67cf')
+source=(http://www.maxmind.com/download/geoip/api/python/GeoIP-Python-$pkgver.tar.gz)
+sha256sums=('8b946307355b60cb0f2b0be8ac90c1231286e0e79917509763267fce01a50e73')
+
+build() {
+ cd "$srcdir/GeoIP-Python-$pkgver"
+ python2 setup.py build
+}
package_python2-geoip() {
- cd "${srcdir}/GeoIP-Python-${pkgver}"
- python2 setup.py build install --root="${pkgdir}"
+ cd "$srcdir/GeoIP-Python-$pkgver"
+ python2 setup.py install --root="$pkgdir" -O1
}
+
+# vim:set ts=2 sw=2 et: