[arch-commits] Commit in python-importlib-metadata/repos/community-testing-any (2 files)

Felix Yan felixonmars at archlinux.org
Sat May 25 04:02:49 UTC 2019


    Date: Saturday, May 25, 2019 @ 04:02:49
  Author: felixonmars
Revision: 469684

archrelease: copy trunk to community-testing-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-25 04:02:45 UTC (rev 469683)
+++ PKGBUILD	2019-05-25 04:02:49 UTC (rev 469684)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-importlib-metadata
-pkgname=(python-importlib-metadata python2-importlib-metadata)
-pkgver=0.13
-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=('9e739b3db1e0f10f1c54165a26747367454c279a3c62d98f46f4d6f1fac9d0edbfd38f8812a54ae04052116a62454ed3cfd09727ef88c36a9a07a3669816f62b')
-
-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-testing-any/PKGBUILD (from rev 469682, python-importlib-metadata/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-25 04:02:49 UTC (rev 469684)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-importlib-metadata
+pkgname=(python-importlib-metadata python2-importlib-metadata)
+pkgver=0.15
+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=('b37c4b21b4c6ae9d757edfd489b0dc5d0fb852e00b73643b08400ce8f2246972e7a9942682468b9d8a6c260b29ad39aefdef55835971ea22f9922733ea1048ba')
+
+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
+}



More information about the arch-commits mailing list