Upgraded the jsonrpclib, simplejson Portage packages

Upgraded dev-python/jsonrpclib to version 0_pre20110820 on amd64, arm, x86
Upgraded dev-python/simplejson to version 2.4.0 on amd64, arm, x86

BUG=None
TEST=emerged, built dependent package

Change-Id: I089e3e2e82638a3cbc92a8c30443c33c1488a5c6
Reviewed-on: https://gerrit.chromium.org/gerrit/20586
Reviewed-by: Jon Salz <jsalz@chromium.org>
Tested-by: Jon Salz <jsalz@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Ready: Jon Salz <jsalz@chromium.org>
This commit is contained in:
Jon Salz 2012-04-20 00:13:24 +08:00 committed by Gerrit
parent 4b62e11fd4
commit 64e5c86a2c
6 changed files with 97 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST jsonrpclib-0_pre20110820.tar.bz2 14608 RMD160 c46d74be77ae114dcdd7d829af2bb23d8bdae470 SHA1 cae3e88e63bdf94af4c37e8042c4372f94835d2e SHA256 a31ce391e8f430f2434c538dedb012e879296628a7b2968f1aa41cb36207369d

View File

@ -0,0 +1,28 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/jsonrpclib/jsonrpclib-0_pre20110820.ebuild,v 1.1 2012/04/18 14:54:21 vapier Exp $
EAPI="4"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"
inherit distutils
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://github.com/joshmarshall/jsonrpclib.git"
inherit git-2
else
SRC_URI="mirror://gentoo/${P}.tar.bz2"
KEYWORDS="amd64 arm x86"
fi
DESCRIPTION="python implementation of the JSON-RPC spec (1.0 and 2.0)"
HOMEPAGE="https://github.com/joshmarshall/jsonrpclib"
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}
dev-python/simplejson"

View File

@ -0,0 +1 @@
DIST simplejson-2.4.0.tar.gz 51880 RMD160 8e069b7e024c05ead2b8f33ca372965d07719ea3 SHA1 2b13200892cbb4edd8083a465829732051877791 SHA256 ac0f5122a213ef35c3af6464a2885aef5b56a4954f003eac767dd8e077949885

View File

@ -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
}

View File

@ -0,0 +1,12 @@
DEFINED_PHASES=compile install postinst postrm prepare setup
DEPEND=>=app-admin/eselect-python-20091230 dev-lang/python
DESCRIPTION=python implementation of the JSON-RPC spec (1.0 and 2.0)
EAPI=4
HOMEPAGE=https://github.com/joshmarshall/jsonrpclib
KEYWORDS=amd64 arm x86
LICENSE=Apache-2.0
RDEPEND=dev-python/simplejson >=app-admin/eselect-python-20091230 dev-lang/python
SLOT=0
SRC_URI=mirror://gentoo/jsonrpclib-0_pre20110820.tar.bz2
_eclasses_=distutils b4c334e216d998c4ce4b750cb091e42e multilib 5f4ad6cf85e365e8f0c6050ddd21659e python 6bbd984910e27780e5d0ea543d83ef84 toolchain-funcs 6526ac6fc9aedf391efb91fcd75ace68
_md5_=d18939150d2220da825d56d75a635740

View File

@ -0,0 +1,12 @@
DEFINED_PHASES=compile install postinst postrm prepare test
DEPEND=>=app-admin/eselect-python-20091230 =dev-lang/python-2*
DESCRIPTION=Simple, fast, extensible JSON encoder/decoder for Python
EAPI=3
HOMEPAGE=http://undefined.org/python/#simplejson http://pypi.python.org/pypi/simplejson
KEYWORDS=amd64 arm ~ppc ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos
LICENSE=MIT
RDEPEND=>=app-admin/eselect-python-20091230 =dev-lang/python-2*
SLOT=0
SRC_URI=mirror://pypi/s/simplejson/simplejson-2.4.0.tar.gz
_eclasses_=distutils b4c334e216d998c4ce4b750cb091e42e multilib 5f4ad6cf85e365e8f0c6050ddd21659e python 6bbd984910e27780e5d0ea543d83ef84 toolchain-funcs 6526ac6fc9aedf391efb91fcd75ace68
_md5_=70fbd880d93a8c8bbfa3411ec767bb75