Version bump.
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Thu, 13 May 2010 18:27:29 +0000 (18:27 +0000)
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Thu, 13 May 2010 18:27:29 +0000 (18:27 +0000)
Package-Manager: portage-HEAD/cvs/Linux x86_64

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

index 58ec4c05ef3b808dd79a7ae5ae50652443b4a017..3a132978b6130d2d3ac02e0c2a6edad020b2fd23 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.64 2010/05/03 19:24:34 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.65 2010/05/13 18:27:29 arfrever Exp $
+
+*pylint-0.21.0 (13 May 2010)
+
+  13 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  +pylint-0.21.0.ebuild:
+  Version bump.
 
   03 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
   pylint-0.20.0.ebuild:
index 618f455478042db1e43fb8b4422a93925bfb3ed4..f59b5783c5b7e2d0a63aeab51bbf0067ea97624c 100644 (file)
@@ -2,8 +2,10 @@ AUX pylint-0.18.1-utils.py.patch 4711 RMD160 d73df79fba028720f7976de6a2e381d1ca1
 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
+DIST pylint-0.21.0.tar.gz 199234 RMD160 9e75e58c3a9c5198bc48741d90691df3ca8a1f58 SHA1 7636d66b748c2b2afb8dce49e14ac7bd647b16f8 SHA256 44ecccb4981dc6777ac5c5c9ce4ffba122fba8021c78edee1d688946d3fe9e9a
 EBUILD pylint-0.18.1-r1.ebuild 2305 RMD160 9e03a71e55346b90619d9e52c734809c76b0f6b2 SHA1 c3d29c75c72ac01dc3edef258d1615be77ac9bf7 SHA256 11615605b2da944652fe2ce4fa5009dce75f473f27a774e6d224f9f0b3b4673f
 EBUILD pylint-0.19.0.ebuild 1715 RMD160 70798eac93fbd9770a321b11fcfb4479d7258b32 SHA1 e80066f0d9cac0fd3358b2f97e07116055143b4b SHA256 c2072fabb0b9e1b5f3a5b494c5021f47fa212545a00853c544a4aa418f1d56a1
 EBUILD pylint-0.20.0.ebuild 1766 RMD160 211703bdaf2992d73d922d51d66492963781c4ca SHA1 f82c6a34567f0cf6acdc10f0eaf9bdc937a98879 SHA256 8656b86036e55810f8db68a56616a239d34dd0c2c615232eed70ebd36e5ecb8d
-MISC ChangeLog 9688 RMD160 55b9b94f8ac382bb1e786eae70f6880b9b408297 SHA1 653e39c5b24b77c401234631e8a1661ee40c7e14 SHA256 c6acbc57d979c128d85db290325c919aeb99f5597a40c9118f699f644f0a12fc
+EBUILD pylint-0.21.0.ebuild 1766 RMD160 f14294376b5c85abd2a5d9eddb945e40b93ba224 SHA1 b1066a55cf97d12d10f813e4d98a5fc0924267c3 SHA256 2e0a1a90229e98c7aa07137083fbfa1cd7442f293d8853fae486528acedb9374
+MISC ChangeLog 9833 RMD160 458222756f8ba73f4b3d3fcc344b6e6bc4d1042e SHA1 328b8dbc28b742e8407c70197f89fd005201adf0 SHA256 12dfa17579dbaaa968cc9dd412996120cefcc592c56bfb65a5a8bb6458054f84
 MISC metadata.xml 843 RMD160 f909ded9a1c866bfcbec82a8974d06234665731e SHA1 22f210fd8df2ff5ce1e36d4ed9dcb7909d5d2756 SHA256 8cc61c1eaee23b310f54e87cf4121508730795397df7dfe784a20edf5c0143a4
diff --git a/dev-python/pylint/pylint-0.21.0.ebuild b/dev-python/pylint/pylint-0.21.0.ebuild
new file mode 100644 (file)
index 0000000..4c4cba9
--- /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.21.0.ebuild,v 1.1 2010/05/13 18:27:29 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.20"
+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-2*[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
+}