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

Felix Yan felixonmars at archlinux.org
Mon Jun 1 15:51:05 UTC 2020


    Date: Monday, June 1, 2020 @ 15:51:04
  Author: felixonmars
Revision: 637842

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-01 15:50:55 UTC (rev 637841)
+++ PKGBUILD	2020-06-01 15:51:04 UTC (rev 637842)
@@ -1,55 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-requirementslib
-pkgver=1.5.9
-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=('1291fabc61c202aca943dcee5539ee41ca0d20e5ee8829f8adcff0f13f6863f622acb5a0a6809fa2bf0edc7476bb0a7878fa2645396ec8ad6ccd87d00056fb78'
-            '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 637841, python-requirementslib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-06-01 15:51:04 UTC (rev 637842)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-requirementslib
+pkgver=1.5.10
+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=('7f1f0f6f5aa61d4c8005eb1f4939e3772a8953ea29b3b26fde617aa34d7eaa986c0af9c4f868adaf38fbb60f7d78d33288bb9cfacb514fde9ee94e91e4f1657b'
+            '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