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

Felix Yan felixonmars at archlinux.org
Mon Nov 4 01:58:26 UTC 2019


    Date: Monday, November 4, 2019 @ 01:58:25
  Author: felixonmars
Revision: 522945

archrelease: copy trunk to community-staging-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-04 01:58:09 UTC (rev 522944)
+++ PKGBUILD	2019-11-04 01:58:25 UTC (rev 522945)
@@ -1,57 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-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:

Copied: python-pytest-flake8/repos/community-staging-any/PKGBUILD (from rev 522944, python-pytest-flake8/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-04 01:58:25 UTC (rev 522945)
@@ -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.4
+pkgrel=3
+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:



More information about the arch-commits mailing list