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 72A34158087 for ; Fri, 28 Jan 2022 23:08:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B8DBC2BC002; Fri, 28 Jan 2022 23:08:05 +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 AFA562BC002 for ; Fri, 28 Jan 2022 23:08:03 +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 BF7DA342C50 for ; Fri, 28 Jan 2022 23:08:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2E5BE275 for ; Fri, 28 Jan 2022 23:08:01 +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: <1643411251.103d1855e57041fa6286f541341c91d79c7da483.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.1.1.ebuild X-VCS-Directories: dev-python/autobahn/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 103d1855e57041fa6286f541341c91d79c7da483 X-VCS-Branch: master Date: Fri, 28 Jan 2022 23:08:01 +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: 34399400-7e53-4894-9c7e-1bc4e3a74b06 X-Archives-Hash: a518c465f769bf0dc171f45c82c6052c commit: 103d1855e57041fa6286f541341c91d79c7da483 Author: Michał Górny gentoo org> AuthorDate: Fri Jan 28 23:07:31 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jan 28 23:07:31 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=103d1855 dev-python/autobahn: Switch to PEP 517 build Signed-off-by: Michał Górny gentoo.org> dev-python/autobahn/autobahn-22.1.1.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dev-python/autobahn/autobahn-22.1.1.ebuild b/dev-python/autobahn/autobahn-22.1.1.ebuild index 0541f3e0f8c4..7ac3954a819b 100644 --- a/dev-python/autobahn/autobahn-22.1.1.ebuild +++ b/dev-python/autobahn/autobahn-22.1.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{8..10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 optfeature MY_P=${PN}-$(ver_rs 3 -) @@ -31,6 +31,7 @@ RDEPEND=" >=dev-python/txaio-21.2.1[${PYTHON_USEDEP}] dev-python/cryptography[${PYTHON_USEDEP}] >=dev-python/hyperlink-21.0.0[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] " BDEPEND=" test? ( @@ -74,7 +75,7 @@ python_prepare_all() { # remove twisted plugin cache regen in setup.py # to fix tinderbox sandbox issue - sed -e 's/regenerate Twisted plugin cache/DO NOT & in Gentoo\nexit()/' \ + sed -e '/import/s:reactor:__importmustfail__:' \ -i setup.py || die distutils-r1_python_prepare_all @@ -83,7 +84,7 @@ python_prepare_all() { python_test() { einfo "Testing all, cryptosign using twisted" local -x USE_TWISTED=true - cd "${BUILD_DIR}"/lib || die + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die "${EPYTHON}" -m twisted.trial autobahn || die "Tests failed with ${EPYTHON}" unset USE_TWISTED @@ -92,7 +93,7 @@ python_test() { epytest autobahn/wamp/test/test_wamp_{cryptosign,component_aio}.py unset USE_ASYNCIO - rm -f "${BUILD_DIR}"/lib/twisted/plugins/dropin.cache || die + rm -f twisted/plugins/dropin.cache || die } pkg_postinst() {