Date: Sunday, July 26, 2020 @ 12:46:20 Author: felixonmars Revision: 392554
archrelease: copy trunk to testing-any Added: python-isort/repos/testing-any/PKGBUILD (from rev 392553, python-isort/trunk/PKGBUILD) Deleted: python-isort/repos/testing-any/PKGBUILD ----------+ PKGBUILD | 80 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-07-26 12:46:05 UTC (rev 392553) +++ PKGBUILD 2020-07-26 12:46:20 UTC (rev 392554) @@ -1,40 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Yaron de Leeuw <m...@jarondl.net> - -pkgname=python-isort -pkgver=5.0.6 -pkgrel=1 -pkgdesc="A Python utility / library to sort Python imports." -arch=('any') -url="https://github.com/timothycrosley/isort" -license=('MIT') -depends=('python') -makedepends=('python-dephell') -checkdepends=('pylama' 'python-hypothesis-auto' 'python-pip' 'python-pip-api' 'python-pipreqs' - 'python-pytest' 'python-requirementslib') -source=("https://github.com/timothycrosley/isort/archive/$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('a393105ffe98f9a7bf38fd2cf1b70024cfb335d51e97cd410a5c88f6bbe8a279c697ef8370e6a09571d63a1df41bd1f39f66ea20a71b108f6d5efb2edbf6a9b9') - -prepare() { - cd isort-$pkgver - # poetry-generated setup.py are fatally broken, see: - # https://github.com/sdispater/poetry/issues/866 - dephell deps convert --from pyproject.toml --to setup.py -} - -build() { - cd isort-$pkgver - python setup.py build -} - -check() { - cd isort-$pkgver - python setup.py install --root="$PWD/tmp_install" --optimize=1 - PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages" PATH="$PWD/tmp_install/usr/bin:$PATH" pytest --deselect tests/test_importable.py::test_importable -} - -package() { - cd isort-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ -} Copied: python-isort/repos/testing-any/PKGBUILD (from rev 392553, python-isort/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-07-26 12:46:20 UTC (rev 392554) @@ -0,0 +1,40 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Yaron de Leeuw <m...@jarondl.net> + +pkgname=python-isort +pkgver=5.0.7 +pkgrel=1 +pkgdesc="A Python utility / library to sort Python imports." +arch=('any') +url="https://github.com/timothycrosley/isort" +license=('MIT') +depends=('python') +makedepends=('python-dephell') +checkdepends=('pylama' 'python-hypothesis-auto' 'python-pip' 'python-pip-api' 'python-pipreqs' + 'python-pytest' 'python-requirementslib') +source=("https://github.com/timothycrosley/isort/archive/$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('ce2b73704cb158caf687d2f65e4eb268c0bce35dd3bd8873bc03e6aad5d1b9edf87b9413a769d4bae773b172a7df6c8a293105f31a893b7f87dd723da6e01f31') + +prepare() { + cd isort-$pkgver + # poetry-generated setup.py are fatally broken, see: + # https://github.com/sdispater/poetry/issues/866 + dephell deps convert --from pyproject.toml --to setup.py +} + +build() { + cd isort-$pkgver + python setup.py build +} + +check() { + cd isort-$pkgver + python setup.py install --root="$PWD/tmp_install" --optimize=1 + PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages" PATH="$PWD/tmp_install/usr/bin:$PATH" pytest --deselect tests/test_importable.py::test_importable +} + +package() { + cd isort-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ +}