summaryrefslogtreecommitdiff
blob: 7112e307e9192960b152979841fe54046d8eef60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyprotocols/pyprotocols-0.9.3.ebuild,v 1.3 2007/01/19 00:16:54 lucass Exp $

inherit distutils

MY_P="${P/pypro/PyPro}"
SRC_URI="http://peak.telecommunity.com/dist/${MY_P}.tar.gz"
DESCRIPTION="Adapter/protocol framework for Python"
HOMEPAGE="http://peak.telecommunity.com/PyProtocols.html"
LICENSE="ZPL"

SLOT="0"
IUSE=""
KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
S="${WORKDIR}/${MY_P}"

src_test() {
	PYTHONPATH="${T}/test/lib/python" "${python}" setup.py \
		install --home="${T}/test" test || die "Unit tests failed!"
}