summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Strzygowski <lucass@gentoo.org>2007-05-05 19:46:49 +0000
committerLukasz Strzygowski <lucass@gentoo.org>2007-05-05 19:46:49 +0000
commit60bdd6638f7ba1cb77f8c42a48fe2cbffb01a347 (patch)
treead732b1456613e666fc27db3f36eecaa318cd2f0
parentFix gtk+ dep; bug #177183 (diff)
downloadgentoo-2-60bdd6638f7ba1cb77f8c42a48fe2cbffb01a347.tar.gz
gentoo-2-60bdd6638f7ba1cb77f8c42a48fe2cbffb01a347.tar.bz2
gentoo-2-60bdd6638f7ba1cb77f8c42a48fe2cbffb01a347.zip
Marked ~amd64 (bug #176885). Added src_test.
(Portage version: 2.1.2.5)
-rw-r--r--dev-python/pyprotocols/ChangeLog6
-rw-r--r--dev-python/pyprotocols/pyprotocols-1.0_pre2306.ebuild10
2 files changed, 11 insertions, 5 deletions
diff --git a/dev-python/pyprotocols/ChangeLog b/dev-python/pyprotocols/ChangeLog
index d11def8094b5..7a72db1acc02 100644
--- a/dev-python/pyprotocols/ChangeLog
+++ b/dev-python/pyprotocols/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pyprotocols
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyprotocols/ChangeLog,v 1.11 2007/05/05 17:18:09 pythonhead Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyprotocols/ChangeLog,v 1.12 2007/05/05 19:46:49 lucass Exp $
+
+ 05 May 2007; Lukasz Strzygowski <lucass@gentoo.org>
+ pyprotocols-1.0_pre2306.ebuild:
+ Marked ~amd64 (bug #176885). Added src_test.
05 May 2007; Rob Cakebread <pythonhead@gentoo.org>
pyprotocols-1.0_pre2306.ebuild:
diff --git a/dev-python/pyprotocols/pyprotocols-1.0_pre2306.ebuild b/dev-python/pyprotocols/pyprotocols-1.0_pre2306.ebuild
index ab69b308b90a..36533991f9c5 100644
--- a/dev-python/pyprotocols/pyprotocols-1.0_pre2306.ebuild
+++ b/dev-python/pyprotocols/pyprotocols-1.0_pre2306.ebuild
@@ -1,19 +1,18 @@
# 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-1.0_pre2306.ebuild,v 1.2 2007/05/05 17:18:09 pythonhead Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyprotocols/pyprotocols-1.0_pre2306.ebuild,v 1.3 2007/05/05 19:46:49 lucass Exp $
NEED_PYTHON=2.4
inherit distutils
-KEYWORDS="~x86"
-
MY_PN=PyProtocols
MY_P=${MY_PN}-${PV/_pre/a0dev_r}
DESCRIPTION="Extends the PEP 246 adapt() function with a new 'declaration API' that lets you easily define your own protocols and adapters, and declare what adapters should be used to adapt what types, objects, or protocols."
HOMEPAGE="http://peak.telecommunity.com/PyProtocols.html"
SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
LICENSE="|| ( PSF-2.4 ZPL )"
SLOT="0"
IUSE=""
@@ -22,7 +21,10 @@ RDEPEND=">=dev-python/decoratortools-1.4"
DEPEND="${RDEPEND}
>=dev-python/setuptools-0.6_rc5"
-S=${WORKDIR}/${MY_PN}
+S="${WORKDIR}/${MY_PN}"
PYTHON_MODNAME="protocols"
+src_test() {
+ PYTHONPATH="./src/" "${python}" setup.py test || die "tests failed"
+}