# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit distutils DESCRIPTION="Skype4Py is a Python wrapper for the Skype API." HOMEPAGE="https://developer.skype.com/wiki/Skype4Py" SRC_URI="mirror://sourceforge/${PN}/Skype4Py-${PVR}.tar.gz doc? ( mirror://sourceforge/${PN}/Skype4Py-${PVR}-htmldoc.zip )" LICENSE="BSD" SLOT="0" KEYWORDS="~ia64 ~ppc ~sparc ~x86" IUSE="doc" DEPEND="virtual/python" RDEPEND="${DEPEND}" src_unpack() { unpack ${A} S=${WORKDIR}/Skype4Py-${PVR} use doc && mv ${WORKDIR}/Skype4Py-${PVR}-htmldoc ${S}/html_doc cd ${S} } src_install() { distutils_src_install use doc && dohtml html_doc/* }