[arch-commits] Commit in python-geoip/trunk (PKGBUILD)

Evangelos Foutras foutrelis at nymeria.archlinux.org
Mon May 27 07:23:30 EDT 2013


    Date: Monday, May 27, 2013 @ 13:23:30
  Author: foutrelis
Revision: 186476

upgpkg: python-geoip 1.2.8-1

New upstream release.

Modified:
  python-geoip/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++++++++----------
 1 file changed, 18 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-27 07:46:51 UTC (rev 186475)
+++ PKGBUILD	2013-05-27 11:23:30 UTC (rev 186476)
@@ -1,20 +1,28 @@
 # $Id$
-# Maintainer: Angel Velasquez <angvp at archlinux.org>  
-# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Maintainer:
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
 
+pkgname=('python2-geoip')
 pkgbase=python-geoip
-pkgname=('python2-geoip')
-pkgver=1.2.7
-pkgrel=2
+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:



More information about the arch-commits mailing list