[arch-commits] CVS update of extra/devel/pylint (PKGBUILD pylint.install)
Eric Belanger
eric at archlinux.org
Sun Feb 17 01:16:35 UTC 2008
Date: Saturday, February 16, 2008 @ 20:16:35
Author: eric
Path: /home/cvs-extra/extra/devel/pylint
Added: PKGBUILD (1.1) pylint.install (1.1)
upgpkg: pylint 0.14.0-1
adding to repo. optional depends for eric-plugins.
----------------+
PKGBUILD | 23 +++++++++++++++++++++++
pylint.install | 10 ++++++++++
2 files changed, 33 insertions(+)
Index: extra/devel/pylint/PKGBUILD
diff -u /dev/null extra/devel/pylint/PKGBUILD:1.1
--- /dev/null Sat Feb 16 20:16:35 2008
+++ extra/devel/pylint/PKGBUILD Sat Feb 16 20:16:34 2008
@@ -0,0 +1,23 @@
+# $Id: PKGBUILD,v 1.1 2008/02/17 01:16:34 eric Exp $
+# Maintainer: Eric Belanger <eric at archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+
+pkgname=pylint
+pkgver=0.14.0
+pkgrel=1
+pkgdesc="Python code static checker"
+arch=('i686' 'x86_64')
+url="http://www.logilab.org/project/pylint"
+license=('GPL')
+depends=('python-logilab-astng')
+install=pylint.install
+source=(ftp://ftp.logilab.fr/pub/pylint/pylint-$pkgver.tar.gz)
+md5sums=('a6a6a1c68e56506d6fca7569f622767a')
+sha1sums=('b0074cca2083792b5602f33d8e7be33a9ab4322f')
+
+build() {
+ cd $startdir/src/pylint-$pkgver
+ python setup.py install --prefix=/usr --root=$startdir/pkg || return 1
+
+ install -D -m644 man/pylint.1 $startdir/pkg/usr/share/man/man1/pylint.1
+}
Index: extra/devel/pylint/pylint.install
diff -u /dev/null extra/devel/pylint/pylint.install:1.1
--- /dev/null Sat Feb 16 20:16:35 2008
+++ extra/devel/pylint/pylint.install Sat Feb 16 20:16:34 2008
@@ -0,0 +1,10 @@
+post_install() {
+ cat << _EOF
+ Optional packages for Pylint:
+ Pylint GUI: 'tk'
+_EOF
+}
+
+post_upgrade() {
+ post_install
+}
More information about the arch-commits
mailing list