Date: Tuesday, October 4, 2022 @ 10:47:42
Author: felixonmars
Revision: 1320898
archrelease: copy trunk to community-any
Added:
python-requirementslib/repos/community-any/PKGBUILD
(from rev 1320897, python-requirementslib/trunk/PKGBUILD)
Deleted:
python-requirementslib/repos/community-any/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-10-04 10:47:17 UTC (rev 1320897)
+++ PKGBUILD 2022-10-04 10:47:42 UTC (rev 1320898)
@@ -1,48 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-requirementslib
-pkgver=2.0.2
-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-attrs' 'python-cached-property' 'python-distlib'
'python-pep517' 'python-pip'
- 'python-platformdirs' 'python-plette' 'python-cerberus'
'python-requests'
- 'python-setuptools' 'python-tomlkit' 'python-vistir')
-makedepends=('python-invoke' 'python-wheel' 'python-parver' 'git')
-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=('475048254a134185c0aa93a31dbcff754b85b4b999e0537f48d5672cbc113b6614b13e4a9318d249c7c132cef62442c18ea73b763c7111325776593a7b61838e'
- 'SKIP'
- 'SKIP'
- 'SKIP')
-
-prepare() {
- cd requirementslib-$pkgver/tests/artifacts/git
- rmdir requests shellingham pyinstaller
- ln -s "$srcdir"/requests
- ln -s "$srcdir"/shellingham
- ln -s "$srcdir"/pyinstaller
-}
-
-build() {
- cd requirementslib-$pkgver
- python setup.py build
-}
-
-check() {
- cd requirementslib-$pkgver
- PYTHONPATH="$PWD/build/lib" 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/
-}
Copied: python-requirementslib/repos/community-any/PKGBUILD (from rev 1320897,
python-requirementslib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-10-04 10:47:42 UTC (rev 1320898)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-requirementslib
+pkgver=2.0.3
+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-attrs' 'python-cached-property' 'python-distlib'
'python-pep517' 'python-pip'
+ 'python-platformdirs' 'python-plette' 'python-cerberus'
'python-requests'
+ 'python-setuptools' 'python-tomlkit' 'python-vistir')
+makedepends=('python-invoke' 'python-wheel' 'python-parver' 'git')
+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=('e81b490b59886c3df6cde61b883fce66e5e2bbaebff8e64a6cf7f24bc8de492de29d98a145d7c1a47f320557d59a69e1355393e994b4f86ac03fb60e152fa256'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP')
+
+prepare() {
+ cd requirementslib-$pkgver/tests/artifacts/git
+ rmdir requests shellingham pyinstaller
+ ln -s "$srcdir"/requests
+ ln -s "$srcdir"/shellingham
+ ln -s "$srcdir"/pyinstaller
+}
+
+build() {
+ cd requirementslib-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd requirementslib-$pkgver
+ PYTHONPATH="$PWD/build/lib" 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/
+}