[arch-commits] Commit in python-pycountry/repos (2 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sun Dec 25 16:59:49 UTC 2016


    Date: Sunday, December 25, 2016 @ 16:59:49
  Author: bpiotrowski
Revision: 202005

archrelease: copy trunk to community-staging-any

Added:
  python-pycountry/repos/community-staging-any/
  python-pycountry/repos/community-staging-any/PKGBUILD
    (from rev 202004, python-pycountry/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: python-pycountry/repos/community-staging-any/PKGBUILD (from rev 202004, python-pycountry/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2016-12-25 16:59:49 UTC (rev 202005)
@@ -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=16.11.27.1
+pkgrel=2
+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=("https://pypi.io/packages/source/p/pycountry/pycountry-${pkgver}.tar.gz")
+md5sums=('edf4f7cd4748a48e3a47ac50a61dc363')
+
+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