diff options
Diffstat (limited to 'dev-python/twistedsnmp')
-rw-r--r-- | dev-python/twistedsnmp/Manifest | 2 | ||||
-rw-r--r-- | dev-python/twistedsnmp/twistedsnmp-0.3.13.ebuild | 16 |
2 files changed, 12 insertions, 6 deletions
diff --git a/dev-python/twistedsnmp/Manifest b/dev-python/twistedsnmp/Manifest index 9064a192ae58..7c22865810c9 100644 --- a/dev-python/twistedsnmp/Manifest +++ b/dev-python/twistedsnmp/Manifest @@ -1,4 +1,4 @@ DIST TwistedSNMP-0.3.13.tar.gz 56256 RMD160 6556324abcbabee8e0ef1abf3fb99f9979c3bdc0 SHA1 f29610eeb7ad861b1d1f05bb20b0b1a40c2a4990 SHA256 4e3d20110a3083bf4c602b57c5bcf447182bb0effcb8b0603f5da0314a804cce -EBUILD twistedsnmp-0.3.13.ebuild 999 RMD160 bfdef2af9e71b0ca0b1a6e678b4d02c94e6fc364 SHA1 6371fa838a76504edb48d44e5a3dd5d09184d5b1 SHA256 d8bdd83b61923a989b2a4a554bf5270f499270d9808a9ccfa1a1b493e4e58374 +EBUILD twistedsnmp-0.3.13.ebuild 1115 RMD160 8b01b738f2bf30e02fb53d33d648c6232c0fa18f SHA1 ca03f00f7984380e564dcee77509f0c0fe356ff9 SHA256 f34e6970ba5dba26c181c0215a134a7aacc778dcb0757cabbda57aced5bd0eeb MISC ChangeLog 1054 RMD160 02b4908aee64424377c61ebd3a585c00eb242828 SHA1 6e42d5e75c6a6690f273408df31f2368d8ec9a3c SHA256 8cae49aed4f489b113a0e8292c53a2641e33804b790a1793644590074d00d8b6 MISC metadata.xml 218 RMD160 3964ab644953d47933ddf25e2fad8037b7f8eb89 SHA1 b80d23d20d3e684f0881b8cd75b053de0e08e43b SHA256 edc3b5b8cb78a5f052118ec236322dc37fb922649530f77d00f0cb71473bde40 diff --git a/dev-python/twistedsnmp/twistedsnmp-0.3.13.ebuild b/dev-python/twistedsnmp/twistedsnmp-0.3.13.ebuild index 3a6b09c32957..d22f49382751 100644 --- a/dev-python/twistedsnmp/twistedsnmp-0.3.13.ebuild +++ b/dev-python/twistedsnmp/twistedsnmp-0.3.13.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/twistedsnmp/twistedsnmp-0.3.13.ebuild,v 1.1 2009/11/28 17:54:40 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/twistedsnmp/twistedsnmp-0.3.13.ebuild,v 1.2 2009/11/28 18:14:10 arfrever Exp $ EAPI="2" SUPPORT_PYTHON_ABIS="1" @@ -17,19 +17,25 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -IUSE="test" +IUSE="" RDEPEND="=dev-python/pysnmp-3* >=dev-python/twisted-1.3" -DEPEND="${RDEPEND} - test? ( dev-python/nose )" +DEPEND="${RDEPEND}" RESTRICT_PYTHON_ABIS="3.*" S="${WORKDIR}/${MY_P}" +src_prepare() { + distutils_src_prepare + + # Disable broken test. + sed -e "s/test_tableGetWithStart/_&/" -i test/test_get.py || die "sed failed" +} + src_test() { testing() { - PYTHONPATH="build-${PYTHON_ABI}/lib" nosetests-${PYTHON_ABI} + PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test/test.py } python_execute_function testing } |