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

Felix Yan felixonmars at archlinux.org
Thu Jan 24 10:34:22 UTC 2019


    Date: Thursday, January 24, 2019 @ 10:34:20
  Author: felixonmars
Revision: 427478

archrelease: copy trunk to community-any

Added:
  python-pyflakes/repos/community-any/PKGBUILD
    (from rev 427477, python-pyflakes/trunk/PKGBUILD)
Deleted:
  python-pyflakes/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  123 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 61 insertions(+), 62 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-24 10:34:01 UTC (rev 427477)
+++ PKGBUILD	2019-01-24 10:34:20 UTC (rev 427478)
@@ -1,62 +0,0 @@
-# $Id$
-# 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.0.0
-pkgrel=2
-pkgdesc='A lint-like tool for Python to identify common errors quickly without executing code'
-arch=('any')
-url='http://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=('4961ebb8372f51783416681e79342d6be94318ecd007190e5c27f46c48f8f163c7a5f49cbe3025789ff1d9cd37c465b2f3baa219059779163545f9828a766f71')
-
-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-any/PKGBUILD (from rev 427477, python-pyflakes/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-24 10:34:20 UTC (rev 427478)
@@ -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.0
+pkgrel=1
+pkgdesc='A lint-like tool for Python to identify common errors quickly without executing code'
+arch=('any')
+url='http://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=('4212ac3d0c08c9db96d16dfe41ac39b4f3bc1f51bd9a7af07a7a69101a9a6a01db398656068c2729f716cb93b584d88adc2a66659a94388196d9c91a4c7948a2')
+
+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