From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 56C6E15808D for ; Mon, 18 Apr 2022 12:29:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 86754E095D; Mon, 18 Apr 2022 12:29:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C233CE095D for ; Mon, 18 Apr 2022 12:29:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 295EA34149B for ; Mon, 18 Apr 2022 12:29:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BE313355 for ; Mon, 18 Apr 2022 12:29:27 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1650284949.743e4bf3143179d9dc9e7605bb32bd70c0f96524.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pymongo/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pymongo/Manifest dev-python/pymongo/pymongo-4.0.1.ebuild X-VCS-Directories: dev-python/pymongo/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 743e4bf3143179d9dc9e7605bb32bd70c0f96524 X-VCS-Branch: master Date: Mon, 18 Apr 2022 12:29:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8db070b8-eea0-46fd-ba15-4bd0ab920726 X-Archives-Hash: 86534b0d020fec849f420d5efae6522c commit: 743e4bf3143179d9dc9e7605bb32bd70c0f96524 Author: Michał Górny gentoo org> AuthorDate: Mon Apr 18 12:29:09 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Apr 18 12:29:09 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=743e4bf3 dev-python/pymongo: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pymongo/Manifest | 1 - dev-python/pymongo/pymongo-4.0.1.ebuild | 116 -------------------------------- 2 files changed, 117 deletions(-) diff --git a/dev-python/pymongo/Manifest b/dev-python/pymongo/Manifest index 7652cb1b0ff7..891daa7767e5 100644 --- a/dev-python/pymongo/Manifest +++ b/dev-python/pymongo/Manifest @@ -1,4 +1,3 @@ -DIST mongo-python-driver-4.0.1.tar.gz 1030722 BLAKE2B b820901a433ffa2e82db0ef3c014aaa1e7d53bbc3ab94a5432fcb713d9789cbbf411a4ad5085ef3896cbf2aeff6d0e79f3f7bd5936d3aa615080a0421d8818c2 SHA512 1aead66d21c032e6d42b3aa408b0193bcac6a5a293ecfc513fadb634c574dccdcd351c693352f23cfe577c73fec901cdc2aa635dfe9afe8d9108ed917f55b53b DIST mongo-python-driver-4.0.2.tar.gz 1027101 BLAKE2B d95eea08e09101f1db5df5dcbd5d843273ebd0c63b228420748a1663620ea18e05853372e876abc8b6480238de2b035c4e5a3c9f9b7c206228870a66e5d5f053 SHA512 eacb24d110de645a70b16b4d11f7a6b019f741fba2222f8ecee47d9f638fd71e579d3a46f5f539bc89d1ea53ddf0b72745b667a0f05479bb4b53ed72fb075b5b DIST mongo-python-driver-4.1.0.tar.gz 1069416 BLAKE2B ea7d81e405f4db4ec0e03591909541f5452f516d359e42fc6fde74435899353f4718b7dbfe3dc1802e79c9277fcfe6203ecd33a5e2ad2682c604b9de44c46c7c SHA512 558d321a335742fc3399e9f5cb4917605353f55a1912f9fa34ac46f6107ed6522f952dc9ef584f4cbe1ffcfc600b49963a4bdf606146c38b94379bbb6a382202 DIST mongo-python-driver-4.1.1.tar.gz 1070349 BLAKE2B 9b792343a22c4b0c625376e6f3d10e9c1a88442b63ff2638c29588a26755006507189bf40a8dad96d7f8e4f997efc153c8616826b58114aba32442c05b80ca60 SHA512 b01eb6bc4c39a25cae8350bdc2f37dd5d78da38a6eddbd8a26f91cb6ee067f7b4b1d97eb603defca16e05abc992b8f11b2e3558f9697c99697b3e876838de737 diff --git a/dev-python/pymongo/pymongo-4.0.1.ebuild b/dev-python/pymongo/pymongo-4.0.1.ebuild deleted file mode 100644 index 0ba6ac9eb00a..000000000000 --- a/dev-python/pymongo/pymongo-4.0.1.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..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}.tar.gz" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64 ~hppa ~riscv x86" -IUSE="doc kerberos" - -RDEPEND=" - kerberos? ( dev-python/pykerberos[${PYTHON_USEDEP}] ) -" -BDEPEND=" - test? ( - >=dev-db/mongodb-2.6.0 - ) -" -DISTUTILS_IN_SOURCE_BUILD=1 - -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 -}