Date: Tuesday, July 28, 2020 @ 06:25:37 Author: felixonmars Revision: 392608
archrelease: copy trunk to testing-any Added: python-isort/repos/testing-any/PKGBUILD (from rev 392607, 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-28 06:17:24 UTC (rev 392607) +++ PKGBUILD 2020-07-28 06:25:37 UTC (rev 392608) @@ -1,40 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Yaron de Leeuw <m...@jarondl.net> - -pkgname=python-isort -pkgver=5.0.8 -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=('820cacb9aae6b4f68af7881772c1f1fe71086c4848f0d7228935f8385d8b367ad421cc653799488767dd7907cf41755801af3012785aeff2d19219f465aa6b48') - -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 392607, python-isort/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-07-28 06:25:37 UTC (rev 392608) @@ -0,0 +1,40 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Yaron de Leeuw <m...@jarondl.net> + +pkgname=python-isort +pkgver=5.0.8 +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=('820cacb9aae6b4f68af7881772c1f1fe71086c4848f0d7228935f8385d8b367ad421cc653799488767dd7907cf41755801af3012785aeff2d19219f465aa6b48') + +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/ +}