Date: Wednesday, October 20, 2021 @ 07:34:38
Author: jelle
Revision: 1031303
archrelease: copy trunk to community-testing-any
Added:
python-pyflakes/repos/community-testing-any/
python-pyflakes/repos/community-testing-any/PKGBUILD
(from rev 1031302, python-pyflakes/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: python-pyflakes/repos/community-testing-any/PKGBUILD (from rev 1031302,
python-pyflakes/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2021-10-20 07:34:38 UTC (rev 1031303)
@@ -0,0 +1,38 @@
+# 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=2.4.0
+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-setuptools')
+makedepends=('python-setuptools')
+source=("https://pypi.io/packages/source/p/pyflakes/pyflakes-$pkgver.tar.gz")
+sha512sums=('f4c6512eb811511c897623f52c4f88e50275a3292582d7dd34462e90e39fecce939818cb92e750eebdd66eab25b91c23540104fc4530c42621d7cfeb1d33c577')
+
+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"
+}