From d7c522f1778c0fac1cbbdcb3f648e1d313512ad9 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Tue, 8 Sep 2015 02:46:31 +0200 Subject: [PATCH] dev-python/python-cjson: initial import of version 1.1.0 Gentoo-Bug: 446188 --- dev-python/python-cjson/Manifest | 2 ++ dev-python/python-cjson/metadata.xml | 29 +++++++++++++++++++ .../python-cjson/python-cjson-1.1.0.ebuild | 19 ++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 dev-python/python-cjson/Manifest create mode 100644 dev-python/python-cjson/metadata.xml create mode 100644 dev-python/python-cjson/python-cjson-1.1.0.ebuild diff --git a/dev-python/python-cjson/Manifest b/dev-python/python-cjson/Manifest new file mode 100644 index 000000000000..8f27ee03fac4 --- /dev/null +++ b/dev-python/python-cjson/Manifest @@ -0,0 +1,2 @@ +DIST python-cjson-1.1.0.tar.gz 12298 SHA256 a01fabb7593728c3d851e1cd9a3efbd18f72650a31a5aa8a74018640da3de8b3 SHA512 039e5f724c3a49d0043f788b0634c4191a6ae5abaa012d8491622e5a9ac22ecc5a342a0243f70b0ac02c8640243aaf8b0cf20a0ab12ee4866d9af966d73c1706 WHIRLPOOL 509817683798ef7e9dd7a22c13bff52ce5eb48cdf4aed996603b89fe8d8270e24e90f240adcd14efd1d5326c45edb4f440269e32b7bcb445409a83d44baf067f +EBUILD python-cjson-1.1.0.ebuild 580 SHA256 ebf8ea33fffacc8f3993319e4f1e28a51abf951e0d4bf804791ee26597c13fe8 SHA512 191bac2ca1396427f932b554bda9c978c6bdbb2318f992ebe2f2fc355f8e54eb7ec1ebb25d4be773aaede9a357dd1ab9c34a29aad19ca6d729e928078a515690 WHIRLPOOL d10bd60c40525345ac62b8ff20d1e19c1709965d6e0963c5207114edd4e66c831c85cc4349e13cb819539b1bab2a7ccadd2cb77c965acd40e36e79a1848ffe0c diff --git a/dev-python/python-cjson/metadata.xml b/dev-python/python-cjson/metadata.xml new file mode 100644 index 000000000000..2018cab26b22 --- /dev/null +++ b/dev-python/python-cjson/metadata.xml @@ -0,0 +1,29 @@ + + + + python + + hasufell@gentoo.org + Julian Ospald + + + This module implements a very fast JSON encoder/decoder for Python. + + JSON stands for JavaScript Object Notation and is a text based + lightweight data exchange format which is easy for humans to + read/write and for machines to parse/generate. JSON is completely + language independent and has multiple implementations in most of + the programming languages, making it ideal for data exchange and + storage. + + The module is written in C and it is up to 250 times faster when + compared to the other python JSON implementations which are written + directly in python. This speed gain varies with the complexity of + the data and the operation and is the the range of 10-200 times for + encoding operations and in the range of 100-250 times for decoding + operations. + + + python-cjson + + diff --git a/dev-python/python-cjson/python-cjson-1.1.0.ebuild b/dev-python/python-cjson/python-cjson-1.1.0.ebuild new file mode 100644 index 000000000000..cb2dfd70af26 --- /dev/null +++ b/dev-python/python-cjson/python-cjson-1.1.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="Fast JSON encoder/decoder for Python" +HOMEPAGE="http://ag-projects.com/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2+" +SLOT="0" +IUSE="" + +KEYWORDS="~amd64 ~x86" -- 2.26.2