diff options
author | Dirkjan Ochtman <djc@gentoo.org> | 2012-03-29 08:38:35 +0000 |
---|---|---|
committer | Dirkjan Ochtman <djc@gentoo.org> | 2012-03-29 08:38:35 +0000 |
commit | 6e4b6c467c4a8414eebb7fd1d7c378f8058941c6 (patch) | |
tree | 70b1a428fe32f8f616cfa814b46faf2bf15b1b8f /dev-python | |
parent | Stable for amd64, wrt bug #410085 (diff) | |
download | historical-6e4b6c467c4a8414eebb7fd1d7c378f8058941c6.tar.gz historical-6e4b6c467c4a8414eebb7fd1d7c378f8058941c6.tar.bz2 historical-6e4b6c467c4a8414eebb7fd1d7c378f8058941c6.zip |
Version bump simplejson to 2.4.0.
Package-Manager: portage-2.1.10.51/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/simplejson/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/simplejson/simplejson-2.4.0.ebuild | 43 |
2 files changed, 49 insertions, 1 deletions
diff --git a/dev-python/simplejson/ChangeLog b/dev-python/simplejson/ChangeLog index dd257514e8ba..cad53a83f798 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.59 2012/03/02 19:38:23 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/simplejson/ChangeLog,v 1.60 2012/03/29 08:38:35 djc Exp $ + +*simplejson-2.4.0 (29 Mar 2012) + + 29 Mar 2012; Dirkjan Ochtman <djc@gentoo.org> +simplejson-2.4.0.ebuild: + Version bump to 2.4.0. 02 Mar 2012; Markus Meier <maekke@gentoo.org> simplejson-2.3.0.ebuild: arm stable, bug #403269 diff --git a/dev-python/simplejson/simplejson-2.4.0.ebuild b/dev-python/simplejson/simplejson-2.4.0.ebuild new file mode 100644 index 000000000000..f44757d11a8c --- /dev/null +++ b/dev-python/simplejson/simplejson-2.4.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.4.0.ebuild,v 1.1 2012/03/29 08:38:35 djc 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 +} |