dev-python/ujson: depend on unittest2
authorMike Gilbert <floppym@gentoo.org>
Thu, 30 Nov 2017 17:50:07 +0000 (12:50 -0500)
committerMike Gilbert <floppym@gentoo.org>
Thu, 30 Nov 2017 17:50:07 +0000 (12:50 -0500)
Closes: https://bugs.gentoo.org/639294
Package-Manager: Portage-2.3.15, Repoman-2.3.6_p7

dev-python/ujson/Manifest
dev-python/ujson/ujson-1.35.ebuild

index 04f6da34d64de8bddb13f1db3cee10ef3eac4593..3d3cefd2317bd800dd3382eca4f7108fa9fcd5a2 100644 (file)
@@ -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
index 19d94beed9169c6b9b2259c172097e034e7b09a6..237bd4401bc32f07c6a3706b4324bb7320754f42 100644 (file)
@@ -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"