summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-01-03 07:46:22 +0000
committerTim Harder <radhermit@gentoo.org>2013-01-03 07:46:22 +0000
commit9b8b4c649205320ab5e08dd63f0bc3b2ccfa735f (patch)
tree9864442d197f2521f57a576fcc76e67a0e26ab5d /dev-python/simplejson
parentVersion bump, install docs conditionally wrt #411383 by Andrew Savchenko <bir... (diff)
downloadgentoo-2-9b8b4c649205320ab5e08dd63f0bc3b2ccfa735f.tar.gz
gentoo-2-9b8b4c649205320ab5e08dd63f0bc3b2ccfa735f.tar.bz2
gentoo-2-9b8b4c649205320ab5e08dd63f0bc3b2ccfa735f.zip
Version bump.
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'dev-python/simplejson')
-rw-r--r--dev-python/simplejson/ChangeLog9
-rw-r--r--dev-python/simplejson/simplejson-3.0.4.ebuild40
2 files changed, 47 insertions, 2 deletions
diff --git a/dev-python/simplejson/ChangeLog b/dev-python/simplejson/ChangeLog
index f240f19db917..551e2d0891b4 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.82 2012/12/31 08:53:14 djc Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/simplejson/ChangeLog,v 1.83 2013/01/03 07:46:22 radhermit Exp $
+
+*simplejson-3.0.4 (03 Jan 2013)
+
+ 03 Jan 2013; Tim Harder <radhermit@gentoo.org> +simplejson-3.0.4.ebuild:
+ Version bump.
*simplejson-3.0.0 (31 Dec 2012)
diff --git a/dev-python/simplejson/simplejson-3.0.4.ebuild b/dev-python/simplejson/simplejson-3.0.4.ebuild
new file mode 100644
index 000000000000..ebe730f74164
--- /dev/null
+++ b/dev-python/simplejson/simplejson-3.0.4.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/simplejson/simplejson-3.0.4.ebuild,v 1.1 2013/01/03 07:46:22 radhermit Exp $
+
+EAPI="5"
+PYTHON_DEPEND="2 3:3.3"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.1 3.2"
+
+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 || 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
+}