summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2017-11-30 12:50:07 -0500
committerMike Gilbert <floppym@gentoo.org>2017-11-30 12:50:07 -0500
commit47cd3142d51f53febd659f3b6c58eec9c1714742 (patch)
tree8cdf871bec77ac421f8ade19747f5a264e59f970 /dev-python/ujson
parentwww-client/google-chrome-unstable: fix icon install (diff)
downloadgentoo-47cd3142d51f53febd659f3b6c58eec9c1714742.tar.gz
gentoo-47cd3142d51f53febd659f3b6c58eec9c1714742.tar.bz2
gentoo-47cd3142d51f53febd659f3b6c58eec9c1714742.zip
dev-python/ujson: depend on unittest2
Closes: https://bugs.gentoo.org/639294 Package-Manager: Portage-2.3.15, Repoman-2.3.6_p7
Diffstat (limited to 'dev-python/ujson')
-rw-r--r--dev-python/ujson/Manifest2
-rw-r--r--dev-python/ujson/ujson-1.35.ebuild8
2 files changed, 7 insertions, 3 deletions
diff --git a/dev-python/ujson/Manifest b/dev-python/ujson/Manifest
index 04f6da34d64..3d3cefd2317 100644
--- a/dev-python/ujson/Manifest
+++ b/dev-python/ujson/Manifest
@@ -1,2 +1,2 @@
DIST ujson-1.33.zip 197034 SHA256 68cf825f227c82e1ac61e423cfcad923ff734c27b5bdd7174495d162c42c602b SHA512 0f1f66212fbf94c03e048ba64c3bd817c50443d1a29b87f6a3a38f697a050f38821be4ba36a3b17a96930c69ee92973ac31bdd41851dea071af14cd4bbaf8480 WHIRLPOOL d3080fcf3e979b43deb8fe099427a8311c55e7e54105626bf12b3b6fe9e8567f70501884bd24b7a26d53ddfcd98f535de4aa708801106aa4a1b76e543217835c
-DIST ujson-1.35.tar.gz 192027 SHA256 f66073e5506e91d204ab0c614a148d5aa938bdbf104751be66f8ad7a222f5f86 SHA512 931d8f574fc4920c9ded48369774666060e951f40982606ce9f1d9de3420004042af7d797075a54d92a2b25c4f313572a5e1a30f3bc8ce387ef8f3881193eee7 WHIRLPOOL aff7a034304366e95ec51164de78afbee8daa496022abdae1b9928ea90928758e675027f2202ca77790788a3057c978d9ba9348684bc087843aa2e16932a1144
+DIST ujson-1.35.tar.gz 192027 BLAKE2B 320058e7142f2264bee8b02a411bedb3b32d1c2fc86157eb47272f75cb401e6c75ce7d9e3dba5092cd1db99dbded8804347d4c7be11eaedb47bc8b4b8125fbd3 SHA512 931d8f574fc4920c9ded48369774666060e951f40982606ce9f1d9de3420004042af7d797075a54d92a2b25c4f313572a5e1a30f3bc8ce387ef8f3881193eee7
diff --git a/dev-python/ujson/ujson-1.35.ebuild b/dev-python/ujson/ujson-1.35.ebuild
index 19d94beed91..237bd4401bc 100644
--- a/dev-python/ujson/ujson-1.35.ebuild
+++ b/dev-python/ujson/ujson-1.35.ebuild
@@ -14,10 +14,14 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="test"
+RESTRICT="!test? ( test )"
DEPEND="
- dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="${DEPEND}"
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ $(python_gen_cond_dep 'dev-python/unittest2[${PYTHON_USEDEP}]' -2)
+ )
+"
PATCHES=(
"${FILESDIR}/${P}-sort_keys-segfault.patch"