commit: 66b8105069e8a5768694ebdaa33288a8d6bf9bc9 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Jun 20 03:09:35 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Jun 20 03:10:25 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66b81050
dev-python/mongoengine: treeclean Bug: https://bugs.gentoo.org/846656 Bug: https://bugs.gentoo.org/835804 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-python/mongoengine/Manifest | 1 - dev-python/mongoengine/metadata.xml | 13 ---- dev-python/mongoengine/mongoengine-0.23.1.ebuild | 78 ------------------------ profiles/package.mask | 8 --- 4 files changed, 100 deletions(-) diff --git a/dev-python/mongoengine/Manifest b/dev-python/mongoengine/Manifest deleted file mode 100644 index bec7d861c8a4..000000000000 --- a/dev-python/mongoengine/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST mongoengine-0.23.1.tar.gz 324881 BLAKE2B f6856d432f34c19f9d32aa7fe340c5a09db6976802f5ce320e9722b942f80a1c38a725eab882780104fa379abe212319802f9dd4b405da41454bda84a5d57eb4 SHA512 fcd2ff1df3e2b28bc4cba67cad71a1856e9f94d4d2ecb731a5cce2f1c5e9abc163be37b7db518dfaa54a0ef7f664ac49b621a0554961aa7e13686ff608ef132a diff --git a/dev-python/mongoengine/metadata.xml b/dev-python/mongoengine/metadata.xml deleted file mode 100644 index 0adcbd8b583f..000000000000 --- a/dev-python/mongoengine/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>pyt...@gentoo.org</email> - <name>Python</name> - </maintainer> - <stabilize-allarches/> - <upstream> - <remote-id type="github">MongoEngine/mongoengine</remote-id> - <remote-id type="pypi">mongoengine</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/mongoengine/mongoengine-0.23.1.ebuild b/dev-python/mongoengine/mongoengine-0.23.1.ebuild deleted file mode 100644 index 299f1c980342..000000000000 --- a/dev-python/mongoengine/mongoengine-0.23.1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..10} ) -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" - -RDEPEND="dev-python/blinker[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pymongo[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - dev-db/mongodb - dev-python/mongomock[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO: investigate - tests/document/test_indexes.py::TestIndexes::test_collation - tests/document/test_indexes.py::TestIndexes::test_covered_index - tests/document/test_indexes.py::TestIndexes::test_create_geohaystack_index - # no $eval - tests/queryset/test_queryset.py::TestQueryset::test_exec_js_query - tests/queryset/test_queryset.py::TestQueryset::test_exec_js_field_sub - tests/queryset/test_queryset.py::TestQueryset::test_item_frequencies_normalize - tests/queryset/test_queryset.py::TestQueryset::test_item_frequencies_with_0_values - tests/queryset/test_queryset.py::TestQueryset::test_item_frequencies_with_False_values - tests/queryset/test_queryset.py::TestQueryset::test_item_frequencies_with_null_embedded - # TODO: investigate (wrong order? bad comparison?) - tests/queryset/test_queryset.py::TestQueryset::test_distinct_ListField_EmbeddedDocumentField - ) - - local dbpath=${TMPDIR}/mongo.db - local logpath=${TMPDIR}/mongod.log - local DB_PORT=27017 - - mkdir -p "${dbpath}" || die - ebegin "Trying to start mongod on port ${DB_PORT}" - - LC_ALL=C \ - mongod --dbpath "${dbpath}" --nojournal \ - --bind_ip 127.0.0.1 --port ${DB_PORT} \ - --unixSocketPrefix "${TMPDIR}" \ - --logpath "${logpath}" --fork || die - sleep 2 - - # Now we need to check if the server actually started... - if [[ -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then - # yay! - eend 0 - else - eend 1 - eerror "Unable to start mongod for tests. Here is the server log:" - cat "${logpath}" - die "Unable to start mongod for tests" - fi - - local failed - nonfatal epytest || failed=1 - - mongod --dbpath "${dbpath}" --shutdown || die - - [[ ${failed} ]] && die "Tests fail with ${EPYTHON}" - - rm -rf "${dbpath}" || die -} diff --git a/profiles/package.mask b/profiles/package.mask index 2bf52f9b57a3..ef877777a3a6 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -301,14 +301,6 @@ dev-python/drf-yasg # Removal on 2022-06-20. Bug #846788. dev-python/dicttoxml -# Michał Górny <mgo...@gentoo.org> (2022-05-21) -# dev-python/mongoengine has had repeated test regressions, and this -# time I am unable to get them anywhere close to passing. The current -# Gentoo version is over a year old. There are no revdeps to the two -# packages remaining. -# Removal on 2022-06-20. Bug #846656. -dev-python/mongoengine - # Till Schäfer <till2.schae...@uni-dortmund.de> (2022-05-20) # Upstream unmaintained for a long time. # Has known bugs.