Permalink
Browse files

Added python-cjson-1.0.5.ebuild

  • Loading branch information...
1 parent fb1d904 commit 64ed1a20d8d0aadf01c7f46a0124f8a2560271e0 @andersevenrud committed Nov 16, 2012
Showing with 29 additions and 0 deletions.
  1. +2 −0 dev-python/python-cjson/Manifest
  2. +27 −0 dev-python/python-cjson/python-cjson-1.0.5.ebuild
@@ -0,0 +1,2 @@
+DIST python-cjson-1.0.5.tar.gz 10978 SHA256 85bbe7a9fb6617e24bb4dbef528af8ef6eae07f8809dcd05ec926142feca7714 SHA512 ba47337df70e27a9d44daa96c1d4f8d1a846193486ad78279e29ae7016bb2adb9146c0926fb99c7312c6fe9fea63b6cf947ef2a8faea376e27e004bdd55fb0ed WHIRLPOOL c800013ec95c707a442a5397e619afaac33a975d8522effe6b6ae2f05ea3f361ce2ac52f2f66371bfb6559aa58062ec2f2f214bbe8b80c7bd3bd0d5a0feba4a9
+EBUILD python-cjson-1.0.5.ebuild 624 SHA256 f6628756cda1f629cd976ba27293ddf8f3c702d4c0f560ef370ea5f3be3ceb12 SHA512 0fd8f3d5d54c3327be05e7ae2f5fc894fef5b3d80b6bfcfb2ce3cecda1bbcd1bcc4a509494a15350ab45e6d8ad3d53b0ed260a3be5b1222b5ac68483c6702305 WHIRLPOOL 628b8c32a2a7ff07e0b8ea0d218b9950885cd740adfd5f180e2c23ce378f1ca3e42383bbeddf167da01ec3018c6a00c666fb3861904a89f3becb0bb74b8ef78b
@@ -0,0 +1,27 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+PYTHON_DEPEND="2:2.5"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit distutils
+
+DESCRIPTION="Very fast JSON encoder/decoder for Python"
+HOMEPAGE="http://pypi.python.org/pypi/python-cjson/
+ http://ag-projects.com/"
+SRC_URI="http://pypi.python.org/packages/source/p/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples"
+
+src_test() {
+ testing() {
+ PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" jsontest.py
+ }
+ python_execute_function testing
+}

0 comments on commit 64ed1a2

Please sign in to comment.