Date: Saturday, October 26, 2019 @ 04:19:44
  Author: felixonmars
Revision: 519983

archrelease: copy trunk to community-staging-any

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

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

Copied: python-pycountry/repos/community-staging-any/PKGBUILD (from rev 519982, 
python-pycountry/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2019-10-26 04:19:44 UTC (rev 519983)
@@ -0,0 +1,32 @@
+# Maintainer: Giancarlo Razzolini <[email protected]>
+# Maintainer: Morten Linderud <[email protected]>
+# Contibutor: Giovanni Scafora <[email protected]>
+# Contributor:  Pawel "kTT" Salata <[email protected]>
+
+pkgname=python-pycountry
+pkgver=19.8.18
+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=('39ba06629eeea55460424d06992ca5f1e5bf6168b219dc4880ec326f6aa0c92a4fdc54d4143a8b8bb1490149af793e760e291c6d704104a57ba91e88228ab669')
+
+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
+}

Reply via email to