# Copyright 1999-2004 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.1 2004/12/05 16:02:22 kloeri 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="~x86 ~ppc" 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!" }