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

Felix Yan fyan at archlinux.org
Wed Jun 17 15:42:04 UTC 2015


    Date: Wednesday, June 17, 2015 @ 17:42:02
  Author: fyan
Revision: 135526

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  130 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 65 insertions(+), 65 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-06-17 15:41:49 UTC (rev 135525)
+++ PKGBUILD	2015-06-17 15:42:02 UTC (rev 135526)
@@ -1,65 +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)
-_reponame=pyflakes
-pkgver=0.9.1
-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=("http://pypi.python.org/packages/source/p/pyflakes/${_reponame}-${pkgver}.tar.gz")
-sha1sums=('f6c68e7183f0d39af60583c435515b3b18094a37')
-
-prepare() {
-  cp -a "${_reponame}-${pkgver}"{,-py2}
-}
-
-build() {
-  cd "$srcdir/${_reponame}-${pkgver}"
-  python setup.py build
-
-  cd "$srcdir/${_reponame}-${pkgver}-py2"
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir/${_reponame}-${pkgver}"
-  python setup.py test
-
-  cd "$srcdir/${_reponame}-${pkgver}-py2"
-  python2 setup.py test
-}
-
-package_python-pyflakes() {
-  depends=('python-setuptools')
-
-  cd "${_reponame}-${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 "${_reponame}-${pkgver}-py2"
-
-  python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
-
-  mv "${pkgdir}/usr/bin/pyflakes" "${pkgdir}/usr/bin/pyflakes-python2"
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: python-pyflakes/repos/community-any/PKGBUILD (from rev 135525, python-pyflakes/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-06-17 15:42:02 UTC (rev 135526)
@@ -0,0 +1,65 @@
+# $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)
+_reponame=pyflakes
+pkgver=0.9.2
+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=("http://pypi.python.org/packages/source/p/pyflakes/${_reponame}-${pkgver}.tar.gz")
+sha1sums=('522b7f7fa5967360e388d0ba72d8c7597785bfd0')
+
+prepare() {
+  cp -a "${_reponame}-${pkgver}"{,-py2}
+}
+
+build() {
+  cd "$srcdir/${_reponame}-${pkgver}"
+  python setup.py build
+
+  cd "$srcdir/${_reponame}-${pkgver}-py2"
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir/${_reponame}-${pkgver}"
+  python setup.py test
+
+  cd "$srcdir/${_reponame}-${pkgver}-py2"
+  python2 setup.py test
+}
+
+package_python-pyflakes() {
+  depends=('python-setuptools')
+
+  cd "${_reponame}-${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 "${_reponame}-${pkgver}-py2"
+
+  python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+
+  mv "${pkgdir}/usr/bin/pyflakes" "${pkgdir}/usr/bin/pyflakes-python2"
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list