summaryrefslogtreecommitdiff
blob: 7f24714ac8297b06b6a9b4fbd8c10550fcbd2cc9 (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.6 2007/12/31 16:30:53 josejx Exp $

inherit distutils multilib

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/$(get_libdir)/python" "${python}" setup.py \
		install --home="${T}/test" test || die "Unit tests failed!"
}