diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-17 00:25:50 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-17 00:25:50 +0000 |
commit | 48dbe17904ac8ee6f006488d8f21734b0d253db4 (patch) | |
tree | 90c7f087cbefd4ac6b893072d309e75dbf019f76 /dev-python/pymongo | |
parent | 7972abc05090180dcc09d2b16af4020ce1cd1841 (diff) |
gentoo auto-resync : 17:03:2023 - 00:25:50
Diffstat (limited to 'dev-python/pymongo')
-rw-r--r-- | dev-python/pymongo/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pymongo/pymongo-4.3.2.ebuild | 122 |
2 files changed, 0 insertions, 124 deletions
diff --git a/dev-python/pymongo/Manifest b/dev-python/pymongo/Manifest index cc17d4482d6f..70c496df7ce1 100644 --- a/dev-python/pymongo/Manifest +++ b/dev-python/pymongo/Manifest @@ -1,9 +1,7 @@ DIST mongo-python-driver-4.1.1.tar.gz 1070349 BLAKE2B 9b792343a22c4b0c625376e6f3d10e9c1a88442b63ff2638c29588a26755006507189bf40a8dad96d7f8e4f997efc153c8616826b58114aba32442c05b80ca60 SHA512 b01eb6bc4c39a25cae8350bdc2f37dd5d78da38a6eddbd8a26f91cb6ee067f7b4b1d97eb603defca16e05abc992b8f11b2e3558f9697c99697b3e876838de737 DIST mongo-python-driver-4.2.0.gh.tar.gz 1136734 BLAKE2B b3e2d86780c2874656f94ba3071317c0b9190418274c163135a260cad3f5672b9390aa738d0cf1aaff47412827620706e67c5c990910a5ea232aaacda0758dea SHA512 4439149c35f897a61109b26f5e4c613682ca59727495377a3bbb49f9ff22273cd5a73f58fb55080d07c9403310d4ada59d3a5969d0f76f2f4d1081422fe2dfec -DIST mongo-python-driver-4.3.2.gh.tar.gz 1154135 BLAKE2B f2a560dc9829b6b26a78c032a3978fff93935b78aa20a088a080bdd607d951a57434473d698d4cabc1ca0a767cdb75352e0e25d9cfd77389d43062768409625c SHA512 f35dd2fc54e806bb7f91d982f29ebdee8ef12a8629b415b2472e3f99d60ad9e3153cd54e6e7369124c2b31c27df636c2a0fa72f937aeafb60c64c90728d7b03b DIST mongo-python-driver-4.3.3.gh.tar.gz 1165202 BLAKE2B e2f442631b1e33353003acde58b9abe49e9f3a0c78f9762d2929c626a1821f04b72e2a55d926703c603c1220124b7334a18b5d35586ebf5b7299720199539e23 SHA512 ba1b344913b6a5d61b0cad05c09b50f5962c5b83e0ca8e8919d76cdde5d2dcec08f38c6f561251c9e199b8878af78bbabaf58af74dc65233e6702ff841ccfef4 EBUILD pymongo-4.1.1.ebuild 2762 BLAKE2B 64bd9475841411ccb3ebf2296b5a256268d175b6566966db391a80042e340374136930a8b87812fcb93173289a4b7d3cb7c3f265c9ff45693a4358ac314d55ac SHA512 a329c5817d03518bf444f9eff5b566e4a2a71faa2f5bf841bd11796ae1e49b2b1a2b317a9ea708439dc53de4ee9b8545f25dd276f80eae66fadbe5f2466ca815 EBUILD pymongo-4.2.0.ebuild 2772 BLAKE2B 74604d4e0359dc49cd5f78cadca4dca49821841746d2865a4e0b73d3ae8b6e3f82b68c92ba80397bbb87d30df4e63430290cd89d34d4060a0b3aea38050a0f7c SHA512 606378578c5d9ffccb94b636366b809095e45416c1341b904483bb1cba579f8946847e302598fb55824abdd2029e42a7bce5877a791ec4e8b69422dda153c58e -EBUILD pymongo-4.3.2.ebuild 2821 BLAKE2B 668550b67b88c070ef98b2911b65196ab201f0ef009de8f3730374b6a4540c5cbb3b202eea1f84a6027db59d41b66a18e0bee5cbaab06e9e6dfd9edf21f1004c SHA512 71a8affc8c32a50a9f3ad89b53f1a6a0c8ded3e15bbe5564b68c585a5b535dae46822d8f6279471c53932ffa9f1f79d42cfce1b1f88a8a55999ed970d89bb967 EBUILD pymongo-4.3.3.ebuild 2918 BLAKE2B 8189080ce3a7beb73cd4683560c0ad37f9171fe1087a4415d133dbb59682be788e24a56ada41db2d9f9446a8b2150b64ad38a2321fa04f0425e8bcdeb27bb7db SHA512 770fe568bc96d18ac1f0598bb22a102c33ce27104b6aba4f68bf5b48151c5bd465fc00049151141ad098d333fba8dec4b7cb2d62cb1679cf4a119509470caee4 MISC metadata.xml 673 BLAKE2B fb66f76592841f2647a94e24e07fafa8be2bc31583bac35dc3933a3feeea87f0c4105ab6b480bce5f2b8aeced8c113c8a3ce9714b22ff909f92eccceffa8f9a9 SHA512 9e758aa60153da583ed21bdf6addd001c560894fc6d429217405e7dfbdc673a9e22bc5a41afcc1281f7613ae1059c0824a7bba246006aa66c6eced75ab975e51 diff --git a/dev-python/pymongo/pymongo-4.3.2.ebuild b/dev-python/pymongo/pymongo-4.3.2.ebuild deleted file mode 100644 index 9179dbef9e15..000000000000 --- a/dev-python/pymongo/pymongo-4.3.2.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..10} ) - -inherit check-reqs distutils-r1 - -MY_P=mongo-python-driver-${PV} -DESCRIPTION="Python driver for MongoDB" -HOMEPAGE=" - https://github.com/mongodb/mongo-python-driver/ - https://pypi.org/project/pymongo/ -" -SRC_URI=" - https://github.com/mongodb/mongo-python-driver/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~hppa ~riscv ~x86" -IUSE="doc kerberos" - -RDEPEND=" - <dev-python/dnspython-3.0.0[${PYTHON_USEDEP}] - kerberos? ( dev-python/pykerberos[${PYTHON_USEDEP}] ) -" -BDEPEND=" - test? ( - >=dev-db/mongodb-2.6.0 - ) -" - -distutils_enable_sphinx doc -distutils_enable_tests unittest - -reqcheck() { - if use test; then - # During the tests, database size reaches 1.5G. - local CHECKREQS_DISK_BUILD=1536M - - check-reqs_${1} - fi -} - -pkg_pretend() { - reqcheck pkg_pretend -} - -pkg_setup() { - reqcheck pkg_setup -} - -src_prepare() { - # network-sandbox - rm test/test_srv_polling.py || die - sed -e 's:test_connection_timeout_ms_propagates_to_DNS_resolver:_&:' \ - -e 's:test_service_name_from_kwargs:_&:' \ - -e 's:test_srv_max_hosts_kwarg:_&:' \ - -i test/test_client.py || die - sed -e '/SRV_SCHEME/s:_HAVE_DNSPYTHON:False:' \ - -i test/test_uri_spec.py || die - distutils-r1_src_prepare -} - -python_test() { - # Yes, we need TCP/IP for that... - local DB_IP=127.0.0.1 - local DB_PORT=27000 - - export DB_IP DB_PORT - - local dbpath=${TMPDIR}/mongo.db - local logpath=${TMPDIR}/mongod.log - - # Now, the hard part: we need to find a free port for mongod. - # We're just trying to run it random port numbers and check the log - # for bind errors. It shall be noted that 'mongod --fork' does not - # return failure when it fails to bind. - - mkdir -p "${dbpath}" || die - while true; do - ebegin "Trying to start mongod on port ${DB_PORT}" - - LC_ALL=C \ - mongod --dbpath "${dbpath}" --nojournal \ - --bind_ip ${DB_IP} --port ${DB_PORT} \ - --unixSocketPrefix "${TMPDIR}" \ - --logpath "${logpath}" --fork \ - && sleep 2 - - # Now we need to check if the server actually started... - if [[ ${?} -eq 0 && -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then - # yay! - eend 0 - break - elif grep -q 'Address already in use' "${logpath}"; then - # ay, someone took our port! - eend 1 - : $(( DB_PORT += 1 )) - continue - else - eend 1 - eerror "Unable to start mongod for tests. See the server log:" - eerror " ${logpath}" - die "Unable to start mongod for tests." - fi - done - - local failed - DB_PORT2=$(( DB_PORT + 1 )) DB_PORT3=$(( DB_PORT + 2 )) esetup.py test || failed=1 - - mongod --dbpath "${dbpath}" --shutdown || die - - [[ ${failed} ]] && die "Tests fail with ${EPYTHON}" - - rm -rf "${dbpath}" || die -} |