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

Felix Yan fyan at archlinux.org
Sun Jan 31 08:26:14 UTC 2016


    Date: Sunday, January 31, 2016 @ 09:26:13
  Author: fyan
Revision: 159676

archrelease: copy trunk to community-any

Added:
  flake8/repos/community-any/PKGBUILD
    (from rev 159675, flake8/trunk/PKGBUILD)
Deleted:
  flake8/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-01-31 08:25:58 UTC (rev 159675)
+++ PKGBUILD	2016-01-31 08:26:13 UTC (rev 159676)
@@ -1,69 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Karol "Kenji Takahashi" Woźniak <kenji.sx>
-# Contributor: spider-mario <spidermario at free.fr>
-# Contributor: Allen Li <darkfeline at abagofapples.com>
-
-pkgbase=flake8
-pkgname=(flake8 python2-flake8)
-pkgver=2.5.1
-pkgrel=1
-epoch=1
-pkgdesc="The modular source code checker: pep8, pyflakes and co"
-arch=('any')
-url="http://bitbucket.org/tarek/flake8"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pyflakes' 'python2-pyflakes'
-             'pep8' 'python2-pep8' 'python-mccabe' 'python2-mccabe')
-checkdepends=('python-nose' 'python2-nose' 'python2-mock')
-source=("https://pypi.python.org/packages/source/f/${pkgbase}/${pkgbase}-${pkgver}.tar.gz")
-md5sums=('2704676fd2d39c7441a09ad69f3296b3')
-
-prepare() {
-  # We have patched pep8 to fix the problem, allowing 1.6.2)
-  sed -e 's/pep8 >= 1.5.7, != 1.6.0, != 1.6.1, != 1.6.2/pep8 >= 1.5.7, != 1.6.0, != 1.6.1/' \
-      -i $pkgbase-$pkgver/setup.py
-
-  cp -a ${pkgbase}-${pkgver}{,-py2}
-}
-
-build() {
-  cd "${srcdir}/${pkgbase}-${pkgver}"
-  python setup.py build
-
-  cd "${srcdir}/${pkgbase}-${pkgver}-py2"
-  python2 setup.py build
-}
-
-check() {
-  cd "${srcdir}/${pkgbase}-${pkgver}"
-  python setup.py test
-
-  cd "${srcdir}/${pkgbase}-${pkgver}-py2"
-  python2 setup.py test
-}
-
-package_flake8() {
-  depends=('python-pyflakes' 'python-mccabe' 'pep8')
-  provides=('flake8-python3')
-  replaces=('flake8-python3')
-  conflicts=('flake8-python3')
-
-  cd "${srcdir}/${pkgbase}-${pkgver}"
-  python setup.py install --root="${pkgdir}/" --prefix=/usr --optimize=1
-  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-flake8() {
-  depends=('python2-pyflakes' 'python2-mccabe' 'python2-pep8')
-  provides=('flake8-python2')
-  replaces=('flake8-python2')
-  conflicts=('flake8-python2')
-
-  cd "${srcdir}/${pkgbase}-${pkgver}-py2"
-  python2 setup.py install --root="${pkgdir}/" --prefix=/usr --optimize=1
-  mv "${pkgdir}/usr/bin/flake8" "${pkgdir}/usr/bin/flake8-python2"
-  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: flake8/repos/community-any/PKGBUILD (from rev 159675, flake8/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-01-31 08:26:13 UTC (rev 159676)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Karol "Kenji Takahashi" Woźniak <kenji.sx>
+# Contributor: spider-mario <spidermario at free.fr>
+# Contributor: Allen Li <darkfeline at abagofapples.com>
+
+pkgbase=flake8
+pkgname=(flake8 python2-flake8)
+pkgver=2.5.2
+pkgrel=1
+epoch=1
+pkgdesc="The modular source code checker: pep8, pyflakes and co"
+arch=('any')
+url="http://bitbucket.org/tarek/flake8"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pyflakes' 'python2-pyflakes'
+             'pep8' 'python2-pep8' 'python-mccabe' 'python2-mccabe')
+checkdepends=('python-nose' 'python2-nose' 'python2-mock')
+source=("https://pypi.python.org/packages/source/f/${pkgbase}/${pkgbase}-${pkgver}.tar.gz")
+md5sums=('497dd932bc1ab84d3e20f48bb7f242f6')
+
+prepare() {
+  cp -a ${pkgbase}-${pkgver}{,-py2}
+}
+
+build() {
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  python setup.py build
+
+  cd "${srcdir}/${pkgbase}-${pkgver}-py2"
+  python2 setup.py build
+}
+
+check() {
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  python setup.py test
+
+  cd "${srcdir}/${pkgbase}-${pkgver}-py2"
+  python2 setup.py test
+}
+
+package_flake8() {
+  depends=('python-pyflakes' 'python-mccabe' 'pep8')
+  provides=('flake8-python3')
+  replaces=('flake8-python3')
+  conflicts=('flake8-python3')
+
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  python setup.py install --root="${pkgdir}/" --prefix=/usr --optimize=1
+  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-flake8() {
+  depends=('python2-pyflakes' 'python2-mccabe' 'python2-pep8')
+  provides=('flake8-python2')
+  replaces=('flake8-python2')
+  conflicts=('flake8-python2')
+
+  cd "${srcdir}/${pkgbase}-${pkgver}-py2"
+  python2 setup.py install --root="${pkgdir}/" --prefix=/usr --optimize=1
+  mv "${pkgdir}/usr/bin/flake8" "${pkgdir}/usr/bin/flake8-python2"
+  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list