[arch-commits] Commit in python-pycountry/repos/community-any (PKGBUILD PKGBUILD)
Giancarlo Razzolini
grazzolini at archlinux.org
Mon Mar 4 18:52:27 UTC 2019
Date: Monday, March 4, 2019 @ 18:52:26
Author: grazzolini
Revision: 437576
archrelease: copy trunk to community-any
Added:
python-pycountry/repos/community-any/PKGBUILD
(from rev 437575, python-pycountry/trunk/PKGBUILD)
Deleted:
python-pycountry/repos/community-any/PKGBUILD
----------+
PKGBUILD | 83 +++++++++++++++++++++++--------------------------------------
1 file changed, 32 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-04 18:51:23 UTC (rev 437575)
+++ PKGBUILD 2019-03-04 18:52:26 UTC (rev 437576)
@@ -1,51 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contibutor: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: Pawel "kTT" Salata <rockplayer.pl at gmail.com>
-
-pkgbase=python-pycountry
-pkgname=(python-pycountry python2-pycountry)
-pkgver=18.12.8
-pkgrel=1
-pkgdesc="ISO country, subdivision, language, currency and script definitions and their translations"
-arch=('any')
-url="https://pypi.org/project/pycountry/"
-license=('LGPL2.1')
-makedepends=('python2' 'python2-setuptools'
- 'python' 'python-setuptools')
-checkdepends=('python2-pytest' 'python2-pytest-runner'
- 'python-pytest' 'python-pytest-runner')
-source=("https://pypi.io/packages/source/p/pycountry/pycountry-${pkgver}.tar.gz")
-sha512sums=('9797688ada8ea54c1a56a2cf4d0ad765001816c822c40077953fa71e3af285114c4b5beaf739a24432b9c6ea794952ce347a40ae0bcd9a2c00d12ddc7b45261e')
-
-prepare(){
- cp -r pycountry-${pkgver}{,-py2}
-}
-
-build(){
- cd "${srcdir}/pycountry-${pkgver}"
- python setup.py build
-
- cd "${srcdir}/pycountry-${pkgver}-py2"
- python2 setup.py build
-}
-
-check(){
- cd "${srcdir}/pycountry-${pkgver}"
- python setup.py pytest
-
- cd "${srcdir}/pycountry-${pkgver}-py2"
- python2 setup.py pytest
-}
-
-
-package_python2-pycountry() {
- depends=(python python2-lxml)
- cd "${srcdir}/pycountry-${pkgver}"
- python2 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
-}
-
-package_python-pycountry() {
- depends=(python python-lxml)
- cd "${srcdir}/pycountry-${pkgver}"
- python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
-}
Copied: python-pycountry/repos/community-any/PKGBUILD (from rev 437575, python-pycountry/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-04 18:52:26 UTC (rev 437576)
@@ -0,0 +1,32 @@
+# Maintainer: Giancarlo Razzolini <grazzolini at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contibutor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Pawel "kTT" Salata <rockplayer.pl at gmail.com>
+
+pkgname=python-pycountry
+pkgver=18.12.8
+pkgrel=2
+pkgdesc="ISO country, subdivision, language, currency and script definitions and their translations"
+arch=('any')
+url="https://pypi.org/project/pycountry/"
+license=('LGPL2.1')
+depends=(python python-lxml)
+makedepends=('python' 'python-setuptools')
+checkdepends=('python-pytest' 'python-pytest-runner')
+source=("https://pypi.io/packages/source/p/pycountry/pycountry-${pkgver}.tar.gz")
+sha512sums=('9797688ada8ea54c1a56a2cf4d0ad765001816c822c40077953fa71e3af285114c4b5beaf739a24432b9c6ea794952ce347a40ae0bcd9a2c00d12ddc7b45261e')
+
+build(){
+ cd "${srcdir}/pycountry-${pkgver}"
+ python setup.py build
+}
+
+check(){
+ cd "${srcdir}/pycountry-${pkgver}"
+ python setup.py pytest
+}
+
+package() {
+ cd "${srcdir}/pycountry-${pkgver}"
+ python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list