blob: 33a8dae3292065eb75189963926fcc19fc283124 (
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-2006 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.2 2006/04/01 18:49:06 agriffis Exp $
inherit distutils
MY_PF=${PF/pypro/PyPro}
S=${WORKDIR}/${MY_PF}
SRC_URI="http://peak.telecommunity.com/dist/${MY_PF}.tar.gz"
DESCRIPTION="Adapter/protocol framework for Python"
HOMEPAGE="http://peak.telecommunity.com/PyProtocols.html"
LICENSE="ZPL"
SLOT="0"
IUSE=""
KEYWORDS="~ia64 ~ppc ~x86"
DEPEND="sys-devel/gcc
>=dev-lang/python-2.2"
pkg_postinst() {
distutils_pkg_postinst
}
src_test() {
cd ${S}
python setup.py test || die "Unit tests failed!"
}
|