Version bump (bug #311323).
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Fri, 26 Mar 2010 17:33:44 +0000 (17:33 +0000)
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Fri, 26 Mar 2010 17:33:44 +0000 (17:33 +0000)
Package-Manager: portage-15841-svn/cvs/Linux x86_64

dev-python/pylint/ChangeLog
dev-python/pylint/Manifest
dev-python/pylint/pylint-0.20.0.ebuild [new file with mode: 0644]

index d80561e5da91566150e67504009c952f59d048e7..2406abc3a1901d17872d8a5470485a37c9d933cc 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-python/pylint
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.60 2010/02/27 20:42:04 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.61 2010/03/26 17:33:44 arfrever Exp $
+
+*pylint-0.20.0 (26 Mar 2010)
+
+  26 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +pylint-0.20.0.ebuild:
+  Version bump (bug #311323).
 
   27 Feb 2010; Fabian Groffen <grobian@gentoo.org> pylint-0.19.0.ebuild:
   Marked ~x64-macos, thanks Ramon van Alteren in bug #306705
index a835139d6ea54e0b4728cb55ca0acaaeeff4f0c7..cd5a458a86e3d4f1e1af953497089a1afb5fc0fb 100644 (file)
@@ -1,7 +1,9 @@
 AUX pylint-0.18.1-utils.py.patch 4711 RMD160 d73df79fba028720f7976de6a2e381d1ca12ca8d SHA1 e67e87a2f98796dc8c88e239bfeaa524918fab1c SHA256 8f572627eca088aec229cebf817f9726868e56e41e6e0cd9a5c5f9f120e7ce65
 DIST pylint-0.18.1.tar.gz 175035 RMD160 f83d10617fe38770cc8a2c06a0e165b639323fa7 SHA1 891b4666872822d49e01fba28f94fb0a25db51de SHA256 73c95efd24cc891c1f98659e03ab0cda690edb3bdf96d5cfe1d6ca952926e293
 DIST pylint-0.19.0.tar.gz 188499 RMD160 a1c7bf494b0f5a6daa7306dce747e3a1cfa68b97 SHA1 cfa071057538d798678e62fc93952f36d6838ad2 SHA256 382ab53b07c387fa27bf21eae88a1460154e8313e1eda1c15ed88986052637d6
+DIST pylint-0.20.0.tar.gz 192112 RMD160 24ecf91e5b2abbb99a3aaa914636cd00d77759be SHA1 c706c062d3dc7a55856a3ef1c741de1fea105c88 SHA256 55828110200f56b50c75f58043e90c38af268eabb0dec4945b58665d7770fa32
 EBUILD pylint-0.18.1-r1.ebuild 2305 RMD160 9e03a71e55346b90619d9e52c734809c76b0f6b2 SHA1 c3d29c75c72ac01dc3edef258d1615be77ac9bf7 SHA256 11615605b2da944652fe2ce4fa5009dce75f473f27a774e6d224f9f0b3b4673f
 EBUILD pylint-0.19.0.ebuild 1719 RMD160 030efc475f1e965687d54e385d974973a3504821 SHA1 1513e7840f0a328f428e572dcc7734d5b2ef475b SHA256 bb7701a6d25b826cd9520d80353cd1c55f207681f2df012d2b7147f85d085d76
-MISC ChangeLog 9214 RMD160 a41bdda8b924f05b0e98716148185859da457606 SHA1 6a71c7a5c86fcb76ad83ba759aeec00389c4823b SHA256 1e056d2c08e941de240ff079245b0fcb0f093bf6080609f559101964a5478beb
+EBUILD pylint-0.20.0.ebuild 1762 RMD160 c3bd1689c5d9ebc41c2b5155e801b9c373ee2ca0 SHA1 3a8be2f919c7a80802e9077bf1ebcd51ded51311 SHA256 6ebd094f541662470e7dbe38926e99b5dad99aaca6df159ca6406f6a56fbeb5b
+MISC ChangeLog 9374 RMD160 5a7538d5bfa331f0f433a4ec8b0d0dd08af4ac1e SHA1 b5c5c8487ed9d03fc81de0c9470f247c5e188419 SHA256 49b381858182be588c2e44d258df729c6eba677aa3065abb4155d44991d19a51
 MISC metadata.xml 843 RMD160 f909ded9a1c866bfcbec82a8974d06234665731e SHA1 22f210fd8df2ff5ce1e36d4ed9dcb7909d5d2756 SHA256 8cc61c1eaee23b310f54e87cf4121508730795397df7dfe784a20edf5c0143a4
diff --git a/dev-python/pylint/pylint-0.20.0.ebuild b/dev-python/pylint/pylint-0.20.0.ebuild
new file mode 100644 (file)
index 0000000..a1b5f8b
--- /dev/null
@@ -0,0 +1,66 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/pylint-0.20.0.ebuild,v 1.1 2010/03/26 17:33:44 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+PYTHON_USE_WITH="tk"
+PYTHON_USE_WITH_OPT="tk"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils
+
+DESCRIPTION="a tool to check if a Python module satisfies a coding standard"
+HOMEPAGE="http://www.logilab.org/projects/pylint/ http://pypi.python.org/pypi/pylint"
+SRC_URI="ftp://ftp.logilab.org/pub/${PN}/${P}.tar.gz http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
+IUSE="doc examples test tk"
+
+DEPEND=">=dev-python/logilab-common-0.44.0
+       >=dev-python/astng-0.19.3"
+RDEPEND="${DEPEND}"
+RESTRICT_PYTHON_ABIS="3.*"
+
+src_prepare() {
+       distutils_src_prepare
+
+       # Disable failing tests.
+       rm -f test/input/func_arguments.py
+       sed -e "s/test_exhaustivity/_&/" -i test/test_func.py || die "sed failed"
+}
+
+src_test() {
+       testing() {
+               PYTHONPATH="build-${PYTHON_ABI}/lib" pytest -v
+       }
+       python_execute_function testing
+}
+
+src_install() {
+       distutils_src_install
+
+       doman man/{pylint,pyreverse}.1 || die "doman failed"
+       dodoc doc/FAQ.txt || die "dodoc failed"
+
+       if use doc; then
+               dodoc doc/*.txt || die "dodoc failed"
+       fi
+
+       if use examples; then
+               docinto examples
+               dodoc examples/* || die "dodoc failed"
+       fi
+}
+
+pkg_postinst() {
+       distutils_pkg_postinst
+
+       if ! has_version dev-lang/python[tk]; then
+               ewarn "dev-lang/python has been built without tk support,"
+               ewarn "${PN}-gui doesn't work without Tkinter so if you really need it,"
+               ewarn "re-install dev-lang/python with \"tk\" useflag enabled."
+       fi
+}