public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jian Lin" <jlin.gentoo@outlook.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/aspectlib/
Date: Mon, 16 Aug 2021 19:04:56 +0000 (UTC)	[thread overview]
Message-ID: <1628905985.b556d0d60457bb44acd03c038118eaded8c37813.jian@gentoo> (raw)

commit:     b556d0d60457bb44acd03c038118eaded8c37813
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Aug 13 19:45:33 2021 +0000
Commit:     Jian Lin <jlin.gentoo <AT> outlook <DOT> 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 <cyber+gentoo <AT> 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[@]}"
 }


             reply	other threads:[~2021-08-16 20:48 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-16 19:04 Jian Lin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-25 12:41 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/aspectlib/ Julien Roy
2024-05-25 13:01 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-04-13 17:09 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-04-13 17:15 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-01-17 13:52 David Roman
2023-02-25  7:17 Viorel Munteanu
2022-11-04 14:38 Arthur Zamarin
2021-05-25 23:07 Haelwenn Monnier
2021-05-04 16:12 Haelwenn Monnier
2020-12-18 16:26 Andrew Ammerlaan
2020-08-09 21:00 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-08-09 21:00 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-06-09 14:00 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-06-09 16:37 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-04-05 16:11 Andrew Ammerlaan
2020-03-31  9:07 Andrew Ammerlaan
2020-03-29 13:21 Andrew Ammerlaan
2020-03-29 13:21 Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1628905985.b556d0d60457bb44acd03c038118eaded8c37813.jian@gentoo \
    --to=jlin.gentoo@outlook.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox