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 | fafaaa7b0a3392f14e9c376944dac8ed3471c88a (patch) | |
tree | 58ea533e47a19cac113aecdf5e859e4020d9051e /net-im/msnlib/msnlib-3.7.ebuild | |
parent | Version bump. Run tests in ${T}/tests-${PYTHON_ABI} directories instead of /t... (diff) | |
download | historical-fafaaa7b0a3392f14e9c376944dac8ed3471c88a.tar.gz historical-fafaaa7b0a3392f14e9c376944dac8ed3471c88a.tar.bz2 historical-fafaaa7b0a3392f14e9c376944dac8ed3471c88a.zip |
Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-15511-svn/cvs/Linux x86_64
Diffstat (limited to 'net-im/msnlib/msnlib-3.7.ebuild')
-rw-r--r-- | net-im/msnlib/msnlib-3.7.ebuild | 33 |
1 files changed, 18 insertions, 15 deletions
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 -} |