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

Felix Yan felixonmars at gemini.archlinux.org
Mon Aug 29 20:21:35 UTC 2022


    Date: Monday, August 29, 2022 @ 20:21:34
  Author: felixonmars
Revision: 1285853

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   90 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-29 20:21:21 UTC (rev 1285852)
+++ PKGBUILD	2022-08-29 20:21:34 UTC (rev 1285853)
@@ -1,45 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Karol "Kenji Takahashi" Woźniak <kenji.sx>
-# Contributor: spider-mario <spidermario at free.fr>
-# Contributor: Allen Li <darkfeline at abagofapples.com>
-
-pkgname=flake8
-pkgver=4.0.1
-pkgrel=5
-epoch=1
-pkgdesc="The modular source code checker: pep8, pyflakes and co"
-arch=('any')
-url="https://flake8.pycqa.org"
-license=('MIT')
-depends=('python-pyflakes' 'python-mccabe' 'python-pycodestyle' 'python-entrypoints')
-makedepends=('python-setuptools')
-checkdepends=('python-mock' 'python-pytest')
-source=("https://github.com/PyCQA/flake8/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('6a3749b6c23bc2417351829340ec212c3305bd6a740cb77d4309296031abaa150ccff64b456e847540eb05cf635ed65025d4835d8663af6c8903491034998313')
-
-prepare() {
-  sed -i -e 's/,<[0-9=.]*//' flake8-$pkgver/setup.cfg
-
-  sed -i '/error/a \    ignore:Creating a LegacyVersion has been deprecated and will be removed in the next major release:DeprecationWarning' flake8-$pkgver/pytest.ini
-}
-
-build() {
-  cd flake8-$pkgver
-  python setup.py build
-}
-
-check() {
-  # Hack entry points by installing it
-
-  cd flake8-$pkgver
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" pytest
-}
-
-package() {
-  cd flake8-$pkgver
-  python setup.py install --root="$pkgdir" --prefix=/usr --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: flake8/repos/community-any/PKGBUILD (from rev 1285852, flake8/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-29 20:21:34 UTC (rev 1285853)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Karol "Kenji Takahashi" Woźniak <kenji.sx>
+# Contributor: spider-mario <spidermario at free.fr>
+# Contributor: Allen Li <darkfeline at abagofapples.com>
+
+pkgname=flake8
+pkgver=5.0.0
+pkgrel=1
+epoch=1
+pkgdesc="The modular source code checker: pep8, pyflakes and co"
+arch=('any')
+url="https://flake8.pycqa.org"
+license=('MIT')
+depends=('python-pyflakes' 'python-mccabe' 'python-pycodestyle' 'python-entrypoints')
+makedepends=('python-setuptools')
+checkdepends=('python-mock' 'python-pytest')
+source=("https://github.com/PyCQA/flake8/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('3c027512bfd3b2e695ab8bb0387b1dff0d27b0158a864b49079b8910abed3234745552d4d60827954a0199fa07ff696a44551ac4df9068903c15a47e93f03d0f')
+
+prepare() {
+  sed -i -e 's/,<[0-9=.]*//' flake8-$pkgver/setup.cfg
+
+  sed -i '/error/a \    ignore:Creating a LegacyVersion has been deprecated and will be removed in the next major release:DeprecationWarning' flake8-$pkgver/pytest.ini
+}
+
+build() {
+  cd flake8-$pkgver
+  python setup.py build
+}
+
+check() {
+  # Hack entry points by installing it
+
+  cd flake8-$pkgver
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" pytest
+}
+
+package() {
+  cd flake8-$pkgver
+  python setup.py install --root="$pkgdir" --prefix=/usr --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