public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pure_eval/
Date: Thu, 16 Nov 2023 17:11:29 +0000 (UTC)	[thread overview]
Message-ID: <1700154655.416010bcd28ec6ed0b61a311c5e07096e04fb820.mgorny@gentoo> (raw)

commit:     416010bcd28ec6ed0b61a311c5e07096e04fb820
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 16 17:07:13 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov 16 17:10:55 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=416010bc

dev-python/pure_eval: Enable pypy3

Sponsored-by: Ex Makhina, Inc. <info-gentoo <AT> exmakhina.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pure_eval/pure_eval-0.2.2.ebuild | 26 ++++++++++++++++++++++----
 1 file changed, 22 insertions(+), 4 deletions(-)

diff --git a/dev-python/pure_eval/pure_eval-0.2.2.ebuild b/dev-python/pure_eval/pure_eval-0.2.2.ebuild
index fa3b66e47ccf..2e9546fd7db9 100644
--- a/dev-python/pure_eval/pure_eval-0.2.2.ebuild
+++ b/dev-python/pure_eval/pure_eval-0.2.2.ebuild
@@ -4,16 +4,34 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
 inherit distutils-r1 pypi
 
 DESCRIPTION="Safely evaluate AST nodes without side effects"
-HOMEPAGE="https://github.com/alexmojaki/pure_eval"
+HOMEPAGE="
+	https://github.com/alexmojaki/pure_eval/
+	https://pypi.org/project/pure-eval/
+"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos"
 
-BDEPEND="dev-python/wheel[${PYTHON_USEDEP}]"
-
 distutils_enable_tests pytest
+
+python_test() {
+	local EPYTEST_DESELECT=()
+
+	case ${EPYTHON} in
+		pypy3)
+			EPYTEST_DESELECT+=(
+				# https://github.com/alexmojaki/pure_eval/issues/15
+				tests/test_getattr_static.py::TestGetattrStatic::test_custom_object_dict
+				tests/test_utils.py::test_safe_name_samples
+			)
+			;;
+	esac
+
+	epytest
+}


             reply	other threads:[~2023-11-16 17:11 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-16 17:11 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-11-10  5:47 [gentoo-commits] repo/gentoo:master commit in: dev-python/pure_eval/ Viorel Munteanu
2022-05-16 14:43 Andrew Ammerlaan
2022-05-08  8:47 Michał Górny
2022-05-08  4:08 Sam James
2022-05-07 17:52 Arthur Zamarin
2022-05-07 17:52 Arthur Zamarin
2022-05-05  5:29 Arthur Zamarin
2022-05-02 19:03 Sam James
2022-03-20 18:11 Arthur Zamarin
2022-03-19 18:49 Arthur Zamarin
2022-03-19 18:49 Arthur Zamarin
2022-03-19 18:47 Arthur Zamarin
2022-03-18  9:16 Arthur Zamarin
2022-03-18  9:00 Arthur Zamarin
2022-03-15 18:16 Jakov Smolić
2022-02-05  6:37 Sam James
2022-01-29 15:50 Sam James
2022-01-24 22:14 Michał Górny
2022-01-21 12:25 Sam James
2022-01-15 11:41 Yixun Lan
2022-01-15  9:55 Arthur Zamarin
2022-01-15  8:15 Arthur Zamarin
2022-01-13 10:02 Sam James
2022-01-13  9:26 Sam James

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=1700154655.416010bcd28ec6ed0b61a311c5e07096e04fb820.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --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