commit: 0ae4871a446adfa8bbb88cb05b035b8e44f831c8 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Jun 20 03:09:28 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Jun 20 03:10:11 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ae4871a
dev-python/flask-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/flask-mongoengine/Manifest | 1 - .../flask-mongoengine-1.0.0.ebuild | 75 ---------------------- dev-python/flask-mongoengine/metadata.xml | 13 ---- profiles/package.mask | 1 - 4 files changed, 90 deletions(-) diff --git a/dev-python/flask-mongoengine/Manifest b/dev-python/flask-mongoengine/Manifest deleted file mode 100644 index 29f5321ac665..000000000000 --- a/dev-python/flask-mongoengine/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST flask-mongoengine-1.0.0.gh.tar.gz 123516 BLAKE2B 5dd6cf1d774973ef1883d824bdf467b53306773eff5f7016f6440a7ec55648012755a1270b8fca0974aff00dfb189c0f3f7d6985a01c098729517c0018513c8b SHA512 bd95a8248a972a41c92dc2711f866420aabba56062322801e473e0b347c95ad47da39439992ba6cf23a0981c422ae84756af3af95d1171acd6b321f9cbc63085 diff --git a/dev-python/flask-mongoengine/flask-mongoengine-1.0.0.ebuild b/dev-python/flask-mongoengine/flask-mongoengine-1.0.0.ebuild deleted file mode 100644 index ea5a729c1b49..000000000000 --- a/dev-python/flask-mongoengine/flask-mongoengine-1.0.0.ebuild +++ /dev/null @@ -1,75 +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="Flask support for MongoDB and with WTF model forms" -HOMEPAGE="https://pypi.org/project/flask-mongoengine/" -SRC_URI=" - https://github.com/MongoEngine/flask-mongoengine/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64" - -RDEPEND=">=dev-python/flask-1.1.2[${PYTHON_USEDEP}] - >=dev-python/mongoengine-0.20[${PYTHON_USEDEP}] - >=dev-python/flask-wtf-0.14.3[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - dev-db/mongodb - dev-python/python-email-validator[${PYTHON_USEDEP}] - )" - -distutils_enable_sphinx docs -distutils_enable_tests pytest - -python_prepare_all() { - sed -i -e '/addopts/d' setup.cfg || die - - distutils-r1_python_prepare_all -} - -python_test() { - local EPYTEST_DESELECT=( - # fails with mongomock installed - tests/test_connection.py::test_connection__should_parse_mongo_mock_uri__as_uri_and_as_settings - ) - 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/dev-python/flask-mongoengine/metadata.xml b/dev-python/flask-mongoengine/metadata.xml deleted file mode 100644 index 38e4f9e9b7fb..000000000000 --- a/dev-python/flask-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>[email protected]</email> - <name>Python</name> - </maintainer> - <stabilize-allarches/> - <upstream> - <remote-id type="pypi">flask-mongoengine</remote-id> - <remote-id type="github">MongoEngine/flask-mongoengine</remote-id> - </upstream> -</pkgmetadata> diff --git a/profiles/package.mask b/profiles/package.mask index d1892263fb62..2bf52f9b57a3 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -307,7 +307,6 @@ dev-python/dicttoxml # 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/flask-mongoengine dev-python/mongoengine # Till Schäfer <[email protected]> (2022-05-20)
