Date: Monday, July 29, 2019 @ 07:22:28
  Author: felixonmars
Revision: 494404

archrelease: copy trunk to community-any

Added:
  python-importlib-metadata/repos/community-any/PKGBUILD
    (from rev 494403, python-importlib-metadata/trunk/PKGBUILD)
Deleted:
  python-importlib-metadata/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2019-07-29 07:22:11 UTC (rev 494403)
+++ PKGBUILD    2019-07-29 07:22:28 UTC (rev 494404)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonm...@archlinux.org>
-
-pkgbase=python-importlib-metadata
-pkgname=(python-importlib-metadata python2-importlib-metadata)
-pkgver=0.18
-pkgrel=1
-pkgdesc="Read metadata from Python packages"
-url="https://importlib-metadata.readthedocs.io";
-license=('Apache')
-arch=('any')
-makedepends=('python-setuptools-scm' 'python2-setuptools-scm' 
'python2-contextlib2'
-             'python2-pathlib2' 'python2-configparser' 'python-zipp' 
'python2-zipp')
-checkdepends=('python-pip' 'python2-pip' 'python-pytest-runner' 
'python2-pytest-runner'
-              'python2-importlib_resources' 'python-wheel' 'python2-wheel')
-source=("$pkgbase-$pkgver.tar.gz::https://gitlab.com/python-devs/importlib_metadata/-/archive/$pkgver/importlib_metadata-$pkgver.tar.bz2";)
-sha512sums=('6327828da0d10d93c110c117c3fd187c5ab0753e2ff3fb4bf786a48cbaf65914459c2c33915c1d2851304d1342dbc66824626da777911b921f6cff0ccbfa24e0')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-prepare() {
-  cp -a importlib_metadata-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/importlib_metadata-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/importlib_metadata-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/importlib_metadata-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/importlib_metadata-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-importlib-metadata() {
-  depends=('python-zipp')
-
-  cd importlib_metadata-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-importlib-metadata() {
-  depends=('python2-zipp' 'python2-configparser' 'python2-contextlib2' 
'python2-pathlib2')
-
-  cd importlib_metadata-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-importlib-metadata/repos/community-any/PKGBUILD (from rev 
494403, python-importlib-metadata/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2019-07-29 07:22:28 UTC (rev 494404)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+
+pkgbase=python-importlib-metadata
+pkgname=(python-importlib-metadata python2-importlib-metadata)
+pkgver=0.19
+pkgrel=1
+pkgdesc="Read metadata from Python packages"
+url="https://importlib-metadata.readthedocs.io";
+license=('Apache')
+arch=('any')
+makedepends=('python-setuptools-scm' 'python2-setuptools-scm' 
'python2-contextlib2'
+             'python2-pathlib2' 'python2-configparser' 'python-zipp' 
'python2-zipp')
+checkdepends=('python-pip' 'python2-pip' 'python-pytest-runner' 
'python2-pytest-runner'
+              'python2-importlib_resources' 'python-wheel' 'python2-wheel')
+source=("$pkgbase-$pkgver.tar.gz::https://gitlab.com/python-devs/importlib_metadata/-/archive/$pkgver/importlib_metadata-$pkgver.tar.bz2";)
+sha512sums=('07c1965b2dfd6d503171604f815a47529c46f0cd7a372760534bdd468d5c1d11b70534882dae77d87f78d159d5bd9b8cab4a898abb56105952b7431afa70ee35')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+prepare() {
+  cp -a importlib_metadata-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/importlib_metadata-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/importlib_metadata-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/importlib_metadata-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/importlib_metadata-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-importlib-metadata() {
+  depends=('python-zipp')
+
+  cd importlib_metadata-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-importlib-metadata() {
+  depends=('python2-zipp' 'python2-configparser' 'python2-contextlib2' 
'python2-pathlib2')
+
+  cd importlib_metadata-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}

Reply via email to