diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-03-01 21:55:52 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-03-01 21:55:52 +0000 |
commit | 32d550b860b550193e45821aafbc3a6d57e3dbb4 (patch) | |
tree | 395622574899f457bb6a51643ef7e51d87e2d0c6 /net-im/msnlib | |
parent | Version bump. Run tests in ${T}/tests-${PYTHON_ABI} directories instead of /t... (diff) | |
download | gentoo-2-32d550b860b550193e45821aafbc3a6d57e3dbb4.tar.gz gentoo-2-32d550b860b550193e45821aafbc3a6d57e3dbb4.tar.bz2 gentoo-2-32d550b860b550193e45821aafbc3a6d57e3dbb4.zip |
Set SUPPORT_PYTHON_ABIS.
(Portage version: 15511-svn/cvs/Linux x86_64)
Diffstat (limited to 'net-im/msnlib')
-rw-r--r-- | net-im/msnlib/ChangeLog | 6 | ||||
-rw-r--r-- | net-im/msnlib/msnlib-3.7.ebuild | 33 |
2 files changed, 23 insertions, 16 deletions
diff --git a/net-im/msnlib/ChangeLog b/net-im/msnlib/ChangeLog index dfd262134928..9f781cd749c7 100644 --- a/net-im/msnlib/ChangeLog +++ b/net-im/msnlib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-im/msnlib # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/msnlib/ChangeLog,v 1.25 2010/01/24 15:29:06 djc Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/msnlib/ChangeLog,v 1.26 2010/03/01 21:55:52 arfrever Exp $ + + 01 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + msnlib-3.7.ebuild: + Set SUPPORT_PYTHON_ABIS. 24 Jan 2010; Dirkjan Ochtman <djc@gentoo.org> -msnlib-3.4.ebuild, -msnlib-3.5.ebuild: diff --git a/net-im/msnlib/msnlib-3.7.ebuild b/net-im/msnlib/msnlib-3.7.ebuild index dcbd699eebbc..33057873e0e4 100644 --- a/net-im/msnlib/msnlib-3.7.ebuild +++ b/net-im/msnlib/msnlib-3.7.ebuild @@ -1,9 +1,14 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/msnlib/msnlib-3.7.ebuild,v 1.1 2010/01/24 15:20:54 djc Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/msnlib/msnlib-3.7.ebuild,v 1.2 2010/03/01 21:55:52 arfrever Exp $ EAPI="2" -inherit python multilib distutils +PYTHON_DEPEND="2" +PYTHON_USE_WITH="tk" +PYTHON_USE_WITH_OPT="tk" +SUPPORT_PYTHON_ABIS="1" + +inherit multilib distutils DESCRIPTION="A Python MSN messenger protocol library and client" HOMEPAGE="http://auriga.wearlab.de/~alb/msnlib/" @@ -14,13 +19,21 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86" IUSE="tk" -DEPEND=">=dev-lang/python-2.2.2[tk?]" -RDEPEND="${DEPEND}" +DEPEND="" +RDEPEND="" +RESTRICT_PYTHON_ABIS="3.*" + +PYTHON_MODNAME="msncb.py msnlib.py" + +src_prepare() { + distutils_src_prepare + python_convert_shebangs 2 msn utils/msntk +} src_install() { distutils_src_install - dodoc doc/* || die "dodoc failed." + dodoc doc/* || die "dodoc failed" dobin msn dobin msnsetup use tk && dobin utils/msntk @@ -28,13 +41,3 @@ src_install() { insinto /usr/share/doc/${PF} doins msnrc.sample } - -pkg_postinst() { - local module - python_version - python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/msn{cb,lib}.py -} - -pkg_postrm() { - python_mod_cleanup -} |