diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-15 07:41:50 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-15 07:41:50 +0100 |
commit | b3f2504c1d05b5999b74b2135860fc721e3adf68 (patch) | |
tree | e11656067365c7d474553833d6202ed04d3324a5 /dev-python/pymacaroons | |
parent | e0fdb8199de0e7a9b7c72d7f38d2e3ddaecdacd0 (diff) |
gentoo auto-resync : 15:07:2022 - 07:41:50
Diffstat (limited to 'dev-python/pymacaroons')
-rw-r--r-- | dev-python/pymacaroons/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pymacaroons/pymacaroons-0.13.0.ebuild | 16 |
2 files changed, 14 insertions, 4 deletions
diff --git a/dev-python/pymacaroons/Manifest b/dev-python/pymacaroons/Manifest index 125d053761d4..5008c139e332 100644 --- a/dev-python/pymacaroons/Manifest +++ b/dev-python/pymacaroons/Manifest @@ -1,3 +1,3 @@ DIST pymacaroons-0.13.0.gh.tar.gz 25607 BLAKE2B ff21e88842c54f7ce84e8b3ad59d42ee43f2bb2073ebbb7f47dee123086c1466024420246a4da2eae462bc36e44a3621b75144846e090073c5063b0af24f1ad1 SHA512 60da7e03d68083f8effdc06b338dd04dbd6a39ff137373721af09f1282fb035f969459d2ef80f4d728dcf95f6244b7b2de443e48658e0551462ab46daf3884a2 -EBUILD pymacaroons-0.13.0.ebuild 746 BLAKE2B d13403d01df6bfd5cc2b9fd08c04fb1460e5f8274e95d80653f9b3a1022bda3f8e364bbf2961c44cdc93b6f7c4207808779917349ddd7e53d1bf3d1b12d45edd SHA512 ac50305fd2324421eb9b525a2dcee7392d3329ec47a2e014a458d80130223d94749c39fa9f4fcc8933aaa320e13ed0dc76c40a741783b19b67543697c428e4e9 +EBUILD pymacaroons-0.13.0.ebuild 967 BLAKE2B 0c12e7e88eac80597c8f99d560d822fc6dfa643e1647fae25862000101ebd9dc63ba41bfa2a1c07033ae20d2f4c9825b804f9f888e7288cddb7c2d1360f336f2 SHA512 464c724563d4e6c7d107e516d5efcb7ee3bb1428cce5319044ce9d8d70187ff105fa24422bdd995d64c3e014f9e6f5040003d65ad1dc2d416144bf3329e3910e MISC metadata.xml 525 BLAKE2B 5e4d390565834de4093dc6b579e1aef4fffd3a97b3d83aa038e0bbd4cb1e28acdcfc8bf5a49bd7a2988e79f1dc868c2c3ced235ba2e1917c0f37b915a25a1584 SHA512 bd4bbc4408659318126f279c33b9fd8335c8d9620014ce72594171b28b3ffb2cdb044cd67d560434c849a8baa1d1b21b0c9b16d8e47954b7ea64f170c9edbede diff --git a/dev-python/pymacaroons/pymacaroons-0.13.0.ebuild b/dev-python/pymacaroons/pymacaroons-0.13.0.ebuild index 24e60796d20c..fc5b6826c9b4 100644 --- a/dev-python/pymacaroons/pymacaroons-0.13.0.ebuild +++ b/dev-python/pymacaroons/pymacaroons-0.13.0.ebuild @@ -18,12 +18,22 @@ SRC_URI="https://github.com/ecordell/pymacaroons/archive/v${PV}.tar.gz -> ${P}.g LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" +IUSE="test" -# tests are incompatible with dev-python/hypothesis::gentoo. This package needs -# <2.0.0, because needed hypothesis.specifiers module was removed in 2.0.0. -RESTRICT="test" +RESTRICT="!test? ( test )" RDEPEND=" dev-python/pynacl[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] " +BDEPEND="test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + ) +" + +python_test() { + # The package also contains property_tests, however, they are incompatible + # with dev-python/hypothesis in gentoo. The package requires too old version. + "${EPYTHON}" -m nose -v tests/functional_tests || die "Tests failed with ${EPYTHON}" +} |