blob: 0fc3f343e7525f8202520e9ce5b954ae2f2452ef (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pycurl/pycurl-7.11.0.ebuild,v 1.4 2004/06/25 01:38:48 agriffis Exp $
inherit distutils
DESCRIPTION="python binding for curl/libcurl"
HOMEPAGE="http://pycurl.sourceforge.net/"
SRC_URI="http://pycurl.sourceforge.net/download/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~sparc"
IUSE=""
DEPEND=">=dev-lang/python-2.1.1
>=net-misc/curl-${PV}"
PYTHON_MODNAME="curl"
src_install(){
DOCS="TODO"
distutils_src_install
mv ${D}/usr/share/doc/pycurl/examples ${D}/usr/share/doc/${PF}
mv ${D}/usr/share/doc/pycurl/html ${D}/usr/share/doc/${PF}
mv ${D}/usr/share/doc/pycurl/tests ${D}/usr/share/doc/${PF}
rm -fr ${D}/usr/share/doc/pycurl
}
|