summaryrefslogtreecommitdiff
blob: a19c718f74a83b9d34f2f63beece1ccf17867e27 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/twistedsnmp/twistedsnmp-0.3.12.ebuild,v 1.1 2009/02/15 14:22:35 patrick Exp $

inherit distutils
MY_PN="TwistedSNMP"
MY_PV="${PV}" # change when version has an a1 or similar extension

DESCRIPTION="SNMP protocols and APIs for use with the Twisted networking framework"
HOMEPAGE="http://${PN}.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${MY_PV}.tar.gz"

LICENSE="BSD"
SLOT="0" # should only be the one version installed
KEYWORDS="~amd64 ~ia64 ~ppc ~x86"

IUSE=""
DEPEND="virtual/python
	>=dev-python/pysnmp-3.0.0
	>=dev-python/twisted-1.3"

S="${WORKDIR}/${MY_PN}-${MY_PV}"

src_install() {
	distutils_src_install
	dohtml doc/index.html
	insinto /usr/share/doc/${PF}/html/style/
	doins doc/style/sitestyle.css
}