diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /dev-python/ujson | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'dev-python/ujson')
-rw-r--r-- | dev-python/ujson/Manifest | 3 | ||||
-rw-r--r-- | dev-python/ujson/ujson-1.33.ebuild | 1 | ||||
-rw-r--r-- | dev-python/ujson/ujson-1.35-r1.ebuild | 38 |
3 files changed, 41 insertions, 1 deletions
diff --git a/dev-python/ujson/Manifest b/dev-python/ujson/Manifest index 5839b191a6d5..0555596ed237 100644 --- a/dev-python/ujson/Manifest +++ b/dev-python/ujson/Manifest @@ -7,6 +7,7 @@ AUX ujson-1.35-test-depricationwarning.patch 369 BLAKE2B 9fbc92d557049d8790b664e AUX ujson-1.35-use-static-where-possible.patch 19904 BLAKE2B dcf5691a43dd068635f6be23b9dc5c3a7ff2d9a66c836dc75954f7625f7aef4d55e06e90f3c030f8bc2f4db80b34cb540e09183939880bbf32225bc23c58f3fa SHA512 fe96f88cde477bfdc63ad5cf360ab6c63e2cf00c192a8d70d80340b7e39820ca53554a775c8f32b7ca43259e9f299fe38ebaf4aa64ef12c035bf23085f5b5789 DIST ujson-1.33.zip 197034 BLAKE2B 587e00292340d69fdda9720d66bb360ed646f8c709e279f905f7fdf2db79a2ec51856dce998fd3e2fe5b3bf067c72ad661f77154bc3d63cee4c3eea10bca29ec SHA512 0f1f66212fbf94c03e048ba64c3bd817c50443d1a29b87f6a3a38f697a050f38821be4ba36a3b17a96930c69ee92973ac31bdd41851dea071af14cd4bbaf8480 DIST ujson-1.35.tar.gz 192027 BLAKE2B 320058e7142f2264bee8b02a411bedb3b32d1c2fc86157eb47272f75cb401e6c75ce7d9e3dba5092cd1db99dbded8804347d4c7be11eaedb47bc8b4b8125fbd3 SHA512 931d8f574fc4920c9ded48369774666060e951f40982606ce9f1d9de3420004042af7d797075a54d92a2b25c4f313572a5e1a30f3bc8ce387ef8f3881193eee7 -EBUILD ujson-1.33.ebuild 1133 BLAKE2B 98a14f835918b7462b7e5e37f607b26b72e4b27ac536b3586e14c66e0c90d88b6fa76e74d5d3ed5904d64e4bbb83e4efd883666607dcc7b82b320e7965cb1594 SHA512 2708294dd79e31a4c4cd5452cf07d88d174a495075b89e99743c68c3773e80514026e29c0f6de70b986598ec6217106cafa376e5a91ea85e0c93a315485f18c1 +EBUILD ujson-1.33.ebuild 1160 BLAKE2B d45318ba94420dc8d52b5368def390fc0734ab1691418a6f5ca9479547cbba5b3c78fc62a678cd3854bbd51ba3e83afab7360870ea8ad73299a71199ba790e94 SHA512 b64920ef59fcdbcce06641e7cbcbb696222f9ed82c0960f0b49d4ba02e0de741537951c06d0776147786d162a1b1518d6814e6cdb2193d76717d12c23b8e34e7 +EBUILD ujson-1.35-r1.ebuild 1000 BLAKE2B 1ebf42fb6427f3225c930b4f36299adedda1a902ba0ba980ed6995e13b2c9fa2c2799175cabcebeb8ad98dea82d2c36b7a01bba533eb014ce8185d10bdcbbb5a SHA512 45850703c1c621838d35cb1a4486c1562da3f0adf68f0bcddc7d2f5a4f8a04208c5ef889b02ce2420984c1196a066eb7d32b8eb4610cce0affedbd15aff80d74 EBUILD ujson-1.35.ebuild 986 BLAKE2B bd3e25ae75e51bfc638d86a58cfc7b62a782e9c9907c4ac605746e514e30fc62517702aac8b46856a25a80af632c5cd2f9f7d72d6ee8edd04837167e5ebafb82 SHA512 f96d217eac09bfc694aeecdc48619b3b7948471c5b0668e38e6fdf655016fe8ccab268a4387c803595eeb06e6d317ebc7a3a1a82e2d16a509d08d2e450ed4ccb MISC metadata.xml 432 BLAKE2B 9218fa7b4dcf0c44ae1d5b30869a2f8981dc03714245aa258de0552e5f27de7cc359acdcb8d22da82069bcf465a91ac7d4401f111cf52abedbe4451e08d67153 SHA512 485e866809b2704a344436f956dd242b8720ecf46daf53a7a64fcf8a5edd3b3915faf59d48da4224b361ba35f7ab8c346e16b0a037cf8846d663d175486bed8f diff --git a/dev-python/ujson/ujson-1.33.ebuild b/dev-python/ujson/ujson-1.33.ebuild index 436155a5b533..21bf458e20fc 100644 --- a/dev-python/ujson/ujson-1.33.ebuild +++ b/dev-python/ujson/ujson-1.33.ebuild @@ -17,6 +17,7 @@ LICENSE="BSD" SLOT="0" KEYWORDS="amd64 arm x86" IUSE="test" +RESTRICT="!test? ( test )" DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] diff --git a/dev-python/ujson/ujson-1.35-r1.ebuild b/dev-python/ujson/ujson-1.35-r1.ebuild new file mode 100644 index 000000000000..006979f5c980 --- /dev/null +++ b/dev-python/ujson/ujson-1.35-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} ) + +inherit distutils-r1 + +DESCRIPTION="Ultra fast JSON encoder and decoder for Python" +HOMEPAGE="https://pypi.org/project/ujson/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + $(python_gen_cond_dep 'dev-python/unittest2[${PYTHON_USEDEP}]' -2) + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/${P}-sort_keys-segfault.patch" + "${FILESDIR}/${P}-use-static-where-possible.patch" + "${FILESDIR}/${P}-fix-for-overflowing-long.patch" + "${FILESDIR}/${P}-standard-handling-of-none.patch" + "${FILESDIR}/${P}-fix-ordering-of-orderdict.patch" + "${FILESDIR}/${P}-test-depricationwarning.patch" +) + +python_test() { + "${PYTHON}" tests/tests.py || die +} |