diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-06-20 12:42:38 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-06-20 12:42:38 +0000 |
| commit | dc71ea56bf55cefe9de29cd11daa6a742d5f359e (patch) | |
| tree | f9021fdf0c7b80d8cf0daab63272d5a99a1da498 /dev-python/mongoengine | |
| parent | a4c5534940c28e5eea5acf2de1caabd9c08cfd26 (diff) | |
| download | baldeagleos-repo-dc71ea56bf55cefe9de29cd11daa6a742d5f359e.tar.gz baldeagleos-repo-dc71ea56bf55cefe9de29cd11daa6a742d5f359e.tar.xz baldeagleos-repo-dc71ea56bf55cefe9de29cd11daa6a742d5f359e.zip | |
Adding metadata
Diffstat (limited to 'dev-python/mongoengine')
| -rw-r--r-- | dev-python/mongoengine/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/mongoengine/metadata.xml | 11 | ||||
| -rw-r--r-- | dev-python/mongoengine/mongoengine-0.23.1.ebuild | 78 |
3 files changed, 0 insertions, 90 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 ea8988e8af6a..000000000000 --- a/dev-python/mongoengine/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - - <origin>gentoo-staging</origin> - <stabilize-allarches/> -</pkgmetadata>
\ No newline at end of file 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 48728aaa6870..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_{7,8,9,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 -} |
