From 9d69213253bff55a2a4a34d7e5ab3d5a389c921a Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Sun, 25 Oct 2009 14:00:33 +0000 Subject: Set SUPPORT_PYTHON_ABIS. (Portage version: 14724-svn/cvs/Linux x86_64) --- dev-python/pychecker/ChangeLog | 6 +++++- dev-python/pychecker/pychecker-0.8.18.ebuild | 17 ++++++----------- 2 files changed, 11 insertions(+), 12 deletions(-) (limited to 'dev-python') diff --git a/dev-python/pychecker/ChangeLog b/dev-python/pychecker/ChangeLog index 989baf3815b8..732e570f0531 100644 --- a/dev-python/pychecker/ChangeLog +++ b/dev-python/pychecker/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/pychecker # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pychecker/ChangeLog,v 1.46 2009/10/11 09:39:08 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pychecker/ChangeLog,v 1.47 2009/10/25 14:00:33 arfrever Exp $ + + 25 Oct 2009; Arfrever Frehtes Taifersar Arahesis + pychecker-0.8.18.ebuild: + Set SUPPORT_PYTHON_ABIS. 11 Oct 2009; Fabian Groffen pychecker-0.8.18.ebuild: Merge from Prefix diff --git a/dev-python/pychecker/pychecker-0.8.18.ebuild b/dev-python/pychecker/pychecker-0.8.18.ebuild index 2eb885d22415..9c2397369032 100644 --- a/dev-python/pychecker/pychecker-0.8.18.ebuild +++ b/dev-python/pychecker/pychecker-0.8.18.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/pychecker/pychecker-0.8.18.ebuild,v 1.8 2009/10/11 09:39:08 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pychecker/pychecker-0.8.18.ebuild,v 1.9 2009/10/25 14:00:33 arfrever Exp $ EAPI="2" +SUPPORT_PYTHON_ABIS="1" inherit distutils eutils @@ -15,9 +16,11 @@ SLOT="0" KEYWORDS="alpha amd64 ia64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" IUSE="" -DEPEND="virtual/python" -RDEPEND="${DEPEND}" +DEPEND="" +RDEPEND="" +RESTRICT_PYTHON_ABIS="3.*" +PYTHON_MODNAME="pychecker pychecker2" DOCS="pycheckrc" src_prepare() { @@ -26,11 +29,3 @@ src_prepare() { epatch "${FILESDIR}"/pychecker-0.8.18-pychecker2.patch sed -e 's:root = self\.distribution\.get_command_obj("install")\.root:&\.rstrip("/"):' -i setup.py || die "sed setup.py failed" } - -pkg_postinst() { - python_mod_optimize "$(python_get_sitedir)" -} - -pkg_postrm() { - python_mod_cleanup "$(python_get_sitedir)" -} -- cgit v1.2.3-65-gdbad