summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-08-06 16:24:57 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-08-06 16:24:57 +0000
commit26275039edff6e249c7e262b57ea691338f9573a (patch)
tree34cfc86f191a204f2aa92112045df5f35a2dd1af /dev-python/jsonpickle
parentRestore Changelog history (diff)
downloadgentoo-2-26275039edff6e249c7e262b57ea691338f9573a.tar.gz
gentoo-2-26275039edff6e249c7e262b57ea691338f9573a.tar.bz2
gentoo-2-26275039edff6e249c7e262b57ea691338f9573a.zip
Ignore test failures with Jython. Fix dependencies. Run tests requiring dev-python/feedparser. Patch by Arfrever.
(Portage version: 2.2.0_alpha50/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/jsonpickle')
-rw-r--r--dev-python/jsonpickle/ChangeLog6
-rw-r--r--dev-python/jsonpickle/jsonpickle-0.4.0.ebuild22
2 files changed, 11 insertions, 17 deletions
diff --git a/dev-python/jsonpickle/ChangeLog b/dev-python/jsonpickle/ChangeLog
index 713d38327b36..ca60c68834a6 100644
--- a/dev-python/jsonpickle/ChangeLog
+++ b/dev-python/jsonpickle/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/jsonpickle
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/jsonpickle/ChangeLog,v 1.8 2011/08/05 22:54:33 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/jsonpickle/ChangeLog,v 1.9 2011/08/06 16:24:57 hwoarang Exp $
+
+ 06 Aug 2011; Markos Chandras <hwoarang@gentoo.org> jsonpickle-0.4.0.ebuild:
+ Ignore test failures with Jython. Fix dependencies. Run tests requiring
+ dev-python/feedparser. Patch by Arfrever.
05 Aug 2011; Markos Chandras <hwoarang@gentoo.org> -jsonpickle-0.3.1.ebuild:
Remove old ebuild. Requested by Arfrever
diff --git a/dev-python/jsonpickle/jsonpickle-0.4.0.ebuild b/dev-python/jsonpickle/jsonpickle-0.4.0.ebuild
index a88b767e4b02..a9a2116e1429 100644
--- a/dev-python/jsonpickle/jsonpickle-0.4.0.ebuild
+++ b/dev-python/jsonpickle/jsonpickle-0.4.0.ebuild
@@ -1,37 +1,27 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/jsonpickle/jsonpickle-0.4.0.ebuild,v 1.1 2011/07/29 22:38:54 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/jsonpickle/jsonpickle-0.4.0.ebuild,v 1.2 2011/08/06 16:24:57 hwoarang Exp $
EAPI="3"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"
+PYTHON_TESTS_FAILURES_TOLERANT_ABIS="*-jython"
inherit distutils
-DESCRIPTION="Python library for serializing any arbitrary object graph into JSON."
+DESCRIPTION="Python library for serializing any arbitrary object graph into JSON"
HOMEPAGE="http://jsonpickle.github.com/ http://pypi.python.org/pypi/jsonpickle"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="test"
-RDEPEND="|| ( dev-lang/python:2.7 dev-lang/python:2.6 dev-python/simplejson )"
+RDEPEND="dev-python/simplejson"
DEPEND="${RDEPEND}
- dev-python/setuptools"
-
-src_prepare() {
- distutils_src_prepare
-
- # Fix exit status of runtests.py.
- # thirdparty_tests.py requires dev-python/feedparser.
- sed -i \
- -e "s/main()$/sys.exit(not main().wasSuccessful())/" \
- -e "/thirdparty_tests/d" \
- tests/runtests.py || die "sed failed"
-}
+ test? ( dev-python/feedparser )"
src_test() {
testing() {