[arch-commits] Commit in python-pyflakes/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Oct 31 16:40:54 UTC 2019
Date: Thursday, October 31, 2019 @ 16:40:53
Author: foutrelis
Revision: 521126
archrelease: copy trunk to community-staging-any
Added:
python-pyflakes/repos/community-staging-any/PKGBUILD
(from rev 521125, python-pyflakes/trunk/PKGBUILD)
Deleted:
python-pyflakes/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 122 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 61 insertions(+), 61 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 16:40:50 UTC (rev 521125)
+++ PKGBUILD 2019-10-31 16:40:53 UTC (rev 521126)
@@ -1,61 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Karol 'Kenji Takahashi' Woźniak <kenji.sx>
-# Contributor: Tianjiao Yin <ytj000+AUR at gmail.com>
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-# Contributor: TDY <tdy at gmx.com>
-# Contributor: Tiago Pierezan Camargo <tcamargo at gmail.com>
-
-pkgbase=python-pyflakes
-pkgname=(python-pyflakes python2-pyflakes)
-pkgver=2.1.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')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://pypi.io/packages/source/p/pyflakes/pyflakes-$pkgver.tar.gz")
-sha512sums=('7ebf5843b38146305c1063e070480fea8ec3b47fa1be546b1fafaeb242a688a5a001f978e7257fd71d5905b9a338b466ef17c7330725191587e9c40ba632c3f8')
-
-prepare() {
- cp -a "pyflakes-$pkgver"{,-py2}
-}
-
-build() {
- cd "$srcdir"/pyflakes-$pkgver
- python setup.py build
-
- cd "$srcdir"/pyflakes-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/pyflakes-$pkgver
- python setup.py test
-
- cd "$srcdir"/pyflakes-$pkgver-py2
- python2 setup.py test
-}
-
-package_python-pyflakes() {
- depends=('python-setuptools')
-
- 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"
-}
-
-package_python2-pyflakes() {
- depends=('python2-setuptools')
-
- cd pyflakes-$pkgver-py2
- python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-
- mv "$pkgdir"/usr/bin/pyflakes{,-python2}
-
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-pyflakes/repos/community-staging-any/PKGBUILD (from rev 521125, python-pyflakes/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 16:40:53 UTC (rev 521126)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Karol 'Kenji Takahashi' Woźniak <kenji.sx>
+# Contributor: Tianjiao Yin <ytj000+AUR at gmail.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: TDY <tdy at gmx.com>
+# Contributor: Tiago Pierezan Camargo <tcamargo at gmail.com>
+
+pkgbase=python-pyflakes
+pkgname=(python-pyflakes python2-pyflakes)
+pkgver=2.1.1
+pkgrel=3
+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')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://pypi.io/packages/source/p/pyflakes/pyflakes-$pkgver.tar.gz")
+sha512sums=('7ebf5843b38146305c1063e070480fea8ec3b47fa1be546b1fafaeb242a688a5a001f978e7257fd71d5905b9a338b466ef17c7330725191587e9c40ba632c3f8')
+
+prepare() {
+ cp -a "pyflakes-$pkgver"{,-py2}
+}
+
+build() {
+ cd "$srcdir"/pyflakes-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/pyflakes-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/pyflakes-$pkgver
+ python setup.py test
+
+ cd "$srcdir"/pyflakes-$pkgver-py2
+ python2 setup.py test
+}
+
+package_python-pyflakes() {
+ depends=('python-setuptools')
+
+ 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"
+}
+
+package_python2-pyflakes() {
+ depends=('python2-setuptools')
+
+ cd pyflakes-$pkgver-py2
+ python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+
+ mv "$pkgdir"/usr/bin/pyflakes{,-python2}
+
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list