diff options
author | Sam James <sam@gentoo.org> | 2022-06-20 04:09:28 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-06-20 04:10:11 +0100 |
commit | 0ae4871a446adfa8bbb88cb05b035b8e44f831c8 (patch) | |
tree | c8fe33ce34385b93f33c786e56c0f2ebed9f47b3 /dev-python/flask-mongoengine | |
parent | dev-python/pyilmbase: treeclean (diff) | |
download | gentoo-0ae4871a446adfa8bbb88cb05b035b8e44f831c8.tar.gz gentoo-0ae4871a446adfa8bbb88cb05b035b8e44f831c8.tar.bz2 gentoo-0ae4871a446adfa8bbb88cb05b035b8e44f831c8.zip |
dev-python/flask-mongoengine: treeclean
Bug: https://bugs.gentoo.org/846656
Bug: https://bugs.gentoo.org/835804
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/flask-mongoengine')
-rw-r--r-- | dev-python/flask-mongoengine/Manifest | 1 | ||||
-rw-r--r-- | dev-python/flask-mongoengine/flask-mongoengine-1.0.0.ebuild | 75 | ||||
-rw-r--r-- | dev-python/flask-mongoengine/metadata.xml | 13 |
3 files changed, 0 insertions, 89 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>python@gentoo.org</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> |