[arch-commits] Commit in python-pycountry/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Wed Apr 6 06:46:54 UTC 2016
Date: Wednesday, April 6, 2016 @ 08:46:54
Author: arojas
Revision: 169555
archrelease: copy trunk to community-any
Added:
python-pycountry/repos/community-any/PKGBUILD
(from rev 169554, python-pycountry/trunk/PKGBUILD)
Deleted:
python-pycountry/repos/community-any/PKGBUILD
----------+
PKGBUILD | 51 ++++++++++++++++++++++++++++++---------------------
1 file changed, 30 insertions(+), 21 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-04-06 06:46:11 UTC (rev 169554)
+++ PKGBUILD 2016-04-06 06:46:54 UTC (rev 169555)
@@ -1,21 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: Pawel "kTT" Salata <rockplayer.pl at gmail.com>
-
-pkgname=python2-pycountry
-pkgver=1.18
-pkgrel=1
-pkgdesc="ISO country, subdivision, language, currency and script definitions and their translations"
-arch=('any')
-url="http://pypi.python.org/pypi/pycountry"
-license=('LGPL2.1')
-depends=('python2-lxml')
-makedepends=('python2-setuptools')
-source=("http://pypi.python.org/packages/source/p/pycountry/pycountry-${pkgver}.tar.gz")
-md5sums=('652313cef084bf942240ecfe9f88b565')
-
-package() {
- cd "${srcdir}/pycountry-${pkgver}"
-
- python2 setup.py install --root="$pkgdir/" --optimize=1
-}
Copied: python-pycountry/repos/community-any/PKGBUILD (from rev 169554, python-pycountry/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-04-06 06:46:54 UTC (rev 169555)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Pawel "kTT" Salata <rockplayer.pl at gmail.com>
+
+pkgbase=python-pycountry
+pkgname=(python-pycountry python2-pycountry)
+pkgver=1.20
+pkgrel=1
+pkgdesc="ISO country, subdivision, language, currency and script definitions and their translations"
+arch=('any')
+url="http://pypi.python.org/pypi/pycountry"
+license=('LGPL2.1')
+makedepends=('python2-setuptools' 'python-setuptools')
+source=("http://pypi.python.org/packages/source/p/pycountry/pycountry-${pkgver}.tar.gz")
+md5sums=('efb021c3b42b40c324b80a85714515d6')
+
+package_python2-pycountry() {
+ depends=(python2-lxml)
+ cd "${srcdir}/pycountry-${pkgver}"
+
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python-pycountry() {
+ depends=(python-lxml)
+ cd "${srcdir}/pycountry-${pkgver}"
+
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
More information about the arch-commits
mailing list