diff options
Diffstat (limited to 'dev-python/skype4py/skype4py-1.0.32.0.ebuild')
-rw-r--r-- | dev-python/skype4py/skype4py-1.0.32.0.ebuild | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/dev-python/skype4py/skype4py-1.0.32.0.ebuild b/dev-python/skype4py/skype4py-1.0.32.0.ebuild index 509d0efd8212..fa4fca100dc9 100644 --- a/dev-python/skype4py/skype4py-1.0.32.0.ebuild +++ b/dev-python/skype4py/skype4py-1.0.32.0.ebuild @@ -1,11 +1,17 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/skype4py/skype4py-1.0.32.0.ebuild,v 1.1 2010/09/13 13:24:00 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/skype4py/skype4py-1.0.32.0.ebuild,v 1.2 2010/12/26 16:40:11 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2:2.5" +SUPPORT_PYTHON_ABIS="1" +# ctypes module required. +RESTRICT_PYTHON_ABIS="2.4 3.* *-jython" inherit distutils -DESCRIPTION="Python wrapper for the Skype API." -HOMEPAGE="https://developer.skype.com/wiki/Skype4Py" +DESCRIPTION="Python wrapper for the Skype API" +HOMEPAGE="https://developer.skype.com/wiki/Skype4Py http://sourceforge.net/projects/skype4py/" SRC_URI="mirror://sourceforge/${PN}/Skype4Py-${PV}.tar.gz doc? ( mirror://sourceforge/${PN}/Skype4Py-${PV}-htmldoc.zip )" @@ -14,20 +20,17 @@ SLOT="0" KEYWORDS="~amd64" IUSE="doc" -RDEPEND="${DEPEND} - net-im/skype" +DEPEND="net-im/skype" +RDEPEND="${DEPEND}" S="${WORKDIR}/Skype4Py-${PV}" -src_unpack() { - unpack ${A} - cd "${S}" - use doc && mv "${WORKDIR}/Skype4Py-${PV}-htmldoc" "${S}/html_doc" -} +PYTHON_MODNAME="Skype4Py" src_install() { distutils_src_install + if use doc; then - dohtml html_doc/* || die "dohtml failed" + dohtml "${WORKDIR}/Skype4Py-${PV}-htmldoc/"* || die "dohtml failed" fi } |