[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Sat Jul 26 09:10:20 UTC 2014
Date: Saturday, July 26, 2014 @ 11:10:20
Author: fyan
Revision: 218193
archrelease: copy trunk to extra-any
Added:
pylint/repos/extra-any/PKGBUILD
(from rev 218192, pylint/trunk/PKGBUILD)
Deleted:
pylint/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 150 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 75 insertions(+), 75 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-07-26 09:10:04 UTC (rev 218192)
+++ PKGBUILD 2014-07-26 09:10:20 UTC (rev 218193)
@@ -1,75 +0,0 @@
-# $Id$
-# Maintainer: Angel Velasquez <angvp at archlinux.org>
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
-# Contributor: Alexander Fehr <pizzapunk gmail com>
-
-pkgbase=pylint
-pkgname=('python2-pylint' 'python-pylint')
-pkgver=1.2.1
-pkgrel=1
-pkgdesc="Analyzes Python code looking for bugs and signs of poor quality"
-arch=('any')
-url="http://pylint.org"
-license=('GPL')
-makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools')
-checkdepends=('python-pytest' 'python2-pytest')
-optdepends=('tk: Pylint GUI')
-source=(http://pypi.python.org/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.tar.gz)
-sha1sums=('6a98e9ee4e3b16d2dcd87d5c9af3bde937b473f4')
-
-prepare() {
- cp -a ${pkgbase}-${pkgver}{,-py3}
-
- cd ${pkgbase}-${pkgver}
- sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py __main__.py test/input/noext
-
- cd ../${pkgbase}-${pkgver}-py3
- sed -i "s|/usr/bin/env python|/usr/bin/env python3|" epylint.py __main__.py test/input/noext
-}
-
-build() {
- cd ${pkgbase}-${pkgver}
- python2 setup.py build
-
- cd ../${pkgbase}-${pkgver}-py3
- python3 setup.py build
-}
-
-check() {
- # doesn't run this way
-
- cd ${pkgbase}-${pkgver}
- #pytest2
-
- cd ../${pkgbase}-${pkgver}-py3
- #pytest
-}
-
-package_python2-pylint() {
- depends=('python2-astroid' 'python2-setuptools')
-
- cd ${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-astroid' 'python-setuptools')
-
- cd ${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/extra-any/PKGBUILD (from rev 218192, pylint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-07-26 09:10:20 UTC (rev 218193)
@@ -0,0 +1,75 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+
+pkgbase=pylint
+pkgname=('python2-pylint' 'python-pylint')
+pkgver=1.3.0
+pkgrel=1
+pkgdesc="Analyzes Python code looking for bugs and signs of poor quality"
+arch=('any')
+url="http://pylint.org"
+license=('GPL')
+makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools')
+checkdepends=('python-pytest' 'python2-pytest')
+optdepends=('tk: Pylint GUI')
+source=("http://pypi.python.org/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.zip")
+sha1sums=('f2be4efd219ba520e6a8fb208478e1beb0393c7e')
+
+prepare() {
+ cp -a ${pkgbase}-${pkgver}{,-py3}
+
+ cd ${pkgbase}-${pkgver}
+ sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py __main__.py test/input/noext
+
+ cd ../${pkgbase}-${pkgver}-py3
+ sed -i "s|/usr/bin/env python|/usr/bin/env python3|" epylint.py __main__.py test/input/noext
+}
+
+build() {
+ cd ${pkgbase}-${pkgver}
+ python2 setup.py build
+
+ cd ../${pkgbase}-${pkgver}-py3
+ python3 setup.py build
+}
+
+check() {
+ # doesn't run this way
+
+ cd ${pkgbase}-${pkgver}
+ #pytest2
+
+ cd ../${pkgbase}-${pkgver}-py3
+ #pytest
+}
+
+package_python2-pylint() {
+ depends=('python2-astroid' 'python2-setuptools')
+
+ cd ${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-astroid' 'python-setuptools')
+
+ cd ${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