diff options
author | Patrick Lauer <patrick@gentoo.org> | 2012-06-28 07:36:02 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2012-06-28 07:36:02 +0000 |
commit | b2c22ba86531a742945f2a4c99aa391e93c6f06f (patch) | |
tree | eda8267ee78936da7dfb5560e2d0e8b35d223331 /dev-python/simplejson | |
parent | Remove old version. (diff) | |
download | gentoo-2-b2c22ba86531a742945f2a4c99aa391e93c6f06f.tar.gz gentoo-2-b2c22ba86531a742945f2a4c99aa391e93c6f06f.tar.bz2 gentoo-2-b2c22ba86531a742945f2a4c99aa391e93c6f06f.zip |
Bump
(Portage version: 2.2.0_alpha114/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/simplejson')
-rw-r--r-- | dev-python/simplejson/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/simplejson/simplejson-2.6.0.ebuild | 43 |
2 files changed, 49 insertions, 2 deletions
diff --git a/dev-python/simplejson/ChangeLog b/dev-python/simplejson/ChangeLog index 635019db2a7e..337e515f8bcd 100644 --- a/dev-python/simplejson/ChangeLog +++ b/dev-python/simplejson/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/simplejson # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/simplejson/ChangeLog,v 1.67 2012/05/29 19:58:34 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/simplejson/ChangeLog,v 1.68 2012/06/28 07:36:02 patrick Exp $ + +*simplejson-2.6.0 (28 Jun 2012) + + 28 Jun 2012; Patrick Lauer <patrick@gentoo.org> +simplejson-2.6.0.ebuild: + Bump 29 May 2012; Brent Baude <ranger@gentoo.org> simplejson-2.5.0.ebuild: Marking simplejson-2.5.0 ppc for bug 415881 @@ -274,4 +279,3 @@ 03 Feb 2007; Tiziano Müller <dev-zero@gentoo.org> -simplejson-1.4.ebuild, +simplejson-1.5.ebuild, +metadata.xml: Initial ebuild for bug #129346 (thanks to Brad Walker) - diff --git a/dev-python/simplejson/simplejson-2.6.0.ebuild b/dev-python/simplejson/simplejson-2.6.0.ebuild new file mode 100644 index 000000000000..94849c268d00 --- /dev/null +++ b/dev-python/simplejson/simplejson-2.6.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/simplejson/simplejson-2.6.0.ebuild,v 1.1 2012/06/28 07:36:02 patrick Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils + +DESCRIPTION="Simple, fast, extensible JSON encoder/decoder for Python" +HOMEPAGE="http://undefined.org/python/#simplejson http://pypi.python.org/pypi/simplejson" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="" + +DEPEND="" +RDEPEND="" + +PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") + +src_test() { + testing() { + if [[ "$(python_get_implementation)" != "Jython" ]]; then + ln -fs ../$(ls -d build-${PYTHON_ABI}/lib*)/simplejson/_speedups.so simplejson/_speedups.so || return 1 + fi + PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" simplejson/tests/__init__.py + } + python_execute_function testing +} + +src_install() { + distutils_src_install + + delete_tests() { + rm -fr "${ED}$(python_get_sitedir)/simplejson/tests" + } + python_execute_function -q delete_tests +} |