summaryrefslogtreecommitdiff
blob: 251cea08ecf29fdf96b9b046f0bb98b4a3955541 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/eunuchs/eunuchs-20050320.1.ebuild,v 1.2 2006/04/01 14:52:23 agriffis Exp $

inherit distutils

DESCRIPTION="Missing manly parts of UNIX API for Python"
HOMEPAGE="http://www.inoi.fi/open/trac/eunuchs"
SRC_URI="mirror://debian/pool/main/e/${PN}/${PN}_${PV}.tar.gz"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~ia64 ~x86"
IUSE=""

DEPEND="dev-lang/python"

src_install() {
	distutils_src_install

	docinto examples
	dodoc examples/*
}

src_test() {
	${python} examples/test-socketpair.py || die "socketpair test failed"
}