[arch-commits] Commit in python-pygeoip/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Apr 2 12:28:23 UTC 2019


    Date: Tuesday, April 2, 2019 @ 12:28:20
  Author: felixonmars
Revision: 447648

archrelease: copy trunk to community-any

Added:
  python-pygeoip/repos/community-any/PKGBUILD
    (from rev 447647, python-pygeoip/trunk/PKGBUILD)
Deleted:
  python-pygeoip/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   85 ++++++++++++++++++++++---------------------------------------
 1 file changed, 31 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-02 12:27:58 UTC (rev 447647)
+++ PKGBUILD	2019-04-02 12:28:20 UTC (rev 447648)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Emmanuel Gil Peyrot <linkmauve at linkmauve.fr>
-
-pkgbase=python-pygeoip
-pkgname=(python-pygeoip python2-pygeoip)
-_pypiname=pygeoip
-pkgver=0.3.2
-pkgrel=4
-pkgdesc="Pure Python GeoIP API"
-arch=('any')
-url="https://pypi.python.org/pypi/$_pypiname"
-license=('LGPL')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-nose' 'python2-nose')
-optdepends=('geoip-database: provides a database for geoip lookups')
-source=("https://pypi.python.org/packages/source/p/${_pypiname}/${_pypiname}-${pkgver}.tar.gz")
-md5sums=('861664f8be3bed44820356539f2ea5b6')
-
-prepare() {
-  cp -a $_pypiname-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir/$_pypiname-$pkgver"
-  python setup.py build
-
-  cd "$srcdir/$_pypiname-$pkgver-py2"
-  python2 setup.py build
-}
-
-check() {
-  # Missing data files for running tests
-
-  cd "$srcdir/$_pypiname-$pkgver"
-  #nosetests3
-
-  cd "$srcdir/$_pypiname-$pkgver-py2"
-  #nosetests2
-}
-
-package_python-pygeoip() {
-  depends=('python')
-
-  cd "$srcdir/$_pypiname-$pkgver"
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-
-package_python2-pygeoip() {
-  depends=('python2')
-
-  cd "$srcdir/$_pypiname-$pkgver-py2"
-  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}

Copied: python-pygeoip/repos/community-any/PKGBUILD (from rev 447647, python-pygeoip/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-02 12:28:20 UTC (rev 447648)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Emmanuel Gil Peyrot <linkmauve at linkmauve.fr>
+
+pkgname=python-pygeoip
+pkgver=0.3.2
+pkgrel=4
+pkgdesc="Pure Python GeoIP API"
+arch=('any')
+url="https://pypi.python.org/pypi/pygeoip"
+license=('LGPL')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-nose')
+optdepends=('geoip-database: provides a database for geoip lookups')
+source=("https://pypi.python.org/packages/source/p/pygeoip/pygeoip-$pkgver.tar.gz")
+sha512sums=('7d7a6d04b7b00c068ae4b78176bbe5467a54e4c688034c3024013c1c42a2a23264d04ba2d0c9bf023e31601dff1b392d64c41c2f0d835758c1b65da91710122e')
+
+build() {
+  cd pygeoip-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd pygeoip-$pkgver
+  nosetests3
+}
+
+package() {
+  cd pygeoip-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}


More information about the arch-commits mailing list