Date: Friday, March 19, 2021 @ 01:51:02 Author: polyzen Revision: 894533
archrelease: copy trunk to community-any Added: python-flake8-docstrings/repos/community-any/PKGBUILD (from rev 894532, python-flake8-docstrings/trunk/PKGBUILD) Deleted: python-flake8-docstrings/repos/community-any/PKGBUILD ----------+ PKGBUILD | 74 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-03-19 01:50:31 UTC (rev 894532) +++ PKGBUILD 2021-03-19 01:51:02 UTC (rev 894533) @@ -1,37 +0,0 @@ -# Maintainer: Daniel M. Capella <poly...@archlinux.org> -# Contributor: Pieter Goetschalckx <3.14.e.ter <at> gmail <dot> com> - -_name=flake8-docstrings -pkgname=python-flake8-docstrings -pkgver=1.5.0 -pkgrel=4 -pkgdesc='Plugin to Flake8 to include checks provided by pydocstyle' -arch=('any') -url=https://gitlab.com/pycqa/flake8-docstrings -license=('MIT') -depends=('flake8' 'python-pydocstyle') -makedepends=('python-setuptools') -source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") -sha256sums=('3d5a31c7ec6b7367ea6506a87ec293b94a0a46c0bce2bb4975b7f1d09b6f3717') -b2sums=('f78d3604ee842f45637e53d6420910f1cdc611607883af8888918a753faa6e4ee020d4248c896fafda1f6d0515a2a3b33ab32ea159618f8524c03cd92ab55f17') - -build() { - cd $_name-$pkgver - python setup.py build -} - -check() { - cd $_name-$pkgver - mkdir -p temp - local sitepackages=$(python -c "import site; print(site.getsitepackages()[0])") - python setup.py install --skip-build --root=temp - PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$sitepackages" flake8 --exit-zero flake8_docstrings.py -} - -package() { - cd $_name-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: python-flake8-docstrings/repos/community-any/PKGBUILD (from rev 894532, python-flake8-docstrings/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-03-19 01:51:02 UTC (rev 894533) @@ -0,0 +1,37 @@ +# Maintainer: Daniel M. Capella <poly...@archlinux.org> +# Contributor: Pieter Goetschalckx <3.14.e.ter <at> gmail <dot> com> + +_name=flake8-docstrings +pkgname=python-flake8-docstrings +pkgver=1.6.0 +pkgrel=1 +pkgdesc='Plugin to Flake8 to include checks provided by pydocstyle' +arch=('any') +url=https://gitlab.com/pycqa/flake8-docstrings +license=('MIT') +depends=('flake8' 'python-pydocstyle') +makedepends=('python-setuptools') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +sha256sums=('9fe7c6a306064af8e62a055c2f61e9eb1da55f84bb39caef2b84ce53708ac34b') +b2sums=('ee147e27f226675a2a59375b9e7812d111a34bef1bc35843096f8e7ca9cd94ac805ca49a8d83d1f6d7a78dbf6338a0a1270d668b51775a2b91ad7c3172ad41da') + +build() { + cd $_name-$pkgver + python setup.py build +} + +check() { + cd $_name-$pkgver + mkdir -p temp + local sitepackages=$(python -c "import site; print(site.getsitepackages()[0])") + python setup.py install --skip-build --root=temp + PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$sitepackages" flake8 flake8_docstrings.py +} + +package() { + cd $_name-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE +} + +# vim:set ts=2 sw=2 et: