summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Strzygowski <lucass@gentoo.org>2007-01-19 00:16:55 +0000
committerLukasz Strzygowski <lucass@gentoo.org>2007-01-19 00:16:55 +0000
commit322fbd43769fc7198150f30b76779a64f2a05141 (patch)
tree039e9c97d91346706c85f2a27b954649ffcf0e7b /dev-python/pyprotocols
parentStable for HPPA (bug #147751). (diff)
downloadgentoo-2-322fbd43769fc7198150f30b76779a64f2a05141.tar.gz
gentoo-2-322fbd43769fc7198150f30b76779a64f2a05141.tar.bz2
gentoo-2-322fbd43769fc7198150f30b76779a64f2a05141.zip
Cleanup, fixed src_test, added ~amd64 keyword, removed old version.
(Portage version: 2.1.2_rc4-r9)
Diffstat (limited to 'dev-python/pyprotocols')
-rw-r--r--dev-python/pyprotocols/ChangeLog8
-rw-r--r--dev-python/pyprotocols/pyprotocols-0.9.3.ebuild24
2 files changed, 14 insertions, 18 deletions
diff --git a/dev-python/pyprotocols/ChangeLog b/dev-python/pyprotocols/ChangeLog
index 8969d7e19acb..610e4f27f7ab 100644
--- a/dev-python/pyprotocols/ChangeLog
+++ b/dev-python/pyprotocols/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pyprotocols
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyprotocols/ChangeLog,v 1.6 2006/04/27 19:14:28 marienz Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyprotocols/ChangeLog,v 1.7 2007/01/19 00:16:55 lucass Exp $
+
+ 19 Jan 2007; Lukasz Strzygowski <lucass@gentoo.org>
+ pyprotocols-0.9.3.ebuild:
+ Cleanup, fixed src_test, added ~amd64 keyword, removed old version.
27 Apr 2006; Marien Zwart <marienz@gentoo.org>
files/digest-pyprotocols-0.9.2, files/digest-pyprotocols-0.9.3, Manifest:
diff --git a/dev-python/pyprotocols/pyprotocols-0.9.3.ebuild b/dev-python/pyprotocols/pyprotocols-0.9.3.ebuild
index 33a8dae32920..7112e307e919 100644
--- a/dev-python/pyprotocols/pyprotocols-0.9.3.ebuild
+++ b/dev-python/pyprotocols/pyprotocols-0.9.3.ebuild
@@ -1,29 +1,21 @@
-# Copyright 1999-2006 Gentoo Foundation
+# 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.2 2006/04/01 18:49:06 agriffis Exp $
+# $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_PF=${PF/pypro/PyPro}
-S=${WORKDIR}/${MY_PF}
-
-SRC_URI="http://peak.telecommunity.com/dist/${MY_PF}.tar.gz"
+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="~ia64 ~ppc ~x86"
-
-DEPEND="sys-devel/gcc
- >=dev-lang/python-2.2"
-
-pkg_postinst() {
- distutils_pkg_postinst
-}
+KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
+S="${WORKDIR}/${MY_P}"
src_test() {
- cd ${S}
- python setup.py test || die "Unit tests failed!"
+ PYTHONPATH="${T}/test/lib/python" "${python}" setup.py \
+ install --home="${T}/test" test || die "Unit tests failed!"
}