[arch-commits] Commit in python-pytest-flake8/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon Jan 14 07:37:13 UTC 2019


    Date: Monday, January 14, 2019 @ 07:37:11
  Author: felixonmars
Revision: 423051

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  115 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 57 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-14 07:36:52 UTC (rev 423050)
+++ PKGBUILD	2019-01-14 07:37:11 UTC (rev 423051)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pytest-flake8
-pkgname=('python-pytest-flake8' 'python2-pytest-flake8')
-pkgver=1.0.2
-pkgrel=1
-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=('fec31ba44a9915007b5629c82636d522cd9184739699e963c6cae27fbb9ddf55e1853c922abd2e2259e02074920ef2c67ae80d6a93bff8187082fa8584daea60')
-
-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:

Copied: python-pytest-flake8/repos/community-any/PKGBUILD (from rev 423050, python-pytest-flake8/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-14 07:37:11 UTC (rev 423051)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pytest-flake8
+pkgname=('python-pytest-flake8' 'python2-pytest-flake8')
+pkgver=1.0.3
+pkgrel=1
+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=('c17b9d3b635c61e61242abb7cdb457fd6906c4a7c1d2ece9ea625cfe4d0675caabff366511b4114e6afc1742b7ccf9d8d56658fe69b28b819a42d1af183cbe87')
+
+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:


More information about the arch-commits mailing list