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

Felix Yan fyan at archlinux.org
Sat Feb 21 06:32:47 UTC 2015


    Date: Saturday, February 21, 2015 @ 07:32:47
  Author: fyan
Revision: 128060

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-21 06:32:27 UTC (rev 128059)
+++ PKGBUILD	2015-02-21 06:32:47 UTC (rev 128060)
@@ -1,65 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-# 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.8.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=('d44dc00c271b825b64c270a867c0c9327886e857')
-
-prepare() {
-  cp -r "${_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')
-
-  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')
-
-  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 128059, python-pyflakes/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-02-21 06:32:47 UTC (rev 128060)
@@ -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.8.1
+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=("http://pypi.python.org/packages/source/p/pyflakes/${_reponame}-${pkgver}.tar.gz")
+sha1sums=('d44dc00c271b825b64c270a867c0c9327886e857')
+
+prepare() {
+  cp -r "${_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