Date: Tuesday, October 18, 2016 @ 14:53:51
  Author: felixonmars
Revision: 192517

archrelease: copy trunk to community-any

Added:
  python-pytest-flake8/repos/community-any/PKGBUILD
    (from rev 192516, python-pytest-flake8/trunk/PKGBUILD)
Deleted:
  python-pytest-flake8/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  118 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2016-10-18 14:53:34 UTC (rev 192516)
+++ PKGBUILD    2016-10-18 14:53:51 UTC (rev 192517)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonm...@archlinux.org>
-
-pkgbase=python-pytest-flake8
-pkgname=('python-pytest-flake8' 'python2-pytest-flake8')
-pkgver=0.7
-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() {
-  # 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.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:

Copied: python-pytest-flake8/repos/community-any/PKGBUILD (from rev 192516, 
python-pytest-flake8/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2016-10-18 14:53:51 UTC (rev 192517)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+
+pkgbase=python-pytest-flake8
+pkgname=('python-pytest-flake8' 'python2-pytest-flake8')
+pkgver=0.8.1
+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() {
+  # 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.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:

Reply via email to