[arch-commits] Commit in python-geoip/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Fri Apr 10 20:50:53 UTC 2020
Date: Friday, April 10, 2020 @ 20:50:53
Author: jelle
Revision: 379961
archrelease: copy trunk to extra-x86_64
Added:
python-geoip/repos/extra-x86_64/PKGBUILD
(from rev 379960, python-geoip/trunk/PKGBUILD)
Deleted:
python-geoip/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 69 ++++++++++++++++++++++---------------------------------------
1 file changed, 26 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-10 20:50:46 UTC (rev 379960)
+++ PKGBUILD 2020-04-10 20:50:53 UTC (rev 379961)
@@ -1,43 +0,0 @@
-# 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=7
-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')
-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/extra-x86_64/PKGBUILD (from rev 379960, python-geoip/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-10 20:50:53 UTC (rev 379961)
@@ -0,0 +1,26 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+
+pkgname=python-geoip
+pkgver=1.3.2
+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')
+depends=('python' 'geoip')
+makedepends=('python' 'geoip')
+source=(https://pypi.python.org/packages/source/G/GeoIP/GeoIP-${pkgver}.tar.gz)
+md5sums=('6d1a82798b9f5f8448fca50296d974ba')
+
+build() {
+ cd "GeoIP-$pkgver"
+ python setup.py build
+}
+
+package_python-geoip() {
+ cd "GeoIP-$pkgver"
+ python setup.py install --root="$pkgdir" -O1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list