summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2013-05-27 00:57:33 +0000
committerMike Gilbert <floppym@gentoo.org>2013-05-27 00:57:33 +0000
commit8570980ba69e40280e4b07d92ba630ab8f9b7238 (patch)
tree2383635613cffccb466eede43ca4d0ba590e0d14 /dev-python/jsonschema
parentFix security bug #372967. Also fixes bugs #335077, #331901, #370611, #403893,... (diff)
downloadhistorical-8570980ba69e40280e4b07d92ba630ab8f9b7238.tar.gz
historical-8570980ba69e40280e4b07d92ba630ab8f9b7238.tar.bz2
historical-8570980ba69e40280e4b07d92ba630ab8f9b7238.zip
Version bump. Add a test phase and several python impls.
Package-Manager: portage-2.2.0_alpha177/cvs/Linux x86_64 Manifest-Sign-Key: 0x0BBEEA1FEA4843A4
Diffstat (limited to 'dev-python/jsonschema')
-rw-r--r--dev-python/jsonschema/ChangeLog7
-rw-r--r--dev-python/jsonschema/Manifest20
-rw-r--r--dev-python/jsonschema/jsonschema-2.0.0.ebuild28
3 files changed, 40 insertions, 15 deletions
diff --git a/dev-python/jsonschema/ChangeLog b/dev-python/jsonschema/ChangeLog
index 4c24d29d9812..bcc8bda57424 100644
--- a/dev-python/jsonschema/ChangeLog
+++ b/dev-python/jsonschema/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/jsonschema
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/jsonschema/ChangeLog,v 1.5 2013/05/01 18:29:31 chutzpah Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/jsonschema/ChangeLog,v 1.6 2013/05/27 00:57:31 floppym Exp $
+
+*jsonschema-2.0.0 (27 May 2013)
+
+ 27 May 2013; Mike Gilbert <floppym@gentoo.org> +jsonschema-2.0.0.ebuild:
+ Version bump. Add a test phase and several python impls.
*jsonschema-1.3.0 (01 May 2013)
diff --git a/dev-python/jsonschema/Manifest b/dev-python/jsonschema/Manifest
index 6b115f066f72..5d199a8a68f0 100644
--- a/dev-python/jsonschema/Manifest
+++ b/dev-python/jsonschema/Manifest
@@ -4,25 +4,17 @@ Hash: SHA256
DIST jsonschema-0.7.tar.gz 15656 SHA256 b459747a1f615bcdb13ec20cbc753f486118e3b589d8ef7e72857bd33996ea44 SHA512 90eb89bb336595f783cf10603a4c0945567281b3f3aedbb68a5dda67b5fd3ec8c61311837b1a0d7291caecc843402e2945f80aa6529794f234fc3caf23cd502c WHIRLPOOL ab0bd1a9f31d61130052336e75e21c38772355a02f26e092239eeca43a78ccaeb2831ccbeaa765847af38ae1b70092e4bd9dc2c4db6a8a75cf8e1ffcf7a2a568
DIST jsonschema-0.8.0.tar.gz 17809 SHA256 2db223fca5e285798ff7f15ce3595657abb148c628306d06c8ecc1c166542429 SHA512 a2a5f4dca193d08ff43b3e9a3ac5088e05dcab73ebf9c7c7294068c127310ba7a38066309b5ece33f3e836c6093835edf1c41913f20a171085cf488b1598d186 WHIRLPOOL 698ade5f036d1f3a9f39fba06063a4c3f6064e934a8ff445084c26eab253ee8a563aaaed40c23a32aa51a2779d92e3796f3ca0af9d3b3fded1122f8a97aca43e
DIST jsonschema-1.3.0.tar.gz 37038 SHA256 c2a5b7bcf7f8e013e1ce2760c4c379a13719b2ce7006d295c50756f6ddd313e5 SHA512 4ff7e54ee25fb663c7308a5887adc37cbbdf377dfb27a3d1e587fa01e7f1b3525cbe3a7f378875038eb77ed27765573d11e53c29ecc0e2b359a60500f19620a3 WHIRLPOOL 906077336de4a38cd82fdac422d1e3138ce9c0c97d4f6a2ff24281889fc90b3374d233061fc220ca7ae9e053853832d69f6837453a59953d6f1ec8c00fd62700
+DIST jsonschema-2.0.0.tar.gz 39933 SHA256 c2c8483be59aea3df568d8aad2b3296ef7ea767639efe6e0363c722f7f096322 SHA512 da9f2c28799d32f3c8663fa553ed16adf2a3ef67cdca156ff2eb58b4c2996aa31bbc17d1e4d46e1775656d028bbfa397d04f51bc6717b9af545b5b7b2bde8cd6 WHIRLPOOL 8759847b10abf27b0fd614ffd855b6bf1296179c6f05881e56f194fea6802bf44fd0d30d48028ffde9a18c4224cd0af8faa7905074f8daf45129d33aa90c646b
EBUILD jsonschema-0.7.ebuild 547 SHA256 34229523fc12d54801eb39358434e9178b09d96353dc3d62715c12389b5db213 SHA512 bca158ce2ae231c2ebe849a229e735ab5673287182a8d8dfa10bc0d9050da644d977f8ce7d02c52338671bd0c7c710f1c737847f52b7956c7aa5951d8c38e909 WHIRLPOOL b295b6ee6cb4f630bd797f34251d5d1019734dda9e78e64dd1b5f4cb0699d017a760f825870e97e626b82ab55e159b2627e880aee6e4cd687a1e0b83801b2a88
EBUILD jsonschema-0.8.0.ebuild 562 SHA256 17a742e5a5afdbc6fabf33a5e7fd87730bfd9ce6653b4b8998a27b8a9602c810 SHA512 5b55448508914ad35bed0d2afc9bd2c16dd94b4a4e17cfbaced0f2377af3083468078c9d24fc27d4697202f6a766ade407a9ec03c84d079bf6ff2bc187e0fb89 WHIRLPOOL df07d39d084cd6874f5e2dfdd479e105c4b8fbcc7c3af84c0eee1083e23aca610c24312c625d993e04b36560c56b40e1ca0c790067de25e8be481c5a2ca75aa1
EBUILD jsonschema-1.3.0.ebuild 543 SHA256 e2967be7931dae2656e128aca3673a3b13c8c2bf60f8b13f381f1574fdcb942f SHA512 cc4f4ad89eb2f45a69ca1ff96cf6a354e36d308730d5dd9983e3fa325a87cb50bb093aa0de335f17a641850a82744861113e8553478b0fb2cb6722086eb5cb64 WHIRLPOOL c167199ba03738a77015a31b61becee13f54fb8f8171677215670c4d5445180892f51b01a1fbba8dcc3dd62b3b1298665b5cc7bb3c2012af87d8445e0f6222a7
-MISC ChangeLog 910 SHA256 fb0a555f72ace6a5007021724f9f613f4a4dc6a493eb5443e36c0847a2fd4425 SHA512 7c52e231d14bc5b841c5e7ee6ef8bfbd1302b2be16763afa84530b6d08ec8e05605a4e18de04f537c1dbbfa23fef627b92f59c4b32253767e8a721d68af7fdb8 WHIRLPOOL 2e76b5ae480d4b8a1e807ef3de5a166c415c6645cff70a23ba870f9efc20cdc24df518b216a2834edd107866a544955a0ab587c87ed3afb28838d6fad7bd90b7
+EBUILD jsonschema-2.0.0.ebuild 860 SHA256 03cb1f6a6f0c9d3e693121f300ad848468c972bbd22df14973c1fd4fbb205ae0 SHA512 1b80d6391558ba8440da536d6ee8b83f34e46eb61ffe23c02068d0f8c5cc8d3d0e8aff627211ee5646278a389e358ec0bc2b8b500cae783c2b754b78aad221b3 WHIRLPOOL 977d32f49b19c3f3549eef57d8410ae3c34a282a9c2a973c7e9370aa1efaf185ab0d9e6d3e1eed16989d9f01801f025da7555258ab9a5616e6ab476f9506c0ae
+MISC ChangeLog 1077 SHA256 c5fcefeda25b8ac9784e6094e3730dc7afc29f42645f91829adaaf3c57c27d8a SHA512 cca1f95db90538dcf54e6efef194fa8b2a8ace71913bce1c774c08f29b39fe00297cdc6e686e806fa226a3b8dfc61cc5c1f2f7453a0c298141199cd9e9ed0824 WHIRLPOOL 32bb668b6001b2b0c194a11069e85781cc9c0764b228cf074e68ed755437639ed357835d7b88e77e8f4a55eacf9ab4e0e63227e56619745ca9a5d25984f13651
MISC metadata.xml 396 SHA256 72d8a9029a0fe2cd2a1ef26fbb24ff65024987b26907e8616bbefb69de104153 SHA512 1df608d9b1494a7ec4da1eeec6d24e8495dd14fcb460cdf6ea50097e32ea5e79c6ed08cfdf0413d41a530a6902c928589097fafd523ba0772edeeef445beac12 WHIRLPOOL b8bb52624f34a3f54f6884f7e0022ef4047bf75f32595637fc6e967e7607355a3138b0259e2909eab06bce29d06b40da7823a32f0cd2420339561f37f1a8fb80
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQIcBAEBCAAGBQJRgV8NAAoJEHy/RO9cNQiD3ZoQALvqcyImwqFN9HykAprAENfQ
-EspNuqmMpl0CK4J8geqN2f8lxD/rwxT2aJZfJIHqYRvb6ioGYg7dKfKKhHmWMrU3
-pEv8s1vCeGnJ3KAKW9NC84wb+720MgRA3/FarrpY+4UjrXkvtttI7gvqlbkEDjZp
-D5W7PYkVv/XWc35RRwQRdahEjmok6uwqlmQUSp5xznQb60q84H8Iegf/F5yPsqgt
-CKmyHSur3fzVtjzQB8D7gX+6fL7PRXvTQnNljK7I0GvzuljFp90t2tBhTLBe1CGZ
-yCtllqPFIExT/ixklvLM3U0pm+tfuj5qxr8t9aKMxHxvoJrJm59gpoChcDIxCpii
-snR7i7OexEXJFhfKphNDEDyi31oJAmP7M5etycVyrEMocxpOJ3qVH/c3X8u7OuTF
-jEfQ/PARsKynRdqBqfrlah0ALoFEsRkWHMBvH56xcD+o/1XvkiE2s7tpdBD4mvEP
-vIJCuGyYpzk02DYDuB35kEGxjdE6z/hKfjccU+ZKp9f8tqanxiAZiNCREOoyw1BL
-HU3EFBVLXpk3Y4lrX/IblL0lwGC5zBoBx4rtgjoEYKwL/i7GIsaCVJzopGQVfx1H
-mbsGdoOqqQKY4BegDh6LwL3PDOasM4FC5TMB7Pna1920r+bpyqUqQYg2UjvEgjrq
-6DCJXmI0NkRIBeDcD67Z
-=NzTq
+iF4EAREIAAYFAlGir3wACgkQC77qH+pIQ6RMPAD/T0p5QcJO3yTSZHQQIGPI0vjf
+mUgJZjJXTK9m5Ya6+B4BAJE97ddiJ9grVudAVhK3hlhblH0z0YGmXWAwd8snJ7Kl
+=q4MN
-----END PGP SIGNATURE-----
diff --git a/dev-python/jsonschema/jsonschema-2.0.0.ebuild b/dev-python/jsonschema/jsonschema-2.0.0.ebuild
new file mode 100644
index 000000000000..db82127eb3d9
--- /dev/null
+++ b/dev-python/jsonschema/jsonschema-2.0.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/jsonschema/jsonschema-2.0.0.ebuild,v 1.1 2013/05/27 00:57:31 floppym Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_9,2_0} )
+inherit distutils-r1
+
+DESCRIPTION="An implementation of JSON-Schema validation for Python"
+HOMEPAGE="http://pypi.python.org/pypi/jsonschema"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="test? ( virtual/python-unittest2[${PYTHON_USEDEP}] )"
+RDEPEND=""
+
+python_test() {
+ local runner=( "${PYTHON}" -m unittest )
+ if [[ ${EPYTHON} == python2.6 || ${EPYTHON} == python3.1 ]]; then
+ unset PYTHONPATH
+ runner=( unit2.py )
+ fi
+ "${runner[@]}" discover || die "Testing failed with ${EPYTHON}"
+}