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

Felix Yan felixonmars at archlinux.org
Tue Feb 18 09:14:20 UTC 2020


    Date: Tuesday, February 18, 2020 @ 09:14:19
  Author: felixonmars
Revision: 375777

upgpkg: python-pep517 0.7.0-1

Modified:
  python-pep517/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-18 09:11:33 UTC (rev 375776)
+++ PKGBUILD	2020-02-18 09:14:19 UTC (rev 375777)
@@ -2,17 +2,17 @@
 
 pkgbase=python-pep517
 pkgname=('python-pep517' 'python2-pep517')
-pkgver=0.6.0
-pkgrel=3
+pkgver=0.7.0
+pkgrel=1
 pkgdesc="Wrappers to build Python packages using PEP 517 hooks"
 arch=('any')
 license=('MIT')
 url="https://github.com/takluyver/pep517"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pytoml' 'python2-pytoml'
-             'python-importlib-metadata' 'python2-importlib-metadata')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-toml' 'python2-toml'
+             'python-importlib-metadata' 'python2-importlib-metadata' 'python-zipp' 'python2-zipp')
 checkdepends=('python-pytest' 'python-pytest-flake8' 'python-testpath' 'python-pip')
 source=("https://pypi.io/packages/source/p/pep517/pep517-$pkgver.tar.gz")
-sha512sums=('dd93b4a9646b87a851dd8dc2e26ab07b5268762ac1fe216d3ed9e65fe713d664eb39ffa2a9a121a3755e01774342db46c6584c8ac75501d706dd992e99b3d5d4')
+sha512sums=('6c59dd41ec05e5f3b5032ed2d262f4fc4ba51d31cd7e8115f8f128a3e56b9e8ba1ec6140f37be6370561618ab8ad9845422b144db09e6102f8178a2c52756b2a')
 
 prepare() {
   cp -a pep517-$pkgver{,-py2}
@@ -21,32 +21,28 @@
 build() {
   cd "$srcdir"/pep517-$pkgver
   python setup.py build
- 
+
   cd "$srcdir"/pep517-$pkgver-py2
   python2 setup.py build
 }
 
 check() {
-  cd "$srcdir"/pep517-$pkgver
+  cd pep517-$pkgver
   # https://github.com/pypa/pep517/issues/35
-  pytest -k 'not setup.py'
+  pytest --deselect setup.py
+}
 
-  cd "$srcdir"/pep517-$pkgver-py2
-  # No python2-testpath
-  # pytest2
-}
- 
 package_python-pep517() {
-  depends=('python-pytoml' 'python-importlib-metadata')
- 
+  depends=('python-toml' 'python-importlib-metadata' 'python-zipp')
+
   cd pep517-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
- 
+
 package_python2-pep517() {
-  depends=('python2-pytoml' 'python2-importlib-metadata')
- 
+  depends=('python2-toml' 'python2-importlib-metadata' 'python2-zipp')
+
   cd pep517-$pkgver-py2
   python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE



More information about the arch-commits mailing list