Date: Thursday, December 17, 2020 @ 09:35:26 Author: felixonmars Revision: 777234
archrelease: copy trunk to community-any Added: python-pytest-flake8/repos/community-any/PKGBUILD (from rev 777233, python-pytest-flake8/trunk/PKGBUILD) Deleted: python-pytest-flake8/repos/community-any/PKGBUILD ----------+ PKGBUILD | 74 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-12-17 09:35:08 UTC (rev 777233) +++ PKGBUILD 2020-12-17 09:35:26 UTC (rev 777234) @@ -1,37 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-pytest-flake8 -pkgver=1.0.6 -pkgrel=3 -pkgdesc='pytest plugin to check FLAKE8 requirements' -arch=('any') -license=('MIT') -url='https://github.com/tholo/pytest-flake8' -depends=('python-pytest' 'flake8') -source=("$pkgname-$pkgver.tar.gz::https://github.com/tholo/pytest-flake8/archive/$pkgver.tar.gz") -sha512sums=('0956690c51df94d6eab81494b4f6a30b242926c7ada071e46b40b6b23c4e4ccddea4fb91758306b186616b20ea9ecfb7e5da794c37352e85146d0bc400901020') - -prepare() { - sed -i 's/ignore = E128/ignore = E128 W605/' pytest-flake8-$pkgver/tox.ini -} - -build() { - cd "$srcdir"/pytest-flake8-$pkgver - python setup.py build -} - -check() { - # Hack entry points by installing it - - cd "$srcdir"/pytest-flake8-$pkgver - python setup.py install --root="$PWD/tmp_install" --optimize=1 - PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages:$PYTHONPATH" py.test -} - -package() { - cd pytest-flake8-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: python-pytest-flake8/repos/community-any/PKGBUILD (from rev 777233, python-pytest-flake8/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-12-17 09:35:26 UTC (rev 777234) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-pytest-flake8 +pkgver=1.0.7 +pkgrel=1 +pkgdesc='pytest plugin to check FLAKE8 requirements' +arch=('any') +license=('MIT') +url='https://github.com/tholo/pytest-flake8' +depends=('python-pytest' 'flake8') +source=("$pkgname-$pkgver.tar.gz::https://github.com/tholo/pytest-flake8/archive/$pkgver.tar.gz") +sha512sums=('c71d08eefcafe5503a660d8495c3520a9ae26ba701095c13111b33dc420fed03a2cbffa889eef08488ab5254ed001fd43b3a4757ffa2011cc3b4bd80d078f3c1') + +prepare() { + sed -i 's/ignore = E128/ignore = E128 W605/' pytest-flake8-$pkgver/tox.ini +} + +build() { + cd "$srcdir"/pytest-flake8-$pkgver + python setup.py build +} + +check() { + # Hack entry points by installing it + + cd "$srcdir"/pytest-flake8-$pkgver + python setup.py install --root="$PWD/tmp_install" --optimize=1 + PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages:$PYTHONPATH" py.test +} + +package() { + cd pytest-flake8-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et: