Date: Sunday, April 3, 2022 @ 16:56:46 Author: felixonmars Revision: 1181039
upgpkg: python-requirementslib 1.6.0-1 Modified: python-requirementslib/trunk/PKGBUILD ----------+ PKGBUILD | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-04-03 16:52:29 UTC (rev 1181038) +++ PKGBUILD 2022-04-03 16:56:46 UTC (rev 1181039) @@ -1,40 +1,36 @@ # Maintainer: Felix Yan <[email protected]> pkgname=python-requirementslib -pkgver=1.5.16 -pkgrel=4 +pkgver=1.6.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-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') +depends=('python-attrs' 'python-cached-property' 'python-distlib' 'python-orderedmultidict' + 'python-packaging' 'python-pep517' 'python-pip-shims' 'python-platformdirs' '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=('10197624ec3c171943e1bc2c5903dd3f1717708b7015000805a471fe789e1cc869d4f47c509e4bfcdfb6f623cc738fdb350299c9e8af9da79ce42d4a977f2da6' + "git+https://github.com/sarugaku/shellingham.git#commit=9abe7464dab5cc362fe08361619d3fb15f2e16ab" + "git+https://github.com/pyinstaller/pyinstaller.git#commit=6d4cce1f8eb80c0bf49d35876d28daa55a05800f") +sha512sums=('63fc944246ce2b7209c29a05e082cf6e7fddb6db6cd3aff513297f9eb697cf8a5d3916a99b9b7f659785e5fe4ba93c2651978023d9ee13d70862b36384dee4a2' 'SKIP' + '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 + rmdir requests shellingham pyinstaller ln -s "$srcdir"/requests ln -s "$srcdir"/shellingham + ln -s "$srcdir"/pyinstaller } build() {
