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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2E19F158F59 for ; Mon, 16 Aug 2021 20:48:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4419E0FB0; Mon, 16 Aug 2021 19:04:58 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 95434E0FB0 for ; Mon, 16 Aug 2021 19:04:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7E84B34768A for ; Mon, 16 Aug 2021 19:04:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 182AE4A2 for ; Mon, 16 Aug 2021 19:04:56 +0000 (UTC) From: "Jian Lin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jian Lin" Message-ID: <1628905985.b556d0d60457bb44acd03c038118eaded8c37813.jian@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/aspectlib/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/aspectlib/aspectlib-1.5.2.ebuild X-VCS-Directories: dev-python/aspectlib/ X-VCS-Committer: jian X-VCS-Committer-Name: Jian Lin X-VCS-Revision: b556d0d60457bb44acd03c038118eaded8c37813 X-VCS-Branch: master Date: Mon, 16 Aug 2021 19:04:56 +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: 486282ca-2201-4184-8d6f-3010e7e50b7a X-Archives-Hash: 38e98da862ca29e97e06239eafde8c0b commit: b556d0d60457bb44acd03c038118eaded8c37813 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Fri Aug 13 19:45:33 2021 +0000 Commit: Jian Lin outlook com> CommitDate: Sat Aug 14 01:53:05 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b556d0d6 dev-python/aspectlib: bump EAPI and PYTHON_COMPAT Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> dev-python/aspectlib/aspectlib-1.5.2.ebuild | 36 ++++++++++++++--------------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/dev-python/aspectlib/aspectlib-1.5.2.ebuild b/dev-python/aspectlib/aspectlib-1.5.2.ebuild index 6c3e62de2..30b270f7c 100644 --- a/dev-python/aspectlib/aspectlib-1.5.2.ebuild +++ b/dev-python/aspectlib/aspectlib-1.5.2.ebuild @@ -1,12 +1,9 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) - -DISTUTILS_USE_SETUPTOOLS=bdepend +EAPI=8 +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="An aspect-oriented programming, monkey-patch and decorators library" @@ -18,18 +15,13 @@ SRC_URI="https://github.com/ionelmc/python-${PN}/archive/v${PV}.tar.gz -> ${P}.t LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" -RDEPEND=" - dev-python/fields[${PYTHON_USEDEP}] -" -DEPEND=" - ${RDEPEND} - test? ( - dev-python/process-tests[${PYTHON_USEDEP}] - www-servers/tornado[${PYTHON_USEDEP}] - ) -" +RDEPEND="dev-python/fields[${PYTHON_USEDEP}]" +BDEPEND="test? ( + dev-python/process-tests[${PYTHON_USEDEP}] + www-servers/tornado[${PYTHON_USEDEP}] +)" S="${WORKDIR}/python-${P}" @@ -37,7 +29,13 @@ distutils_enable_tests pytest distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme python_test() { - # Test fails with tornado>=6 - # https://github.com/ionelmc/python-aspectlib/issues/15 - epytest --deselect tests/test_integrations_py3.py::test_decorate_tornado_coroutine + local epytest_args=( + # fails because error message text is slightly different + --deselect tests/test_aspectlib_test.py::test_story_empty_play_proxy_class + --deselect tests/test_aspectlib_test.py::test_story_half_play_proxy_class + # Test fails with tornado>=6 + # https://github.com/ionelmc/python-aspectlib/issues/15 + --deselect tests/test_integrations_py3.py::test_decorate_tornado_coroutine + ) + epytest "${epytest_args[@]}" }