diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-02-02 01:39:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-02-02 01:39:05 +0000 |
commit | fcc5224904648a8e6eb528d7603154160a20022f (patch) | |
tree | 3bfce096b38a9cea8eed13fc70c1526c456e9abd /dev-python/mongomock | |
parent | 2fd57282f0262ca084e05b0f2c63fbada395d02b (diff) |
gentoo resync : 02.02.2022
Diffstat (limited to 'dev-python/mongomock')
-rw-r--r-- | dev-python/mongomock/Manifest | 2 | ||||
-rw-r--r-- | dev-python/mongomock/mongomock-4.0.0.ebuild | 33 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/mongomock/Manifest b/dev-python/mongomock/Manifest index f6e59dcf52c6..86166be362d2 100644 --- a/dev-python/mongomock/Manifest +++ b/dev-python/mongomock/Manifest @@ -1,3 +1,5 @@ DIST mongomock-3.23.0.tar.gz 123705 BLAKE2B d58f867628c8c80e1289c1a86fa910585431b5eca41818201dccd54d5adccb55c35aea41566ab2d483c7040cfcaa4c2afdbaad39fdd901497a0e1db4effd1c11 SHA512 35442f29907bb58693059a33f5941ca557965fe2b0b9b68ab3e4b31f5e2326bb41db8716a089dd18a1a1fdd5523a729b48a85e0caa0daca1bad2790c2ac017a9 +DIST mongomock-4.0.0.tar.gz 145478 BLAKE2B fad07cd15f250f81dd483814d6a3c15e69a86f4ee9a27308a3a08961f11a38c1abfc3bfa0a36dd81e14c902946c9aefd6ac29a9dde95dbf3e5b0781e7f9c8aca SHA512 e489dd9f312762f0322dfcc34b85912b5e47fa838bd48561aab9c195f19002c8e5f3617a1cc45929e9476aede7733286b5f6246f54be7396c422da5920bd89d5 EBUILD mongomock-3.23.0.ebuild 853 BLAKE2B 40f41a059f159ec6d94de0ab938cb3733825990e02284ec4f31d35d19faff33e7f678fae81a77fca53edc1cbc761b10eb65325e492b687eb405117f45046e4ab SHA512 a23436bc9122f188108cf43feb3bdb42a13624603d8407f1463d53a66239eb88d0da77d96578571a57f3bfec7c5b462843f062e10db6dc6158b198ffcd833e52 +EBUILD mongomock-4.0.0.ebuild 927 BLAKE2B f7e03c281e56a5eca256c1db32adf45a1482b20aeb9a54569e910e991de84d8855c36ffc80da4b5ca9f2bf405b516d7f931699bc2ebc535c802462e18bb3fba4 SHA512 fac392775b86e4094801784f0d4463d3a9ac7e84b8734cf0647ca9ef35a85e0b564fe6e5e9c4adf2301bfcca13760239e10628c993f628c1a0dfc8c60f9e526b MISC metadata.xml 396 BLAKE2B 8a8168fa634a76d7bd5d134b5fddf01b1d11fa83055503f096e8c3fc8fe22dca1f601534af6d9fad70e331bd4ca23d041eb4dc7ae2cc0f899db1d23c73a5b0d6 SHA512 6135b3022dd6145d8fe56d4bd7702d335f1d876e3eeacc4ca1c811a374b31dba541db1475849346ca94445a1a5489fcdd08875369b1f6f52fa8bc49750a92682 diff --git a/dev-python/mongomock/mongomock-4.0.0.ebuild b/dev-python/mongomock/mongomock-4.0.0.ebuild new file mode 100644 index 000000000000..1763b82a094f --- /dev/null +++ b/dev-python/mongomock/mongomock-4.0.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Library to help testing Python code that interacts with MongoDB via Pymongo" +HOMEPAGE="https://github.com/mongomock/mongomock https://pypi.org/project/mongomock/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=">=dev-python/pbr-5.1.1[${PYTHON_USEDEP}]" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pymongo-3.10.1[${PYTHON_USEDEP}] + >=dev-python/sentinels-1.0.0[${PYTHON_USEDEP}] + >=dev-python/six-1.14.0[${PYTHON_USEDEP}]" + +src_test() { + # Use NO_LOCAL_MONGO to disable tests that need a MongoDB instance. + # TZ=UTC needed for date/time tests to pass + TZ=UTC NO_LOCAL_MONGO=1 distutils-r1_src_test +} + +distutils_enable_tests pytest |