diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /dev-python/mongoengine | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'dev-python/mongoengine')
-rw-r--r-- | dev-python/mongoengine/Manifest | 2 | ||||
-rw-r--r-- | dev-python/mongoengine/mongoengine-0.21.0.ebuild | 48 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/mongoengine/Manifest b/dev-python/mongoengine/Manifest index 0d64c8135bfd..e0666ae5c5ee 100644 --- a/dev-python/mongoengine/Manifest +++ b/dev-python/mongoengine/Manifest @@ -1,3 +1,5 @@ DIST mongoengine-0.20.0.tar.gz 311698 BLAKE2B 11bae8d342a77bcc241884beb92d67a6d4f7112d0af3a467196eb94233b003aa27d019ab346140ce7430b4019879c8c86e01f3067677254559243b6d1f0ddc80 SHA512 ef973af9893f6e53811e1a47a131989f5a057af04ab9d512059f968af89fcd23f05d910c7de03330b5f4771db8e11ea2e48060f95ed790f8d238df6c6f7b9306 +DIST mongoengine-0.21.0.tar.gz 320173 BLAKE2B 6c53c8dd967209039a3c2b6e279e6a27cf7073a6284b0df70aff25004c8499e88088d934eadf2e23dc3f43cd2ebc0d3c202cfbee618772b8a794a6ef933a9a75 SHA512 37642e9c9333fb4480262e916d678ef04a1f839b62e7d58528485b7df7cb9b22d3cb0b093084fcb92e331698c7d5bf2411df5d0c6e6b9324748189b9084c3f54 EBUILD mongoengine-0.20.0.ebuild 1497 BLAKE2B 0282934e3d29ee3944cb62e5de1cf7a26e64f3b08325c80fac6459a47c3740689f431051837789ed75ebf4d93c3c39f730aa512ddb5b1aa8ddc5aa1ab435c87b SHA512 62fccab4b550fc85724528571b476f5c901ca6cf86725914d416b5ed4ec7726d8c576d73fb3bc8051c805e2dd92d3da345933f5aaa0367a6eb7a9bd0a0c35c5a +EBUILD mongoengine-0.21.0.ebuild 1499 BLAKE2B e7e1f7991a765cd0e39accac336cc42484953a90f8ac8b0ac351b434d41610f301ee09e5076421ecb04ca21cf8329ac2edc2dcdcfcab2b2a4a56509f9f8c9e4a SHA512 03ec2d70d29d93b827f17cc7742184d6be0b76cf53ec3036772a39cdb8e7374bd5f949920411a653e12345e6c85cda3b4504ae02ef7cefe8023c74293951da4b MISC metadata.xml 338 BLAKE2B 5ecb99b784399bb9e25c094b38e6585d5dd6dad6bade4eebd9b986e5022ef89417e11151de2528439754717c76c9601aedf24dd3295eca09bf0c59f9bc1130cf SHA512 b25628f5af0a4c32d9ec8d7bc4e39ccf6bf2c9d9bdaa60bec2a3da846a9a290944822a1d8233cda735a4cf3a801acbfa47826f6bb537ce5c7efedc669282e523 diff --git a/dev-python/mongoengine/mongoengine-0.21.0.ebuild b/dev-python/mongoengine/mongoengine-0.21.0.ebuild new file mode 100644 index 000000000000..30844f5c2a35 --- /dev/null +++ b/dev-python/mongoengine/mongoengine-0.21.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..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 + # incompatible pillow? + sed -e 's:test_image_field_resize:_&:' \ + -e 's:test_image_field_thumbnail:_&:' \ + -i tests/fields/test_file_field.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 +} |