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

2020-11-11 Thread Evangelos Foutras via arch-commits
Date: Wednesday, November 11, 2020 @ 10:32:28
  Author: foutrelis
Revision: 400288

upgpkg: python-geoip 1.3.2-10: Python 3.9 rebuild

Modified:
  python-geoip/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-11 10:32:07 UTC (rev 400287)
+++ PKGBUILD2020-11-11 10:32:28 UTC (rev 400288)
@@ -3,7 +3,7 @@
 
 pkgname=python-geoip
 pkgver=1.3.2
-pkgrel=9
+pkgrel=10
 pkgdesc="Python bindings for the GeoIP IP-to-country resolver library"
 arch=('x86_64')
 url="https://pypi.python.org/pypi/GeoIP/;


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

2020-04-10 Thread Jelle van der Waa via arch-commits
Date: Friday, April 10, 2020 @ 20:50:46
  Author: jelle
Revision: 379960

upgpkg: python-geoip 1.3.2-8

Remove python2 module.

Modified:
  python-geoip/trunk/PKGBUILD

--+
 PKGBUILD |   25 -
 1 file changed, 4 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-10 16:30:33 UTC (rev 379959)
+++ PKGBUILD2020-04-10 20:50:46 UTC (rev 379960)
@@ -1,43 +1,26 @@
 # Maintainer: Jan de Groot 
 # Contributor: Angel Velasquez 
 
-pkgbase=python-geoip
-pkgname=('python-geoip' 'python2-geoip')
+pkgname=python-geoip
 pkgver=1.3.2
-pkgrel=7
+pkgrel=8
 pkgdesc="Python bindings for the GeoIP IP-to-country resolver library"
 arch=('x86_64')
 url="https://pypi.python.org/pypi/GeoIP/;
 license=('LGPL')
