blob: fa4fca100dc9626fe40a0d0077b98759c9431736 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# 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.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 http://sourceforge.net/projects/skype4py/"
SRC_URI="mirror://sourceforge/${PN}/Skype4Py-${PV}.tar.gz
doc? ( mirror://sourceforge/${PN}/Skype4Py-${PV}-htmldoc.zip )"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc"
DEPEND="net-im/skype"
RDEPEND="${DEPEND}"
S="${WORKDIR}/Skype4Py-${PV}"
PYTHON_MODNAME="Skype4Py"
src_install() {
distutils_src_install
if use doc; then
dohtml "${WORKDIR}/Skype4Py-${PV}-htmldoc/"* || die "dohtml failed"
fi
}
|