[arch-commits] Commit in python-geoip/trunk (PKGBUILD)
Eric Bélanger
eric at archlinux.org
Mon Oct 8 23:42:04 UTC 2012
Date: Monday, October 8, 2012 @ 19:42:03
Author: eric
Revision: 168339
upgpkg: python-geoip 1.2.7-2
Rename to python2-geoip
Modified:
python-geoip/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-10-08 23:22:08 UTC (rev 168338)
+++ PKGBUILD 2012-10-08 23:42:03 UTC (rev 168339)
@@ -2,20 +2,19 @@
# Maintainer: Angel Velasquez <angvp at archlinux.org>
# Maintainer: Jan de Groot <jgc at archlinux.org>
-pkgname=python-geoip
+pkgbase=python-geoip
+pkgname=('python2-geoip')
pkgver=1.2.7
-pkgrel=1
-pkgdesc="Python bindings for the GeoIP IP-to-country resolver library."
-arch=(i686 x86_64)
+pkgrel=2
+pkgdesc="Python bindings for the GeoIP IP-to-country resolver library"
+arch=('i686' 'x86_64')
url="http://www.maxmind.com/app/python"
license=('LGPL')
depends=('python2' 'geoip')
source=(http://www.maxmind.com/download/geoip/api/python/GeoIP-Python-${pkgver}.tar.gz)
-replaces=('geoip-python')
-provides=('geoip-python')
md5sums=('df71f5ae7a5c77bbdf726d512b7d67cf')
-build() {
- cd ${startdir}/src/GeoIP-Python-${pkgver}
- python2 setup.py build install --root=${startdir}/pkg
+package_python2-geoip() {
+ cd "${srcdir}/GeoIP-Python-${pkgver}"
+ python2 setup.py build install --root="${pkgdir}"
}
More information about the arch-commits
mailing list