Date: Thursday, December 15, 2022 @ 06:30:58
Author: polyzen
Revision: 1359196
archrelease: copy trunk to community-any
Added:
python-pyflakes/repos/community-any/PKGBUILD
(from rev 1359195, python-pyflakes/trunk/PKGBUILD)
Deleted:
python-pyflakes/repos/community-any/PKGBUILD
----------+
PKGBUILD | 77 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-12-15 06:30:35 UTC (rev 1359195)
+++ PKGBUILD 2022-12-15 06:30:58 UTC (rev 1359196)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-# Contributor: Karol 'Kenji Takahashi' Woźniak <kenji.sx>
-# Contributor: Tianjiao Yin <[email protected]>
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-# Contributor: TDY <[email protected]>
-# Contributor: Tiago Pierezan Camargo <[email protected]>
-
-pkgname=python-pyflakes
-pkgver=3.0.1
-pkgrel=1
-pkgdesc='A lint-like tool for Python to identify common errors quickly without
executing code'
-arch=('any')
-url='https://pypi.python.org/pypi/pyflakes'
-license=('MIT')
-depends=('python')
-makedepends=('python-setuptools')
-source=("https://pypi.io/packages/source/p/pyflakes/pyflakes-$pkgver.tar.gz")
-sha512sums=('10ffe2b92f3885d40578452423a93609f8546b2392997bdbc3f64ca0094516ce6b8449e5d3675bda5fdbc16190c89be23609559fc4cd4f1c97e6af032226d7b7')
-
-build() {
- cd "$srcdir"/pyflakes-$pkgver
- python setup.py build
-}
-
-check() {
- cd "$srcdir"/pyflakes-$pkgver
- python setup.py test
-}
-
-package() {
- cd pyflakes-$pkgver
- python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-
- # We have python 3 as default python, and want to keep compatibility with
the old pyflakes3k naming
- ln -s pyflakes "$pkgdir/usr/bin/pyflakes3k"
-
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: python-pyflakes/repos/community-any/PKGBUILD (from rev 1359195,
python-pyflakes/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-12-15 06:30:58 UTC (rev 1359196)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <[email protected]>
+# Maintainer: Daniel M. Capella <[email protected]>
+# Contributor: Karol 'Kenji Takahashi' Woźniak <kenji.sx>
+# Contributor: Tianjiao Yin <[email protected]>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: TDY <[email protected]>
+# Contributor: Tiago Pierezan Camargo <[email protected]>
+
+pkgname=python-pyflakes
+pkgver=3.0.1
+pkgrel=2
+pkgdesc='A lint-like tool for Python to identify common errors quickly without
executing code'
+arch=('any')
+url='https://pypi.python.org/pypi/pyflakes'
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://pypi.io/packages/source/p/pyflakes/pyflakes-$pkgver.tar.gz")
+sha512sums=('10ffe2b92f3885d40578452423a93609f8546b2392997bdbc3f64ca0094516ce6b8449e5d3675bda5fdbc16190c89be23609559fc4cd4f1c97e6af032226d7b7')
+
+build() {
+ cd pyflakes-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd pyflakes-$pkgver
+ python -m unittest discover pyflakes
+}
+
+package() {
+ cd pyflakes-$pkgver
+ python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+
+ # We have python 3 as default python, and want to keep compatibility with
the old pyflakes3k naming
+ ln -s pyflakes "$pkgdir/usr/bin/pyflakes3k"
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}