[arch-commits] Commit in python-geoip/repos (4 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Sep 19 16:20:46 UTC 2015


    Date: Saturday, September 19, 2015 @ 18:20:46
  Author: foutrelis
Revision: 246650

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  python-geoip/repos/staging-i686/
  python-geoip/repos/staging-i686/PKGBUILD
    (from rev 246649, python-geoip/trunk/PKGBUILD)
  python-geoip/repos/staging-x86_64/
  python-geoip/repos/staging-x86_64/PKGBUILD
    (from rev 246649, python-geoip/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   44 ++++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)

Copied: python-geoip/repos/staging-i686/PKGBUILD (from rev 246649, python-geoip/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-09-19 16:20:46 UTC (rev 246650)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+
+pkgbase=python-geoip
+pkgname=('python-geoip' 'python2-geoip')
+pkgver=1.3.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/"
+license=('LGPL')
+makedepends=('python' 'python2' '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:

Copied: python-geoip/repos/staging-x86_64/PKGBUILD (from rev 246649, python-geoip/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-09-19 16:20:46 UTC (rev 246650)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+
+pkgbase=python-geoip
+pkgname=('python-geoip' 'python2-geoip')
+pkgver=1.3.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/"
+license=('LGPL')
+makedepends=('python' 'python2' '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:



More information about the arch-commits mailing list