diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
commit | d18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch) | |
tree | 4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /dev-python/mongomock | |
parent | e748ba9741f6540f4675c23e3e37b73e822c13a4 (diff) |
gentoo resync : 15.06.2021
Diffstat (limited to 'dev-python/mongomock')
-rw-r--r-- | dev-python/mongomock/Manifest | 2 | ||||
-rw-r--r-- | dev-python/mongomock/mongomock-3.23.0.ebuild | 31 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/mongomock/Manifest b/dev-python/mongomock/Manifest index d8eab05afed8..3837a33d0ac6 100644 --- a/dev-python/mongomock/Manifest +++ b/dev-python/mongomock/Manifest @@ -1,3 +1,5 @@ DIST mongomock-3.22.1.tar.gz 121742 BLAKE2B b325fd917f27712d1fdd35564dd27e02a69a417b40c975b447d1d553a170fb45978303b47878e094c6360930b0293f7353552522b54c9228f8083ea88e672510 SHA512 efd8e46986076fb1b6aa2d68d17b136191bcb90408da305a860a99a86ce06c8377ea5f684902761ceb38b5e914b75f7307e9a73477a3297b502241d7517fc143 +DIST mongomock-3.23.0.tar.gz 123705 BLAKE2B d58f867628c8c80e1289c1a86fa910585431b5eca41818201dccd54d5adccb55c35aea41566ab2d483c7040cfcaa4c2afdbaad39fdd901497a0e1db4effd1c11 SHA512 35442f29907bb58693059a33f5941ca557965fe2b0b9b68ab3e4b31f5e2326bb41db8716a089dd18a1a1fdd5523a729b48a85e0caa0daca1bad2790c2ac017a9 EBUILD mongomock-3.22.1.ebuild 852 BLAKE2B e64e7194e6900d55673d33e161d3aaf2a4bf9b7ce11078201c9c8df0befc617cc844c4d3634a0edbd8144c24aaba51e2f6aa24728179ebbab323ad28d9c462c1 SHA512 41919b31354f337d332efb5788e32c1f29b27d0694cdefa1869ee18147521ee8189defe867d80f732c872e38e0d081b257fb1389fe16249704b476e9ffd46023 +EBUILD mongomock-3.23.0.ebuild 854 BLAKE2B 5c3ea50a873f09f0514458c84103b23a044678f2a7d61280e592a3a5caeda6e3452d2af268ba295ecac6a28d6fab56885f543320cd61bae576190787b34a2d0a SHA512 4c3058fcc1100bb47f944c0c5a82b580b8a3dd5919f9ab788761e29efcfb0ffda0b57a0f6a3ec38acd213f8f629cbed888879a517dcd708795a4806b0ff028f6 MISC metadata.xml 395 BLAKE2B 348ffbb9c7274a10413f5805e9af06ebf7dd5ccc3b4493d7f876cbf370cec2d42a16280648097e2c1c273cddfbb55417f0b33f206acba49a91685bef1cf6be75 SHA512 dc60cc89f839255497b4cd2f9fd020cf0e300ffc2944ae681ced5368d6e4dbe307e10a6752aa1594a2730392928016e6a7dade21fda3f4ab715d09c332ed5d9c diff --git a/dev-python/mongomock/mongomock-3.23.0.ebuild b/dev-python/mongomock/mongomock-3.23.0.ebuild new file mode 100644 index 000000000000..c7b70822284d --- /dev/null +++ b/dev-python/mongomock/mongomock-3.23.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..9} ) + +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/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 |