summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-09-23 03:45:31 +0000
committerTim Harder <radhermit@gentoo.org>2012-09-23 03:45:31 +0000
commit3ccb819454860e295e45d1d57cec488fc3b028f4 (patch)
tree40a4d4844cfe59186681340a8a89090da10d4fac /dev-python
parentkeyword ~ppc64, bug #379651 (diff)
downloadgentoo-2-3ccb819454860e295e45d1d57cec488fc3b028f4.tar.gz
gentoo-2-3ccb819454860e295e45d1d57cec488fc3b028f4.tar.bz2
gentoo-2-3ccb819454860e295e45d1d57cec488fc3b028f4.zip
Version bump.
(Portage version: 2.2.0_alpha131/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/simplejson/ChangeLog7
-rw-r--r--dev-python/simplejson/simplejson-2.6.2.ebuild40
2 files changed, 46 insertions, 1 deletions
diff --git a/dev-python/simplejson/ChangeLog b/dev-python/simplejson/ChangeLog
index aae5804b836e..04020a4f3b86 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.73 2012/09/15 02:00:22 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/simplejson/ChangeLog,v 1.74 2012/09/23 03:45:31 radhermit Exp $
+
+*simplejson-2.6.2 (23 Sep 2012)
+
+ 23 Sep 2012; Tim Harder <radhermit@gentoo.org> +simplejson-2.6.2.ebuild:
+ Version bump.
15 Sep 2012; Anthony G. Basile <blueness@gentoo.org> simplejson-2.6.0.ebuild:
Stable ppc, bug #429040
diff --git a/dev-python/simplejson/simplejson-2.6.2.ebuild b/dev-python/simplejson/simplejson-2.6.2.ebuild
new file mode 100644
index 000000000000..8faf973001e6
--- /dev/null
+++ b/dev-python/simplejson/simplejson-2.6.2.ebuild
@@ -0,0 +1,40 @@
+# 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.2.ebuild,v 1.1 2012/09/23 03:45:31 radhermit Exp $
+
+EAPI="4"
+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=""
+
+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 || die
+ 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
+}