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

Felix Yan felixonmars at archlinux.org
Fri Jul 10 12:39:45 UTC 2020


    Date: Friday, July 10, 2020 @ 12:39:44
  Author: felixonmars
Revision: 663088

archrelease: copy trunk to community-any

Added:
  python-requirementslib/repos/community-any/PKGBUILD
    (from rev 663087, python-requirementslib/trunk/PKGBUILD)
Deleted:
  python-requirementslib/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  110 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-10 12:39:29 UTC (rev 663087)
+++ PKGBUILD	2020-07-10 12:39:44 UTC (rev 663088)
@@ -1,55 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-requirementslib
-pkgver=1.5.11
-pkgrel=1
-pkgdesc="A tool for converting between pip-style and pipfile requirements"
-url="https://github.com/sarugaku/requirementslib"
-license=('MIT')
-arch=('any')
-depends=('python-appdirs' 'python-attrs' 'python-cached-property' 'python-distlib'
-         'python-orderedmultidict' 'python-packaging' 'python-pep517' 'python-pip-shims'
-         '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')
-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")
-sha512sums=('aab5261238ea5b0dde28253d4c531b3093f5bb91fd9c2b045c4f62421c48eb22a0118b03f3b9af944f0ed499be6d33aa225ecb3b471edde52bf6d08505bd286b'
-            'SKIP'
-            'SKIP')
-
-prepare() {
-  cd requirementslib-$pkgver
-  sed -i 's/pkg_resources.extern.//' src/requirementslib/models/*.py
-
-  # https://github.com/sarugaku/requirementslib/issues/181
-  sed -e 's/list(MARKER_OP)/MARKER_OP.exprs/' -e 's/list(VARIABLE)/VARIABLE.exprs/' -i tests/unit/strategies.py
-
-  # https://github.com/sarugaku/requirementslib/issues/183
-  sed -i 's/not isinstance(source\["verify_ssl"\], bool)/isinstance(source["verify_ssl"], str)/' -i src/requirementslib/models/pipfile.py
-
-  cd tests/artifacts/git
-  rmdir requests shellingham
-  ln -s "$srcdir"/requests
-  ln -s "$srcdir"/shellingham
-}
-
-build() {
-  cd requirementslib-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd requirementslib-$pkgver
-  python setup.py pytest || warning "Tests failed"
-}
-
-package() {
-  cd requirementslib-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-requirementslib/repos/community-any/PKGBUILD (from rev 663087, python-requirementslib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-10 12:39:44 UTC (rev 663088)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-requirementslib
+pkgver=1.5.12
+pkgrel=1
+pkgdesc="A tool for converting between pip-style and pipfile requirements"
+url="https://github.com/sarugaku/requirementslib"
+license=('MIT')
+arch=('any')
+depends=('python-appdirs' 'python-attrs' 'python-cached-property' 'python-distlib'
+         'python-orderedmultidict' 'python-packaging' 'python-pep517' 'python-pip-shims'
+         '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')
+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")
+sha512sums=('67a38c4f5cbcc5f6c3dcb64c92de6f957cd1a7dd9bdfe4959110584c6ea1579f3c843e3093f8c8be7990d35fd60245b7f10af0cf97aa3638c14b47ec1a78e42c'
+            'SKIP'
+            'SKIP')
+
+prepare() {
+  cd requirementslib-$pkgver
+  sed -i 's/pkg_resources.extern.//' src/requirementslib/models/*.py
+
+  # https://github.com/sarugaku/requirementslib/issues/181
+  sed -e 's/list(MARKER_OP)/MARKER_OP.exprs/' -e 's/list(VARIABLE)/VARIABLE.exprs/' -i tests/unit/strategies.py
+
+  # https://github.com/sarugaku/requirementslib/issues/183
+  sed -i 's/not isinstance(source\["verify_ssl"\], bool)/isinstance(source["verify_ssl"], str)/' -i src/requirementslib/models/pipfile.py
+
+  cd tests/artifacts/git
+  rmdir requests shellingham
+  ln -s "$srcdir"/requests
+  ln -s "$srcdir"/shellingham
+}
+
+build() {
+  cd requirementslib-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd requirementslib-$pkgver
+  python setup.py pytest || warning "Tests failed"
+}
+
+package() {
+  cd requirementslib-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list