summaryrefslogtreecommitdiff
path: root/dev-python/python-cjson/python-cjson-1.2.1.ebuild
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2018-04-29 00:29:56 -0400
committerTim Harder <radhermit@gentoo.org>2018-04-29 00:29:56 -0400
commit2f086782b1fe009d8cce5581a8efb28014e7fc87 (patch)
tree150271c319b247ad900be8b55f8065c53bbe0c39 /dev-python/python-cjson/python-cjson-1.2.1.ebuild
parentbf39b1e9e395a18463756f7ebef467b648985334 (diff)
downloadgentoo-2f086782b1fe009d8cce5581a8efb28014e7fc87.tar.gz
gentoo-2f086782b1fe009d8cce5581a8efb28014e7fc87.tar.bz2
gentoo-2f086782b1fe009d8cce5581a8efb28014e7fc87.zip
dev-python/python-cjson: version bump to 1.2.1
Diffstat (limited to 'dev-python/python-cjson/python-cjson-1.2.1.ebuild')
-rw-r--r--dev-python/python-cjson/python-cjson-1.2.1.ebuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-python/python-cjson/python-cjson-1.2.1.ebuild b/dev-python/python-cjson/python-cjson-1.2.1.ebuild
new file mode 100644
index 000000000000..3e69886a4c10
--- /dev/null
+++ b/dev-python/python-cjson/python-cjson-1.2.1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="Fast JSON encoder/decoder for Python"
+HOMEPAGE="https://github.com/AGProjects/python-cjson"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2+"
+SLOT="0"
+IUSE=""
+
+KEYWORDS="~amd64 ~x86"
+
+python_test() {
+ "${PYTHON}" jsontest.py || die
+}