diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-12 21:55:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-12 21:55:15 +0000 |
commit | 7218e1b46bceac05841e90472501742d905fb3fc (patch) | |
tree | 56fae051db521b8fce8014cbc8b11484885b14b3 /dev-python/mongoengine | |
parent | 6d691ad5b6239929063441bbd14c489e92e7396e (diff) |
gentoo resync : 12.03.2021
Diffstat (limited to 'dev-python/mongoengine')
-rw-r--r-- | dev-python/mongoengine/Manifest | 2 | ||||
-rw-r--r-- | dev-python/mongoengine/mongoengine-0.23.0.ebuild | 44 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/mongoengine/Manifest b/dev-python/mongoengine/Manifest index 56795a149b2d..e8c4668ea5f6 100644 --- a/dev-python/mongoengine/Manifest +++ b/dev-python/mongoengine/Manifest @@ -1,3 +1,5 @@ DIST mongoengine-0.22.1.tar.gz 321227 BLAKE2B 933850eb85623a33b1f8e124b6c8375a9e0448c39f5cf44a3aa5b281746933043873d6ac32997121b15c611b9c1a50a1194fa8f364bae3009339d50f5ca98bb8 SHA512 a5188e854aede8feddc01c2d7cbaedd0af4faf5ac03d28f8df9d6dd2f7ae58d9de81eb9d4f3bb02daafb85b7fdf8d54ba38994af07bb338af2b27940cc3413ed +DIST mongoengine-0.23.0.tar.gz 322731 BLAKE2B 5aa01b59193fa118d9b9c2110d6ec401090bff768b5b2e5d9c5fea4bcb5ae6714c62d4ff664c3ab24c600d912f90287a8ac77313bc8c50e13c6d191baef69e49 SHA512 9dbc45ebf3d367a829947f404a3979236be7ef0fc39611046e2815b6ab83bdb2ada3db8b6d1f4bec6301677f5b727cc2570bb732050e2ff865da49a5ba63d0aa EBUILD mongoengine-0.22.1.ebuild 1345 BLAKE2B 7eaa40b181c8977de264e3590dc96019045b4a6a657b0959ebf40df19df19037c57aa84eccf7c3225ed15234e57c0f18e6c7ce5ef509cc25b9df13cb73346250 SHA512 781d3610ee521b244f91b31671a035b51a8bceafcd87de14a2ffaf93f119402d1470b48be3cd2c09164ef96ca31af00685512ee1031b94970cf68c928012f89a +EBUILD mongoengine-0.23.0.ebuild 1348 BLAKE2B 5e4ef2fc7d48a7253fd0f20686b7b497671c12d04cbfdc96b719b90c932e7c72285d53558a5de3e4b2c8ada7ed830a364c7aba187e54114432426ef9f66374ca SHA512 9c4f0336620df3389d47dcfb5b7a1f0ec75908aa58f01661228206aeda090bbb2f5d61a593da225613b98314cc66e9463c7964c45e75c9a00a419077a92b2a6b MISC metadata.xml 401 BLAKE2B 85d14e37ee9648d1067f85cd133ffc31023c94057b3bba418c3c047ac7ed7234193ab54f1784908ffbbc23b087675d295ad55e59689dc9be312bc3ac966213fe SHA512 8eec6c724d7d943777ffd842f5963fbb72247aa0e9a66a9de006e56421e3b51e262df3aeb04112f2b91c9251ff3e3abfcd1c018a5bf0621a5a7b1f0ba17fcd1a diff --git a/dev-python/mongoengine/mongoengine-0.23.0.ebuild b/dev-python/mongoengine/mongoengine-0.23.0.ebuild new file mode 100644 index 000000000000..13ab5c94bc56 --- /dev/null +++ b/dev-python/mongoengine/mongoengine-0.23.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +inherit distutils-r1 + +DESCRIPTION="A Python Object-Document-Mapper for working with MongoDB" +HOMEPAGE="https://github.com/MongoEngine/mongoengine/" +SRC_URI="https://github.com/MongoEngine/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +# TODO: make it run a local database server +#RESTRICT="test" + +RDEPEND="dev-python/blinker[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pymongo[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( dev-python/mongomock[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +src_prepare() { + # TODO: investigate + sed -e 's:test_covered_index:_&:' \ + -i tests/document/test_indexes.py || die + # no $eval + sed -e 's:test_exec_js_field_sub:_&:' \ + -e 's:test_exec_js_query:_&:' \ + -e 's:test_item_frequencies_normalize:_&:' \ + -e 's:test_item_frequencies_with_0_values:_&:' \ + -e 's:test_item_frequencies_with_False_values:_&:' \ + -e 's:test_item_frequencies_with_null_embedded:_&:' \ + -i tests/queryset/test_queryset.py || die + # TODO: investigate (wrong order? bad comparison?) + sed -e 's:test_distinct_ListField_EmbeddedDocumentField:_&:' \ + -i tests/queryset/test_queryset.py || die + + distutils-r1_src_prepare +} |