[arch-commits] Commit in python-pytest-flake8/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Jul 30 21:49:27 UTC 2022
Date: Saturday, July 30, 2022 @ 21:49:27
Author: arojas
Revision: 1259224
archrelease: copy trunk to community-any
Added:
python-pytest-flake8/repos/community-any/PKGBUILD
(from rev 1259223, python-pytest-flake8/trunk/PKGBUILD)
Deleted:
python-pytest-flake8/repos/community-any/PKGBUILD
----------+
PKGBUILD | 79 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 38 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-30 21:49:17 UTC (rev 1259223)
+++ PKGBUILD 2022-07-30 21:49:27 UTC (rev 1259224)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-flake8
-pkgver=1.0.7
-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"
- $pkgname-python310.patch::https://github.com/tholo/pytest-flake8/pull/82.patch)
-sha512sums=('c71d08eefcafe5503a660d8495c3520a9ae26ba701095c13111b33dc420fed03a2cbffa889eef08488ab5254ed001fd43b3a4757ffa2011cc3b4bd80d078f3c1'
- '7b7e5793216ac2aef35ce96122b99ce63f4e2acbdf9ae5a6d8f5719cafa1e725ac3afa5d1421c106bc1ce3f6d2d6794ff2c98c67204194e4651fc170c52670f1')
-
-prepare() {
- cd pytest-flake8-$pkgver
- patch -Np1 -i ../$pkgname-python310.patch
- sed -i 's/ignore = E128/ignore = E128 W605/' 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.10/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 1259223, python-pytest-flake8/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-07-30 21:49:27 UTC (rev 1259224)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-flake8
+pkgver=1.1.1
+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=('7ad9b6da1fdb9f9ac8720820589d1a213b1c1bda8c2579d988d288031fb717916c81d100488200a4d64b880575041f34387c20685416ed789ced51063e814e13')
+
+prepare() {
+ cd pytest-flake8-$pkgver
+ sed -i 's/ignore = E128/ignore = E128 W605/' 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.10/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:
More information about the arch-commits
mailing list