[arch-commits] Commit in pylint/repos/testing-any (PKGBUILD PKGBUILD)

Ángel Velásquez angvp at nymeria.archlinux.org
Tue Aug 20 18:47:38 UTC 2013


    Date: Tuesday, August 20, 2013 @ 20:47:38
  Author: angvp
Revision: 193462

archrelease: copy trunk to testing-any

Added:
  pylint/repos/testing-any/PKGBUILD
    (from rev 193461, pylint/trunk/PKGBUILD)
Deleted:
  pylint/repos/testing-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-08-20 18:46:40 UTC (rev 193461)
+++ PKGBUILD	2013-08-20 18:47:38 UTC (rev 193462)
@@ -1,61 +0,0 @@
-# $Id$
-# Maintainer: Angel Velasquez <angvp at archlinux.org>  
-# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
-# Contributor: Alexander Fehr <pizzapunk gmail com>
-
-pkgbase=pylint
-pkgname=('python2-pylint' 'python-pylint')
-pkgver=1.0.0
-pkgrel=1
-pkgdesc="Analyzes Python code looking for bugs and signs of poor quality"
-arch=('any')
-url="http://www.logilab.org/project/pylint"
-license=('GPL')
-makedepends=('python2-logilab-astng' 'python-logilab-astng') 
-optdepends=('tk: Pylint GUI')
-conflicts=('pylint<=0.26.0-2')
-source=(http://pypi.python.org/packages/source/p/{$pkgbase}/${pkgbase}-${pkgver}.tar.gz)
-sha1sums=('307636004ff1c8d70982052b74d5e7b126d69167')
-
-build() {
-  cd "${srcdir}"
-  cp -a ${pkgbase}-${pkgver}{,-py3}
-
-  cd ${pkgbase}-${pkgver}
-
-  sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py
-  python2 setup.py build
-
-  cd ../${pkgbase}-${pkgver}-py3
-
-  sed -i "s|/usr/bin/env python|/usr/bin/env python3|" epylint.py
-  python3 setup.py build
-}
-
-package_python2-pylint() {
-  replaces=('pylint<=0.26.0-2')
-  depends=('python2-logilab-astng' 'python2-setuptools')
-
-  cd "${srcdir}"/${pkgbase}-${pkgver}
-
-  python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
-
-  install -d "${pkgdir}"/usr/share/man/man1
-  install -m644 man/* "${pkgdir}/usr/share/man/man1"
-
-  for i in epylint pylint pylint-gui pyreverse symilar; do
-     mv "${pkgdir}"/usr/bin/${i}{,2}
-     mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1
-  done
-}
-
-package_python-pylint() {
-  depends=('python-logilab-astng' 'python-setuptools')
-
-  cd "${srcdir}"/${pkgbase}-${pkgver}-py3
-
-  python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
-
-  install -d "${pkgdir}/usr/share/man/man1"
-  install -m644 man/* "${pkgdir}/usr/share/man/man1"
-}

Copied: pylint/repos/testing-any/PKGBUILD (from rev 193461, pylint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-08-20 18:47:38 UTC (rev 193462)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp at archlinux.org>  
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+
+pkgbase=pylint
+pkgname=('python2-pylint' 'python-pylint')
+pkgver=1.0.0
+pkgrel=2
+pkgdesc="Analyzes Python code looking for bugs and signs of poor quality"
+arch=('any')
+url="http://www.logilab.org/project/pylint"
+license=('GPL')
+makedepends=('python2-logilab-astng' 'python-logilab-astng') 
+optdepends=('tk: Pylint GUI')
+conflicts=('pylint<=0.26.0-2')
+source=(http://pypi.python.org/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.tar.gz)
+sha1sums=('307636004ff1c8d70982052b74d5e7b126d69167')
+
+build() {
+  cd "${srcdir}"
+  cp -a ${pkgbase}-${pkgver}{,-py3}
+
+  cd ${pkgbase}-${pkgver}
+
+  sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py
+  python2 setup.py build
+
+  cd ../${pkgbase}-${pkgver}-py3
+
+  sed -i "s|/usr/bin/env python|/usr/bin/env python3|" epylint.py
+  python3 setup.py build
+}
+
+package_python2-pylint() {
+  replaces=('pylint<=0.26.0-2')
+  depends=('python2-logilab-astng' 'python2-setuptools')
+
+  cd "${srcdir}"/${pkgbase}-${pkgver}
+
+  python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+
+  install -d "${pkgdir}"/usr/share/man/man1
+  install -m644 man/* "${pkgdir}/usr/share/man/man1"
+
+  for i in epylint pylint pylint-gui pyreverse symilar; do
+     mv "${pkgdir}"/usr/bin/${i}{,2}
+     mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1
+  done
+}
+
+package_python-pylint() {
+  depends=('python-logilab-astng' 'python-setuptools')
+
+  cd "${srcdir}"/${pkgbase}-${pkgver}-py3
+
+  python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+
+  install -d "${pkgdir}/usr/share/man/man1"
+  install -m644 man/* "${pkgdir}/usr/share/man/man1"
+}




More information about the arch-commits mailing list