[arch-commits] Commit in python-pytest-flake8/repos (2 files)
Date: Monday, November 9, 2020 @ 20:20:18 Author: foutrelis Revision: 748197 archrelease: copy trunk to community-staging-any Added: python-pytest-flake8/repos/community-staging-any/ python-pytest-flake8/repos/community-staging-any/PKGBUILD (from rev 748194, python-pytest-flake8/trunk/PKGBUILD) --+ PKGBUILD | 37 + 1 file changed, 37 insertions(+) Copied: python-pytest-flake8/repos/community-staging-any/PKGBUILD (from rev 748194, python-pytest-flake8/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2020-11-09 20:20:18 UTC (rev 748197) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan + +pkgname=python-pytest-flake8 +pkgver=1.0.6 +pkgrel=2 +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:
[arch-commits] Commit in python-pytest-flake8/repos (2 files)
Date: Saturday, October 26, 2019 @ 20:52:43 Author: felixonmars Revision: 520648 archrelease: copy trunk to community-staging-any Added: python-pytest-flake8/repos/community-staging-any/ python-pytest-flake8/repos/community-staging-any/PKGBUILD (from rev 520644, python-pytest-flake8/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: python-pytest-flake8/repos/community-staging-any/PKGBUILD (from rev 520644, python-pytest-flake8/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2019-10-26 20:52:43 UTC (rev 520648) @@ -0,0 +1,57 @@ +# Maintainer: Felix Yan + +pkgbase=python-pytest-flake8 +pkgname=('python-pytest-flake8' 'python2-pytest-flake8') +pkgver=1.0.4 +pkgrel=2 +pkgdesc='pytest plugin to check FLAKE8 requirements' +arch=('any') +license=('MIT') +url='https://github.com/tholo/pytest-flake8' +makedepends=('python-pytest' 'python2-pytest' 'flake8' 'python2-flake8') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/tholo/pytest-flake8/archive/$pkgver.tar.gz;) +sha512sums=('5955492b9dc32f7098a314d85d44a5b3b394f218d8a2b0470a70b5c3e6e6068eea5d9ddc385cd10cdf374ea44799966da8c7095f3901a10c337cfd76fe1123f1') + +prepare() { + sed -i 's/ignore = E128/ignore = E128 W605/' pytest-flake8-$pkgver/tox.ini + + cp -a pytest-flake8-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/pytest-flake8-$pkgver + python setup.py build + + cd "$srcdir"/pytest-flake8-$pkgver-py2 + python2 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.8/site-packages:$PYTHONPATH" py.test + + cd "$srcdir"/pytest-flake8-$pkgver-py2 + python2 setup.py install --root="$PWD/tmp_install" --optimize=1 + PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" py.test2 +} + +package_python-pytest-flake8() { + depends=('python-pytest' 'flake8') + + cd pytest-flake8-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-pytest-flake8() { + depends=('python2-pytest' 'python2-flake8') + + cd pytest-flake8-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et:
[arch-commits] Commit in python-pytest-flake8/repos (2 files)
Date: Sunday, July 8, 2018 @ 12:55:20 Author: felixonmars Revision: 354839 archrelease: copy trunk to community-staging-any Added: python-pytest-flake8/repos/community-staging-any/ python-pytest-flake8/repos/community-staging-any/PKGBUILD (from rev 354837, python-pytest-flake8/trunk/PKGBUILD) --+ PKGBUILD | 58 ++ 1 file changed, 58 insertions(+) Copied: python-pytest-flake8/repos/community-staging-any/PKGBUILD (from rev 354837, python-pytest-flake8/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-07-08 12:55:20 UTC (rev 354839) @@ -0,0 +1,58 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgbase=python-pytest-flake8 +pkgname=('python-pytest-flake8' 'python2-pytest-flake8') +pkgver=1.0.1 +pkgrel=2 +pkgdesc='pytest plugin to check FLAKE8 requirements' +arch=('any') +license=('MIT') +url='https://github.com/tholo/pytest-flake8' +makedepends=('python-pytest' 'python2-pytest' 'flake8' 'python2-flake8') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/tholo/pytest-flake8/archive/$pkgver.tar.gz;) +sha512sums=('a46f47493094543ee88068527c211a4fef7bf17b5a7ff39c04b3daaa46493919710266ae3e02041f9ded0191ffa7a0687a939bf8b4d647ee4d543a3b210dc994') + +prepare() { + sed -i 's/ignore = E128/ignore = E128 W605/' pytest-flake8-$pkgver/tox.ini + + cp -a pytest-flake8-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/pytest-flake8-$pkgver + python setup.py build + + cd "$srcdir"/pytest-flake8-$pkgver-py2 + python2 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.7/site-packages:$PYTHONPATH" py.test + + cd "$srcdir"/pytest-flake8-$pkgver-py2 + python2 setup.py install --root="$PWD/tmp_install" --optimize=1 + PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" py.test2 +} + +package_python-pytest-flake8() { + depends=('python-pytest' 'flake8') + + cd pytest-flake8-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-pytest-flake8() { + depends=('python2-pytest' 'python2-flake8') + + cd pytest-flake8-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et:
[arch-commits] Commit in python-pytest-flake8/repos (2 files)
Date: Saturday, December 24, 2016 @ 18:19:45 Author: felixonmars Revision: 201754 archrelease: copy trunk to community-staging-any Added: python-pytest-flake8/repos/community-staging-any/ python-pytest-flake8/repos/community-staging-any/PKGBUILD (from rev 201753, python-pytest-flake8/trunk/PKGBUILD) --+ PKGBUILD | 59 +++ 1 file changed, 59 insertions(+) Copied: python-pytest-flake8/repos/community-staging-any/PKGBUILD (from rev 201753, python-pytest-flake8/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2016-12-24 18:19:45 UTC (rev 201754) @@ -0,0 +1,59 @@ +# $Id$ +# Maintainer: Felix Yan+ +pkgbase=python-pytest-flake8 +pkgname=('python-pytest-flake8' 'python2-pytest-flake8') +pkgver=0.8.1 +pkgrel=2 +pkgdesc='pytest plugin to check FLAKE8 requirements' +arch=('any') +license=('MIT') +url='http://github.com/tholo/pytest-flake8' +makedepends=('python-pytest' 'python2-pytest' 'flake8' 'python2-flake8' 'git') +source=("git+https://github.com/tholo/pytest-flake8#tag=$pkgver;) +md5sums=('SKIP') + +prepare() { + # https://github.com/tholo/pytest-flake8/pull/14 + sed -i 's/flake8-ignore = E128/flake8-ignore = E128 E501/' pytest-flake8/tox.ini + + cp -a pytest-flake8{,-py2} +} + +build() { + cd "$srcdir"/pytest-flake8 + python setup.py build + + cd "$srcdir"/pytest-flake8-py2 + python2 setup.py build +} + +check() { + # Hack entry points by installing it + + cd "$srcdir"/pytest-flake8 + python setup.py install --root="$PWD/tmp_install" --optimize=1 + PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages:$PYTHONPATH" py.test + + cd "$srcdir"/pytest-flake8-py2 + python2 setup.py install --root="$PWD/tmp_install" --optimize=1 + PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" py.test2 +} + +package_python-pytest-flake8() { + depends=('python-pytest' 'flake8') + + cd pytest-flake8 + python setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-pytest-flake8() { + depends=('python2-pytest' 'python2-flake8') + + cd pytest-flake8-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et:
[arch-commits] Commit in python-pytest-flake8/repos (2 files)
Date: Thursday, July 21, 2016 @ 15:27:07 Author: felixonmars Revision: 183668 archrelease: copy trunk to community-any Added: python-pytest-flake8/repos/community-any/ python-pytest-flake8/repos/community-any/PKGBUILD (from rev 183667, python-pytest-flake8/trunk/PKGBUILD) --+ PKGBUILD | 56 1 file changed, 56 insertions(+) Copied: python-pytest-flake8/repos/community-any/PKGBUILD (from rev 183667, python-pytest-flake8/trunk/PKGBUILD) === --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2016-07-21 15:27:07 UTC (rev 183668) @@ -0,0 +1,56 @@ +# $Id$ +# Maintainer: Felix Yan+ +pkgbase=python-pytest-flake8 +pkgname=('python-pytest-flake8' 'python2-pytest-flake8') +pkgver=0.5 +pkgrel=1 +pkgdesc='pytest plugin to check FLAKE8 requirements' +arch=('any') +license=('MIT') +url='http://github.com/tholo/pytest-flake8' +makedepends=('python-pytest' 'python2-pytest' 'flake8' 'python2-flake8' 'git') +source=("git+https://github.com/tholo/pytest-flake8#tag=$pkgver;) +md5sums=('SKIP') + +prepare() { + cp -a pytest-flake8{,-py2} +} + +build() { + cd "$srcdir"/pytest-flake8 + python setup.py build + + cd "$srcdir"/pytest-flake8-py2 + python2 setup.py build +} + +check() { + # Hack entry points by installing it + + cd "$srcdir"/pytest-flake8 + python setup.py install --root="$PWD/tmp_install" --optimize=1 + PYTHONPATH="$PWD/tmp_install/usr/lib/python3.5/site-packages:$PYTHONPATH" py.test + + cd "$srcdir"/pytest-flake8-py2 + python2 setup.py install --root="$PWD/tmp_install" --optimize=1 + PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" py.test2 +} + +package_python-pytest-flake8() { + depends=('python-pytest' 'flake8') + + cd pytest-flake8 + python setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-pytest-flake8() { + depends=('python2-pytest' 'python2-flake8') + + cd pytest-flake8-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et: