[arch-commits] Commit in python-importlib-metadata/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Sep 19 09:39:33 UTC 2018


    Date: Wednesday, September 19, 2018 @ 09:39:33
  Author: felixonmars
Revision: 383354

upgpkg: python-importlib-metadata 0.5-2

correct dependencies

Modified:
  python-importlib-metadata/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-19 09:38:45 UTC (rev 383353)
+++ PKGBUILD	2018-09-19 09:39:33 UTC (rev 383354)
@@ -3,15 +3,14 @@
 pkgbase=python-importlib-metadata
 pkgname=(python-importlib-metadata python2-importlib-metadata)
 pkgver=0.5
-pkgrel=1
+pkgrel=2
 pkgdesc="Read metadata from Python packages"
 url="https://importlib-metadata.readthedocs.io"
 license=('Apache')
 arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools' 'python2-typing' 'python2-pathlib2'
-             'python-wheel' 'python2-wheel')
+makedepends=('python-setuptools' 'python2-setuptools' 'python2-contextlib2' 'python2-pathlib2')
 checkdepends=('python-pip' 'python2-pip' 'python-pytest-runner' 'python2-pytest-runner'
-              'python2-contextlib2' 'python2-importlib_resources')
+              'python2-importlib_resources')
 source=("$pkgbase-$pkgver.tar.gz::https://gitlab.com/python-devs/importlib_metadata/-/archive/$pkgver/importlib_metadata-$pkgver.tar.bz2")
 sha512sums=('a38d2bd9fb864ed048c34d49a348f273846008827c384886552ba28f503cf4cfb26dba56567014cf83cb5fc5288dc40f79a5537abd17f3eaf8e8e59c8bd88456')
 
@@ -38,7 +37,7 @@
 }
 
 package_python-importlib-metadata() {
-  depends=('python-wheel' 'python-setuptools')
+  depends=('python')
 
   cd importlib_metadata-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
@@ -45,7 +44,7 @@
 }
 
 package_python2-importlib-metadata() {
-  depends=('python2-wheel' 'python2-setuptools' 'python2-typing' 'python2-pathlib2')
+  depends=('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