Date: Tuesday, November 22, 2022 @ 22:53:15
Author: arojas
Revision: 1351935
archrelease: copy trunk to community-any
Added:
python-requirementslib/repos/community-any/PKGBUILD
(from rev 1351934, python-requirementslib/trunk/PKGBUILD)
Deleted:
python-requirementslib/repos/community-any/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-22 22:53:02 UTC (rev 1351934)
+++ PKGBUILD 2022-11-22 22:53:15 UTC (rev 1351935)
@@ -1,48 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-requirementslib
-pkgver=2.1.0
-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=('c6123eb37b0938084b856f085971919a962157d1d442f4a26b0d6ffc6c11e93e29fff8333c7689b43e3b511c3b8240429a6018d75d2076123a0917851fd68381'
- '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 1351934,
python-requirementslib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-22 22:53:15 UTC (rev 1351935)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-requirementslib
+pkgver=2.2.0
+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=('15e8fe51af42ebc80fe838ab006c6d060b6950ff1b158970775863949913624aa91452c854e48e55c588a41e99971a480bbbad1338f5f94e55fb5880ad9cf01a'
+ '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/
+}