[arch-commits] Commit in python-requirementslib/repos/community-any (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 2 14:09:12 UTC 2020
Date: Monday, November 2, 2020 @ 14:09:12
Author: felixonmars
Revision: 739722
archrelease: copy trunk to community-any
Added:
python-requirementslib/repos/community-any/PKGBUILD
(from rev 739721, python-requirementslib/trunk/PKGBUILD)
Deleted:
python-requirementslib/repos/community-any/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-02 14:09:00 UTC (rev 739721)
+++ PKGBUILD 2020-11-02 14:09:12 UTC (rev 739722)
@@ -1,55 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-requirementslib
-pkgver=1.5.13
-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=('1a9afa0b705e3a3e5c78545aef8a5d42610b8cac2be074e94b2c33f2489ec9c952f65c2cccdceb82b676c450be6c622e76cb834655e5cde0da766f309c332a5a'
- '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 739721, python-requirementslib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-02 14:09:12 UTC (rev 739722)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-requirementslib
+pkgver=1.5.14
+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=('a98e33c13aaa367604eea729c1b5c9a7182eb9343599b2118d59004cc922b9dff706908f965c12b522795ace073ea9258d482d38250cdb013581867063f03ce8'
+ '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 || echo "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