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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 26FA7158020 for ; Mon, 14 Nov 2022 05:07:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 79875E09D6; Mon, 14 Nov 2022 05:07:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 639E9E09D8 for ; Mon, 14 Nov 2022 05:07:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 D5C55340DF8 for ; Mon, 14 Nov 2022 05:07:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6522475E for ; Mon, 14 Nov 2022 05:07:38 +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: <1668402397.4e46fa9e6e6aa2b2ac5e265c9f5733ffae01b4ea.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/txAMQP/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/txAMQP/txAMQP-0.8.2.ebuild X-VCS-Directories: dev-python/txAMQP/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 4e46fa9e6e6aa2b2ac5e265c9f5733ffae01b4ea X-VCS-Branch: master Date: Mon, 14 Nov 2022 05:07:38 +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: 68293d05-c0e7-4112-8ad8-0cc7e1dbae4e X-Archives-Hash: 3432b2712e8424625c20ef5989322986 commit: 4e46fa9e6e6aa2b2ac5e265c9f5733ffae01b4ea Author: Michał Górny gentoo org> AuthorDate: Mon Nov 14 05:06:37 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Nov 14 05:06:37 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e46fa9e dev-python/txAMQP: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/txAMQP/txAMQP-0.8.2.ebuild | 75 ----------------------------------- 1 file changed, 75 deletions(-) diff --git a/dev-python/txAMQP/txAMQP-0.8.2.ebuild b/dev-python/txAMQP/txAMQP-0.8.2.ebuild deleted file mode 100644 index b5cd02193b9a..000000000000 --- a/dev-python/txAMQP/txAMQP-0.8.2.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} ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 - -MY_P="${PN,,}-${PV}" - -DESCRIPTION="Python library for communicating with AMQP peers using Twisted" -HOMEPAGE="https://github.com/txamqp/txamqp" -# pypi tarball misses doc files -# https://github.com/txamqp/txamqp/pull/10 -SRC_URI="https://github.com/txamqp/txamqp/archive/${PV}.tar.gz -> ${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~x64-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/twisted[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - ${RDEPEND} - net-misc/rabbitmq-server - )" - -python_test() { - cd src || die - # tests look for those files relatively to modules - cp -r specs "${BUILD_DIR}"/lib || die - - TXAMQP_BROKER=RABBITMQ "${EPYTHON}" -m twisted.trial txamqp - local ret=${?} - - # avoid installing spec files - rm -r "${BUILD_DIR}"/lib/specs || die - - [[ ${ret} == 0 ]] || die "Tests failed with ${EPYTHON}" -} - -src_test() { - einfo "Starting rabbitmq" - local -x RABBITMQ_LOG_BASE="${T}/rabbitmq/log" - local -x RABBITMQ_MNESIA_BASE="${T}/rabbitmq/mnesia" - local -x RABBITMQ_LOGS="${T}/rabbitmq.log" - local -x RABBITMQ_PID_FILE="${T}/rabbitmq.pid" - local -x RABBITMQ_ENABLED_PLUGINS_FILE="${T}/rabbitmq/enabled_plugins" - /usr/libexec/rabbitmq/rabbitmq-server -p 5672:5672 & - - einfo "Waiting for rabbitmq to fully load" - while ! { echo >/dev/tcp/localhost/5672 ; } &> /dev/null; do - sleep 1 - done - einfo "rabbitmq is ready" - - distutils-r1_src_test - - einfo "Stopping rabbitmq" - kill "$(<"${RABBITMQ_PID_FILE}")" || die -} - -python_install_all() { - local DOCS=( doc/* ) - - distutils-r1_python_install_all -}