Date: Monday, August 3, 2020 @ 08:27:22 Author: felixonmars Revision: 393088
archrelease: copy trunk to testing-any Added: python-isort/repos/testing-any/PKGBUILD (from rev 393087, python-isort/trunk/PKGBUILD) Deleted: python-isort/repos/testing-any/PKGBUILD ----------+ PKGBUILD | 80 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-08-03 08:27:04 UTC (rev 393087) +++ PKGBUILD 2020-08-03 08:27:22 UTC (rev 393088) @@ -1,40 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Yaron de Leeuw <m...@jarondl.net> - -pkgname=python-isort -pkgver=5.1.3 -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=('803415cd56385cd6ecd31361c3ab001d17274c6a0f081f905dacf57ce09d91c8b70921813785b678fcbdbddd942c3d2bb79aad282314b674148081e9379b81b1') - -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 393087, python-isort/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-08-03 08:27:22 UTC (rev 393088) @@ -0,0 +1,40 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Yaron de Leeuw <m...@jarondl.net> + +pkgname=python-isort +pkgver=5.1.4 +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=('49c78d3731caac0c70e49d07336cc87110042dcfd3e0ba191cd0bbe65a59fe14488d6361506a2a0308402d4b09a8d1e00f7dd3c79ca889e13bbc175b4f2c3417') + +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/ +}