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 D3967158091 for ; Fri, 3 Jun 2022 11:37:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18F70E0932; Fri, 3 Jun 2022 11:37:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 99529E0932 for ; Fri, 3 Jun 2022 11:37:07 +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 6745834246C for ; Fri, 3 Jun 2022 11:37:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A0C1F4E3 for ; Fri, 3 Jun 2022 11:37:04 +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: <1654256221.116b0a59726fdc7f9f7469c4d18735a929ecb89d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/autobahn/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/autobahn/autobahn-22.3.2-r1.ebuild dev-python/autobahn/autobahn-22.3.2.ebuild dev-python/autobahn/autobahn-22.4.2.ebuild dev-python/autobahn/autobahn-22.5.1-r1.ebuild dev-python/autobahn/autobahn-22.5.1.ebuild X-VCS-Directories: dev-python/autobahn/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 116b0a59726fdc7f9f7469c4d18735a929ecb89d X-VCS-Branch: master Date: Fri, 3 Jun 2022 11:37:04 +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: a93b9a78-d9c2-486c-af06-5ca644ec9975 X-Archives-Hash: 78cbe653f4cbc231e0149df32fc6d935 commit: 116b0a59726fdc7f9f7469c4d18735a929ecb89d Author: Michał Górny gentoo org> AuthorDate: Fri Jun 3 11:34:37 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jun 3 11:37:01 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=116b0a59 dev-python/autobahn: Fix wrongly installing _trial_temp Run tests from ${S} rather than the installed sitedir, so that _trial_temp ends up there rather than installed. Closes: https://bugs.gentoo.org/849470 Signed-off-by: Michał Górny gentoo.org> .../autobahn/{autobahn-22.3.2.ebuild => autobahn-22.3.2-r1.ebuild} | 5 +++-- dev-python/autobahn/autobahn-22.4.2.ebuild | 5 +++-- .../autobahn/{autobahn-22.5.1.ebuild => autobahn-22.5.1-r1.ebuild} | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/dev-python/autobahn/autobahn-22.3.2.ebuild b/dev-python/autobahn/autobahn-22.3.2-r1.ebuild similarity index 96% rename from dev-python/autobahn/autobahn-22.3.2.ebuild rename to dev-python/autobahn/autobahn-22.3.2-r1.ebuild index 6280c160e0bd..a372e795e614 100644 --- a/dev-python/autobahn/autobahn-22.3.2.ebuild +++ b/dev-python/autobahn/autobahn-22.3.2-r1.ebuild @@ -82,15 +82,16 @@ python_prepare_all() { } python_test() { + rm -rf autobahn || die + einfo "Testing all, cryptosign using twisted" local -x USE_TWISTED=true - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die "${EPYTHON}" -m twisted.trial autobahn || die "Tests failed with ${EPYTHON}" unset USE_TWISTED einfo "RE-testing cryptosign and component_aio using asyncio" local -x USE_ASYNCIO=true - epytest autobahn/wamp/test/test_wamp_{cryptosign,component_aio}.py + epytest --pyargs autobahn.wamp.test.test_wamp_{cryptosign,component_aio} unset USE_ASYNCIO rm -f twisted/plugins/dropin.cache || die diff --git a/dev-python/autobahn/autobahn-22.4.2.ebuild b/dev-python/autobahn/autobahn-22.4.2.ebuild index 7bb27671fd5c..b7c800f34a87 100644 --- a/dev-python/autobahn/autobahn-22.4.2.ebuild +++ b/dev-python/autobahn/autobahn-22.4.2.ebuild @@ -83,15 +83,16 @@ python_prepare_all() { } python_test() { + rm -rf autobahn || die + einfo "Testing all, cryptosign using twisted" local -x USE_TWISTED=true - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die "${EPYTHON}" -m twisted.trial autobahn || die "Tests failed with ${EPYTHON}" unset USE_TWISTED einfo "RE-testing cryptosign and component_aio using asyncio" local -x USE_ASYNCIO=true - epytest autobahn/wamp/test/test_wamp_{cryptosign,component_aio}.py + epytest --pyargs autobahn.wamp.test.test_wamp_{cryptosign,component_aio} unset USE_ASYNCIO rm -f twisted/plugins/dropin.cache || die diff --git a/dev-python/autobahn/autobahn-22.5.1.ebuild b/dev-python/autobahn/autobahn-22.5.1-r1.ebuild similarity index 96% rename from dev-python/autobahn/autobahn-22.5.1.ebuild rename to dev-python/autobahn/autobahn-22.5.1-r1.ebuild index f53a820194fa..b0aa9b524e50 100644 --- a/dev-python/autobahn/autobahn-22.5.1.ebuild +++ b/dev-python/autobahn/autobahn-22.5.1-r1.ebuild @@ -83,15 +83,16 @@ python_prepare_all() { } python_test() { + rm -rf autobahn || die + einfo "Testing all, cryptosign using twisted" local -x USE_TWISTED=true - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die "${EPYTHON}" -m twisted.trial autobahn || die "Tests failed with ${EPYTHON}" unset USE_TWISTED einfo "RE-testing cryptosign and component_aio using asyncio" local -x USE_ASYNCIO=true - epytest autobahn/wamp/test/test_wamp_{cryptosign,component_aio}.py + epytest --pyargs autobahn.wamp.test.test_wamp_{cryptosign,component_aio} unset USE_ASYNCIO rm -f twisted/plugins/dropin.cache || die