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

Felix Yan felixonmars at gemini.archlinux.org
Sat Sep 3 12:45:13 UTC 2022


    Date: Saturday, September 3, 2022 @ 12:45:12
  Author: felixonmars
Revision: 1291948

upgpkg: python-requirementslib 2.0.0-1

Modified:
  python-requirementslib/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-09-03 12:45:02 UTC (rev 1291947)
+++ PKGBUILD	2022-09-03 12:45:12 UTC (rev 1291948)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-requirementslib
-pkgver=1.6.9
+pkgver=2.0.0
 pkgrel=1
 pkgdesc="A tool for converting between pip-style and pipfile requirements"
 url="https://github.com/sarugaku/requirementslib"
@@ -8,17 +8,17 @@
 license=('MIT')
 arch=('any')
 depends=('python-attrs' 'python-cached-property' 'python-distlib' 'python-orderedmultidict'
-         'python-packaging' 'python-pep517' 'python-pip-shims' 'python-platformdirs' 'python-plette'
+         'python-packaging' 'python-pep517' 'python-pip' 'python-platformdirs' 'python-plette'
          'python-cerberus' 'python-dateutil' 'python-requests' 'python-setuptools' 'python-tomlkit'
          'python-vistir')
 makedepends=('python-invoke' 'python-wheel' 'python-parver' 'git')
-checkdepends=('python-pytest-runner' 'python-pytest-cov' 'python-pytest-sugar' 'python-pytest-timeout'
-              'python-pytest-xdist' 'python-hypothesis')
+checkdepends=('python-pytest-sugar' 'python-pytest-timeout' 'python-pytest-xdist'
+              'python-hypothesis')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/sarugaku/requirementslib/archive/$pkgver.tar.gz"
         "git+https://github.com/kennethreitz/requests.git#commit=64bde6582d9b49e9345d9b8df16aaa26dc372d13"
         "git+https://github.com/sarugaku/shellingham.git#commit=9abe7464dab5cc362fe08361619d3fb15f2e16ab"
         "git+https://github.com/pyinstaller/pyinstaller.git#commit=6d4cce1f8eb80c0bf49d35876d28daa55a05800f")
-sha512sums=('6679577ff40714b86b5f5f9047008cefb69933137a256cc500eabaa817ef203e12a7381589d93d4451a719d9fe0a8200734978dc52a072f89ee06f73d890aef8'
+sha512sums=('09647784571656c1818132c051dc91134539099d6c5def933f2e616f333e6a3f875d915264c47c87f03fba58607298499799f0a59c84e0d86f592606fc1e2ce1'
             'SKIP'
             'SKIP'
             'SKIP')
@@ -26,6 +26,8 @@
 prepare() {
   cd requirementslib-$pkgver
 
+  sed -i 's/pyparsing<3.0.0/pyparsing/' setup.cfg
+
   cd tests/artifacts/git
   rmdir requests shellingham pyinstaller
   ln -s "$srcdir"/requests
@@ -40,7 +42,7 @@
 
 check() {
   cd requirementslib-$pkgver
-  python setup.py pytest || echo "Tests failed"
+  PYTHONPATH="$PWD/build/lib" pytest || echo "Tests failed"
 }
 
 package() {



More information about the arch-commits mailing list