[arch-commits] Commit in python-pycountry/repos/community-any (PKGBUILD PKGBUILD)
Giancarlo Razzolini
grazzolini at archlinux.org
Fri Dec 14 11:54:04 UTC 2018
Date: Friday, December 14, 2018 @ 11:54:03
Author: grazzolini
Revision: 416260
archrelease: copy trunk to community-any
Added:
python-pycountry/repos/community-any/PKGBUILD
(from rev 416259, python-pycountry/trunk/PKGBUILD)
Deleted:
python-pycountry/repos/community-any/PKGBUILD
----------+
PKGBUILD | 103 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-12-14 11:53:30 UTC (rev 416259)
+++ PKGBUILD 2018-12-14 11:54:03 UTC (rev 416260)
@@ -1,52 +0,0 @@
-# $Id$
-# 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.5.26
-pkgrel=3
-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=('9760175a7926347920542a2fd2420cc3d4f36ac11df5aa6f7aaabbd9b46dd9cb61801933133a589ed35fd2e279db2a70e98340d8cf8856987dc88d6fdb715437')
-
-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 416259, python-pycountry/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-12-14 11:54:03 UTC (rev 416260)
@@ -0,0 +1,51 @@
+# 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
+}
More information about the arch-commits
mailing list