diff options
author | 2009-08-25 15:53:35 +0000 | |
---|---|---|
committer | 2009-08-25 15:53:35 +0000 | |
commit | d067259bbed0d0ebb9206baf40402b1793340b2a (patch) | |
tree | ed755e3f169199035462e731f66092e5013c9af0 | |
parent | Fix license. (diff) | |
download | historical-d067259bbed0d0ebb9206baf40402b1793340b2a.tar.gz historical-d067259bbed0d0ebb9206baf40402b1793340b2a.tar.bz2 historical-d067259bbed0d0ebb9206baf40402b1793340b2a.zip |
Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-14155-svn/cvs/Linux x86_64
-rw-r--r-- | dev-python/pylint/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/pylint/Manifest | 4 | ||||
-rw-r--r-- | dev-python/pylint/pylint-0.18.0.ebuild | 58 |
3 files changed, 38 insertions, 30 deletions
diff --git a/dev-python/pylint/ChangeLog b/dev-python/pylint/ChangeLog index d79d434b5678..7efc65a61d4a 100644 --- a/dev-python/pylint/ChangeLog +++ b/dev-python/pylint/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/pylint # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.48 2009/06/19 14:40:07 idl0r Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/ChangeLog,v 1.49 2009/08/25 15:53:35 arfrever Exp $ + + 25 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + pylint-0.18.0.ebuild: + Set SUPPORT_PYTHON_ABIS. *pylint-0.18.0 (19 Jun 2009) diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest index c5aaecf70888..2962c23a13d2 100644 --- a/dev-python/pylint/Manifest +++ b/dev-python/pylint/Manifest @@ -10,6 +10,6 @@ DIST pylint-0.18.0.tar.gz 211559 RMD160 271078a11b13291a78acea7fb8164976da3181b9 EBUILD pylint-0.13.1.ebuild 2393 RMD160 84597c527ea89272b40f80f165d994268d9273b4 SHA1 89cc28b1671cc4f829d996f99ad61e62e9f60667 SHA256 262fbb683ea9115d682f9f105f355c6fad766da81e07ce614b6925e48f00777e EBUILD pylint-0.14.0.ebuild 2417 RMD160 665d2b2232dcfd1eeddea1dd964b71f356d4fe7d SHA1 7abb7605de78ef81e73e7e59af90d8cf640baa3c SHA256 4ff2c4e1b975da159b53e777df44ad42f611f167764301bb6a43e116237f4610 EBUILD pylint-0.15.2.ebuild 2293 RMD160 86c80a16501b136fd49be6e6b553db112f82b3c7 SHA1 591b2b5f0295a1cbed895e9f1c9a8237cfa84caa SHA256 b392031739df5785673581c31331b93f6aafd0d5e207a5c2c3e7443e56b20b99 -EBUILD pylint-0.18.0.ebuild 2094 RMD160 09f5078c7c94d3833cd74972fd6285a7635f8b23 SHA1 a3ff66f080b6c4bbba656ed5cacf03066bf38e69 SHA256 3bed8784b980c7c6132c279410f1c2d01d7e037616f4f9d9f39b33aa58f7df48 -MISC ChangeLog 7610 RMD160 6ea21d6c7c4c4ba9ea2437f833c50527ea9ae89b SHA1 4c6f354f775caffedbfee2ce9f9ffa6c793dcc47 SHA256 bf68a5f7e53bfbca685d0c0cbf10b216d56d7f688e429477461898c0f2c583cf +EBUILD pylint-0.18.0.ebuild 2245 RMD160 f8b6b2bfc373de60f2e4e9844789caf9a9743d12 SHA1 ffe791f026867dcc6c67f73e80d654fa5f23ef99 SHA256 0a14ee3f8acfe16debe3249e7c71aa5a80826475a6a1b99e420a5cd3f8c99cef +MISC ChangeLog 7738 RMD160 dede44045a47626ec89fc12b503f5955f8d03f84 SHA1 7d159cea92f2c9c8e076817ed93b40feacdabb4d SHA256 f630bb5381e1a1f18b30ebf828efc34f96afa2a9152bd8cfdeb595d619fe8298 MISC metadata.xml 911 RMD160 a3a270093a4a8fce323686400403ddf65050fd2c SHA1 f401d8be9ed56d507a3d34dd037393e0dc4d6ad7 SHA256 1688855d39252b78f0a04924a5144b84a4d9bee3b34ee612568d5abbb0554937 diff --git a/dev-python/pylint/pylint-0.18.0.ebuild b/dev-python/pylint/pylint-0.18.0.ebuild index 651127717877..683df6828695 100644 --- a/dev-python/pylint/pylint-0.18.0.ebuild +++ b/dev-python/pylint/pylint-0.18.0.ebuild @@ -1,8 +1,9 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/pylint-0.18.0.ebuild,v 1.2 2009/06/23 15:18:53 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/pylint-0.18.0.ebuild,v 1.3 2009/08/25 15:53:35 arfrever Exp $ EAPI="2" +SUPPORT_PYTHON_ABIS="1" inherit eutils distutils python @@ -20,33 +21,36 @@ DEPEND=">=dev-python/logilab-common-0.38 RDEPEND="${DEPEND} dev-lang/python[tk?]" -src_test() { - python_version - - local lpath="${T}/test/lib/python" - local tpath="" +RESTRICT_PYTHON_ABIS="3*" - # Create testdir and copy pylint into it for testing purpose. - mkdir -p "${lpath}/logilab" || die - PYTHONPATH="${lpath}" ${python} setup.py install --home="${T}/test" \ - || die "test copy failed" - - # To support test w/o setuptools. - if [[ -d "${lpath}/${PN}" ]]; then - tpath="${lpath}/${PN}" - else - tpath="${lpath}/${P}-py${PYVER}.egg/${PN}" - fi - - # Copy pylint unittest and logilab-{common,astng} into our temporary test - # dir. - cp -r test/ ${tpath} || die "copy tests failed" - cp -r "$(python_get_sitedir)/logilab/"{common,astng} "${lpath}/logilab" \ - || die "copying logilab-{common,astng} failed!" - - pushd "${tpath}" >/dev/null || die - PYTHONPATH="${lpath}" pytest -v || die "tests failed" - popd >/dev/null || die +src_test() { + testing() { + local lpath="${T}/test/lib/python" + local tpath="" + + rm -fr "${lpath}" + + # Create testdir and copy pylint into it for testing purpose. + mkdir -p "${lpath}/logilab" || die + PYTHONPATH="${lpath}" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --home="${T}/test" || die "test copy failed" + + # To support test w/o setuptools. + if [[ -d "${lpath}/${PN}" ]]; then + tpath="${lpath}/${PN}" + else + tpath="${lpath}/${P}-py${PYTHON_ABI}.egg/${PN}" + fi + + # Copy pylint unittest and logilab-{common,astng} into our temporary test + # dir. + cp -r test/ ${tpath} || die "copy tests failed" + cp -r "$(python_get_sitedir)/logilab/"{common,astng} "${lpath}/logilab" || die "copying logilab-{common,astng} failed!" + + pushd "${tpath}" >/dev/null || die + PYTHONPATH="${lpath}" pytest -v || die "tests failed" + popd >/dev/null || die + } + python_execute_function testing } src_install() { |