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

Felix Yan felixonmars at archlinux.org
Fri Apr 16 23:37:29 UTC 2021


    Date: Friday, April 16, 2021 @ 23:37:28
  Author: felixonmars
Revision: 919580

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-16 23:37:12 UTC (rev 919579)
+++ PKGBUILD	2021-04-16 23:37:28 UTC (rev 919580)
@@ -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=3.9.0
-pkgrel=1
-epoch=1
-pkgdesc="The modular source code checker: pep8, pyflakes and co"
-arch=('any')
-url="http://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=('3d9853bbc33d5e0108dafc3ce51ab29587fb307627efe7dbd0771e01230c560e65e45c30fe8e96a5c9d3495318b794a90c436bcab3796bc6fda5defe3136c31b')
-
-prepare() {
-  sed -i -e 's/, *< *[0-9=.]*//' flake8-$pkgver/setup.py
-
-  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.9/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 919579, flake8/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-04-16 23:37:28 UTC (rev 919580)
@@ -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=3.9.1
+pkgrel=1
+epoch=1
+pkgdesc="The modular source code checker: pep8, pyflakes and co"
+arch=('any')
+url="http://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=('2ec9ffc0c28539a5df288e0e38098e2dc1f5339bcace3769212332e011955689671e34a91123be1b8b0e7b902997262b64de5d2ed248fdb153651bf75218204f')
+
+prepare() {
+  sed -i -e 's/, *< *[0-9=.]*//' flake8-$pkgver/setup.py
+
+  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.9/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