-makedepends=('python' 'python2' 'geoip')
+depends=('python' 'geoip')
+makedepends=('python' 'geoip')
 source=(https://pypi.python.org/packages/source/G/GeoIP/GeoIP-${pkgver}.tar.gz)
 md5sums=('6d1a82798b9f5f8448fca50296d974ba')
 
-prepare() {
-  cp -a "GeoIP-$pkgver"{,-py2}
-}
-
 build() {
   cd "GeoIP-$pkgver"
   python setup.py build
-
-  cd "../GeoIP-$pkgver-py2"
-  python2 setup.py build
 }
 
 package_python-geoip() {
-  depends=('python' 'geoip')
-
   cd "GeoIP-$pkgver"
   python setup.py install --root="$pkgdir" -O1
 }
 
-package_python2-geoip() {
-  depends=('python2' 'geoip')
-  conflicts=('python-geoip<1.2.8')
-
-  cd "GeoIP-$pkgver-py2"
-  python2 setup.py install --root="$pkgdir" -O1
-}
-
 # vim:set ts=2 sw=2 et:


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

2019-10-31 Thread Felix Yan via arch-commits
Date: Thursday, October 31, 2019 @ 18:21:12
  Author: felixonmars
Revision: 366294

Python 3.8 rebuild

Modified:
  python-geoip/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-31 18:21:10 UTC (rev 366293)
+++ PKGBUILD2019-10-31 18:21:12 UTC (rev 366294)
@@ -4,7 +4,7 @@
 pkgbase=python-geoip
 pkgname=('python-geoip' 'python2-geoip')
 pkgver=1.3.2
-pkgrel=6
+pkgrel=7
 pkgdesc="Python bindings for the GeoIP IP-to-country resolver library"
 arch=('x86_64')
 url="https://pypi.python.org/pypi/GeoIP/;


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

2019-10-25 Thread Felix Yan via arch-commits
Date: Friday, October 25, 2019 @ 16:34:26
  Author: felixonmars
Revision: 365679

Python 3.8 rebuild

Modified:
  python-geoip/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-25 16:34:16 UTC (rev 365678)
+++ PKGBUILD2019-10-25 16:34:26 UTC (rev 365679)
@@ -4,7 +4,7 @@
 pkgbase=python-geoip
 pkgname=('python-geoip' 'python2-geoip')
 pkgver=1.3.2
-pkgrel=5
+pkgrel=6
 pkgdesc="Python bindings for the GeoIP IP-to-country resolver library"
 arch=('x86_64')
 url="https://pypi.python.org/pypi/GeoIP/;


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

2018-06-30 Thread Felix Yan via arch-commits
Date: Saturday, June 30, 2018 @ 18:11:42
  Author: felixonmars
Revision: 327879

Python 3.7 rebuild

Modified:
  python-geoip/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-30 18:04:48 UTC (rev 327878)
+++ PKGBUILD2018-06-30 18:11:42 UTC (rev 327879)
@@ -5,7 +5,7 @@
 pkgbase=python-geoip
 pkgname=('python-geoip' 'python2-geoip')
 pkgver=1.3.2
-pkgrel=4
+pkgrel=5
 pkgdesc="Python bindings for the GeoIP IP-to-country resolver library"
 arch=('x86_64')
 url="https://pypi.python.org/pypi/GeoIP/;


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

2016-12-24 Thread Felix Yan
Date: Saturday, December 24, 2016 @ 11:25:19
  Author: felixonmars
Revision: 284608

Python 3.6 rebuild

Modified:
  python-geoip/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-24 11:25:18 UTC (rev 284607)
+++ PKGBUILD2016-12-24 11:25:19 UTC (rev 284608)
@@ -5,7 +5,7 @@
 pkgbase=python-geoip
 pkgname=('python-geoip' 'python2-geoip')
 pkgver=1.3.2
-pkgrel=3
+pkgrel=4
 pkgdesc="Python bindings for the GeoIP IP-to-country resolver library"
 arch=('i686' 'x86_64')
 url="https://pypi.python.org/pypi/GeoIP/;


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

2015-09-19 Thread Evangelos Foutras
Date: Saturday, September 19, 2015 @ 18:20:39
  Author: foutrelis
Revision: 246649

Python 3.5 rebuild

Modified:
  python-geoip/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-09-19 16:19:32 UTC (rev 246648)
+++ PKGBUILD2015-09-19 16:20:39 UTC (rev 246649)
@@ -5,7 +5,7 @@
 pkgbase=python-geoip
 pkgname=('python-geoip' 'python2-geoip')
 pkgver=1.3.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Python bindings for the GeoIP IP-to-country resolver library"
 arch=('i686' 'x86_64')
 url="https://pypi.python.org/pypi/GeoIP/;


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

2015-03-28 Thread Felix Yan
Date: Saturday, March 28, 2015 @ 17:21:51
  Author: fyan
Revision: 235228

upgpkg: python-geoip 1.3.2-2

rebuild against python 3.4.3-2 (fix missing symbols)

Modified:
  python-geoip/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-03-28 16:16:27 UTC (rev 235227)
+++ PKGBUILD2015-03-28 16:21:51 UTC (rev 235228)
@@ -5,7 +5,7 @@
 pkgbase=python-geoip
 pkgname=('python-geoip' 'python2-geoip')
 pkgver=1.3.2
-pkgrel=1
+pkgrel=2
 pkgdesc=Python bindings for the GeoIP IP-to-country resolver library
 arch=('i686' 'x86_64')
 url=https://pypi.python.org/pypi/GeoIP/;


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

2014-11-16 Thread Felix Yan
Date: Monday, November 17, 2014 @ 03:35:14
  Author: fyan
Revision: 226341

upgpkg: python-geoip 1.3.2-1

upstream new release

Modified:
  python-geoip/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-11-17 02:35:01 UTC (rev 226340)
+++ PKGBUILD2014-11-17 02:35:14 UTC (rev 226341)
@@ -4,7 +4,7 @@
 
 pkgbase=python-geoip
 pkgname=('python-geoip' 'python2-geoip')
-pkgver=1.3.1
+pkgver=1.3.2
 pkgrel=1
 pkgdesc=Python bindings for the GeoIP IP-to-country resolver library
 arch=('i686' 'x86_64')
@@ -12,7 +12,7 @@
 license=('LGPL')
 makedepends=('python' 'python2' 'geoip')
 source=(https://pypi.python.org/packages/source/G/GeoIP/GeoIP-${pkgver}.tar.gz)
-md5sums=('21fbd501fce9822e0ccc147ab8321f7f')
+md5sums=('6d1a82798b9f5f8448fca50296d974ba')
 
 prepare() {
   cp -a GeoIP-$pkgver{,-py2}


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

2014-07-24 Thread Felix Yan
Date: Thursday, July 24, 2014 @ 09:08:32
  Author: fyan
Revision: 217809

upgpkg: python-geoip 1.3.1-1

- new upstream release
- add python 3 counterpart

Modified:
  python-geoip/trunk/PKGBUILD

--+
 PKGBUILD |   25 -
 1 file changed, 20 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-07-24 04:06:57 UTC (rev 217808)
+++ PKGBUILD2014-07-24 07:08:32 UTC (rev 217809)
@@ -2,27 +2,42 @@
 # Maintainer: Jan de Groot j...@archlinux.org
 # Contributor: Angel Velasquez an...@archlinux.org
 
-pkgname=('python2-geoip')
 pkgbase=python-geoip
-pkgver=1.2.9
+pkgname=('python-geoip' 'python2-geoip')
+pkgver=1.3.1
 pkgrel=1
 pkgdesc=Python bindings for the GeoIP IP-to-country resolver library
 arch=('i686' 'x86_64')
 url=https://pypi.python.org/pypi/GeoIP/;
 license=('LGPL')
-depends=('python2' 'geoip')
+makedepends=('python' 'python2' 'geoip')
 source=(https://pypi.python.org/packages/source/G/GeoIP/GeoIP-${pkgver}.tar.gz)
-md5sums=('367a083a13c442309eeb47fa061bd262')
+md5sums=('21fbd501fce9822e0ccc147ab8321f7f')
 
+prepare() {
+  cp -a GeoIP-$pkgver{,-py2}
+}
+
 build() {
   cd GeoIP-$pkgver
+  python setup.py build
+
+  cd ../GeoIP-$pkgver-py2
   python2 setup.py build
 }
 
+package_python-geoip() {
+  depends=('python' 'geoip')
+
+  cd GeoIP-$pkgver
+  python setup.py install --root=$pkgdir -O1
+}
+
 package_python2-geoip() {
+  depends=('python2' 'geoip')
   conflicts=('python-geoip1.2.8')
 
-  cd GeoIP-$pkgver
+  cd GeoIP-$pkgver-py2
   python2 setup.py install --root=$pkgdir -O1
 }
 



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

2014-02-04 Thread Jan de Groot
Date: Tuesday, February 4, 2014 @ 12:01:51
  Author: jgc
Revision: 205070

upgpkg: python-geoip 1.2.9-1

Modified:
  python-geoip/trunk/PKGBUILD

--+
 PKGBUILD |   14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-02-04 11:01:18 UTC (rev 205069)
+++ PKGBUILD2014-02-04 11:01:51 UTC (rev 205070)
@@ -4,18 +4,18 @@
 
 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
 }
 
@@ -22,7 +22,7 @@
 package_python2-geoip() {
   conflicts=('python-geoip1.2.8')
 
-  cd GeoIP-Python-$pkgver
+  cd GeoIP-$pkgver
   python2 setup.py install --root=$pkgdir -O1
 }
 



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

2013-11-06 Thread Jan de Groot
Date: Wednesday, November 6, 2013 @ 12:10:28
  Author: jgc
Revision: 199013

upgpkg: python-geoip 1.2.8-3

Add conflicts on older python-geoip, should fix FS#37146

Modified:
  python-geoip/trunk/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-11-06 11:02:30 UTC (rev 199012)
+++ PKGBUILD2013-11-06 11:10:28 UTC (rev 199013)
@@ -1,12 +1,11 @@
 # $Id$
-# Maintainer:
+# Maintainer: Jan de Groot j...@archlinux.org
 # Contributor: Angel Velasquez an...@archlinux.org
-# Contributor: Jan de Groot j...@archlinux.org
 
 pkgname=('python2-geoip')
 pkgbase=python-geoip
 pkgver=1.2.8
-pkgrel=2
+pkgrel=3
 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;
@@ -21,6 +20,8 @@
 }
 
 package_python2-geoip() {
+  conflicts=('python-geoip1.2.8')
+
   cd GeoIP-Python-$pkgver
   python2 setup.py install --root=$pkgdir -O1
 }



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

2013-09-30 Thread Jan de Groot
Date: Monday, September 30, 2013 @ 15:27:10
  Author: jgc
Revision: 195466

upgpkg: python-geoip 1.2.8-2

Rebuild with new geoip (FS#37119)

Modified:
  python-geoip/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-09-30 10:58:02 UTC (rev 195465)
+++ PKGBUILD2013-09-30 13:27:10 UTC (rev 195466)
@@ -6,7 +6,7 @@
 pkgname=('python2-geoip')
 pkgbase=python-geoip
 pkgver=1.2.8
-pkgrel=1
+pkgrel=2
 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;
@@ -16,12 +16,12 @@
 sha256sums=('8b946307355b60cb0f2b0be8ac90c1231286e0e79917509763267fce01a50e73')
 
 build() {
-  cd $srcdir/GeoIP-Python-$pkgver
+  cd GeoIP-Python-$pkgver
   python2 setup.py build
 }
 
 package_python2-geoip() {
-  cd $srcdir/GeoIP-Python-$pkgver
+  cd GeoIP-Python-$pkgver
   python2 setup.py install --root=$pkgdir -O1
 }
 



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

2013-05-27 Thread Evangelos Foutras
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
===
--- PKGBUILD2013-05-27 07:46:51 UTC (rev 186475)
+++ PKGBUILD2013-05-27 11:23:30 UTC (rev 186476)
@@ -1,20 +1,28 @@
 # $Id$
-# Maintainer: Angel Velasquez an...@archlinux.org  
-# Maintainer: Jan de Groot j...@archlinux.org
+# Maintainer:
+# Contributor: Angel Velasquez an...@archlinux.org
+# Contributor: Jan de Groot j...@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:



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

2012-10-08 Thread Eric Bélanger
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
===
--- PKGBUILD2012-10-08 23:22:08 UTC (rev 168338)
+++ PKGBUILD2012-10-08 23:42:03 UTC (rev 168339)
@@ -2,20 +2,19 @@
 # Maintainer: Angel Velasquez an...@archlinux.org  
 # Maintainer: Jan de Groot j...@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}
 }



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

2011-10-09 Thread Angel Velásquez
Date: Sunday, October 9, 2011 @ 04:54:21
  Author: angvp
Revision: 140199

upgpkg: python-geoip 1.2.7-1

Version bump to 1.2.7

Modified:
  python-geoip/trunk/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-10-09 08:36:54 UTC (rev 140198)
+++ PKGBUILD2011-10-09 08:54:21 UTC (rev 140199)
@@ -1,9 +1,10 @@
 # $Id$
+# Maintainer: Angel Velasquez an...@archlinux.org  
 # Maintainer: Jan de Groot j...@archlinux.org
 
 pkgname=python-geoip
-pkgver=1.2.4
-pkgrel=2
+pkgver=1.2.7
+pkgrel=1
 pkgdesc=Python bindings for the GeoIP IP-to-country resolver library.
 arch=(i686 x86_64)
 url=http://www.maxmind.com/app/python;
@@ -12,9 +13,9 @@
 
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
 }
-md5sums=('50f820d854476efaf3b7af733ffe4236')



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

2010-09-02 Thread Rémy Oudompheng
Date: Thursday, September 2, 2010 @ 12:32:29
  Author: remy
Revision: 89623

upgpkg: python-geoip 1.2.4-2
Rebuild for python2

Modified:
  python-geoip/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-09-02 16:29:00 UTC (rev 89622)
+++ PKGBUILD2010-09-02 16:32:29 UTC (rev 89623)
@@ -3,18 +3,18 @@
 
 pkgname=python-geoip
 pkgver=1.2.4
-pkgrel=1
+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=('python=2.5' 'geoip')
+depends=('python2' 'geoip')
 
source=(http://www.maxmind.com/download/geoip/api/python/GeoIP-Python-${pkgver}.tar.gz)
 replaces=('geoip-python')
 provides=('geoip-python')
 
 build() {
   cd ${startdir}/src/GeoIP-Python-${pkgver}
-  python setup.py build install --root=${startdir}/pkg
+  python2 setup.py build install --root=${startdir}/pkg
 }
 md5sums=('50f820d854476efaf3b7af733ffe4236')