From 58449638231b4edbe2f5dcb69c2683248651be51 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Mon, 31 May 2010 18:33:57 +0000 Subject: [PATCH] Set SUPPORT_PYTHON_ABIS. Package-Manager: portage-HEAD/cvs/Linux x86_64 --- dev-python/python-daap/ChangeLog | 8 +++-- dev-python/python-daap/Manifest | 4 +-- .../python-daap/python-daap-0.7.1.ebuild | 30 +++++++++---------- 3 files changed, 22 insertions(+), 20 deletions(-) diff --git a/dev-python/python-daap/ChangeLog b/dev-python/python-daap/ChangeLog index 3c96980e9b86..083e64199a3c 100644 --- a/dev-python/python-daap/ChangeLog +++ b/dev-python/python-daap/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/python-daap -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-daap/ChangeLog,v 1.3 2008/11/24 17:52:18 ssuominen Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-daap/ChangeLog,v 1.4 2010/05/31 18:33:57 arfrever Exp $ + + 31 May 2010; Arfrever Frehtes Taifersar Arahesis + python-daap-0.7.1.ebuild: + Set SUPPORT_PYTHON_ABIS. 24 Nov 2008; metadata.xml: Re-assign to sound and python herds. diff --git a/dev-python/python-daap/Manifest b/dev-python/python-daap/Manifest index 10f7103290c4..4992fd676c35 100644 --- a/dev-python/python-daap/Manifest +++ b/dev-python/python-daap/Manifest @@ -1,4 +1,4 @@ DIST PythonDaap-0.7.1.tar.gz 25944 RMD160 d4a350f3959eb486c400662eb06bd84b5da465b7 SHA1 9448d2d29023f60021d714592090d41dae0870d9 SHA256 ea1d3a8141654781a0df31e6607c4722436fa33eb2e9934492770b3b61be8122 -EBUILD python-daap-0.7.1.ebuild 902 RMD160 d95d6fe504a8d0cfca2f290613f9d27408b100d5 SHA1 26e5a8280546fac4ef824311633ac261e458c44d SHA256 1ffb6e11238f69a202ada157eab518a8c6845c640066e26cfd5479a9ab71b998 -MISC ChangeLog 702 RMD160 86a22785427fd5b1e2b810017092bb100012c165 SHA1 d868a57533b4067277a0d67eb83ff84a6e7e4854 SHA256 8f3bcd9eb4bc6fe46322835ed58c4a26a4436416b2ecf8f3ef58d857e773d2bb +EBUILD python-daap-0.7.1.ebuild 789 RMD160 45d138006cc3c5e8d49dfb79e3e95c5a17dd27a9 SHA1 28485ce40edc22b92c65a4d3ec466aaddc219098 SHA256 ce8069fec358928109d4285aa6c4246c640c2454a114c431557ff9bf64649a04 +MISC ChangeLog 830 RMD160 0a0506f0c097f596967df928d890608cbc153bd6 SHA1 0284382b495dacd9bc5eb0c87b7a0637306af401 SHA256 e86301d1eb7fbdbcbb5038efc20d4e25960c7cb892dfd8d9e9e90207f9d5119d MISC metadata.xml 180 RMD160 c2f33738d640d9b5d01befd5fc7f366a58ea462f SHA1 5704f955307c6ff3b2aac62a3458e6cc50e32d62 SHA256 cc06a12ae2dbcff1975aaa40f4b1e52c85cc3522a2a306f8ec0e386025e5ec15 diff --git a/dev-python/python-daap/python-daap-0.7.1.ebuild b/dev-python/python-daap/python-daap-0.7.1.ebuild index 64de1f01dfee..3801b848c65a 100644 --- a/dev-python/python-daap/python-daap-0.7.1.ebuild +++ b/dev-python/python-daap/python-daap-0.7.1.ebuild @@ -1,12 +1,14 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-daap/python-daap-0.7.1.ebuild,v 1.1 2008/05/27 15:05:53 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-daap/python-daap-0.7.1.ebuild,v 1.2 2010/05/31 18:33:57 arfrever Exp $ -NEED_PYTHON=2.4 +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" -inherit distutils multilib python +inherit distutils -MY_P=PythonDaap-${PV} +MY_P="PythonDaap-${PV}" DESCRIPTION="PyDaap is a DAAP client implemented in Python, based on PyTunes" HOMEPAGE="http://jerakeen.org/code/pythondaap" @@ -17,7 +19,13 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="examples" -S=${WORKDIR}/${MY_P} +DEPEND="" +RDEPEND="" +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="daap.py" src_install() { distutils_src_install @@ -27,13 +35,3 @@ src_install() { doins -r examples fi } - -pkg_postinst() { - python_version - python_mod_optimize "${ROOT}"usr/$(get_libdir)/python${PYVER}/site-packages -} - -pkg_postrm() { - python_version - python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages -} -- 2.26.2