From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/setproctitle/
Date: Tue, 18 Aug 2020 08:04:00 +0000 (UTC) [thread overview]
Message-ID: <1597737835.827734e19d4d85d2d4cc3f52352996e87fa89d17.mgorny@gentoo> (raw)
commit: 827734e19d4d85d2d4cc3f52352996e87fa89d17
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 17 14:04:13 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug 18 08:03:55 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=827734e1
dev-python/setproctitle: Port to pypy3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../setproctitle/setproctitle-1.1.10-r1.ebuild | 31 +++++++++++-----------
1 file changed, 16 insertions(+), 15 deletions(-)
diff --git a/dev-python/setproctitle/setproctitle-1.1.10-r1.ebuild b/dev-python/setproctitle/setproctitle-1.1.10-r1.ebuild
index a0662118eee..b6cec201959 100644
--- a/dev-python/setproctitle/setproctitle-1.1.10-r1.ebuild
+++ b/dev-python/setproctitle/setproctitle-1.1.10-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{6..9} )
+PYTHON_COMPAT=( python3_{6..9} pypy3 )
inherit distutils-r1 toolchain-funcs
@@ -13,21 +13,22 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="test"
-RESTRICT="!test? ( test )"
-RDEPEND=""
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
- test? ( dev-python/nose[${PYTHON_USEDEP}] )"
-
-# Required for re-write of test suite
-DISTUTILS_IN_SOURCE_BUILD=1
+python_configure_all() {
+ 2to3 -w --no-diffs tests || die
+}
python_test() {
- # prepare embedded executable
- emake \
- CC="$(tc-getCC)" \
- PYINC="$(python_get_CFLAGS)" \
- PYLIB="$(python_get_LIBS)" \
- check
+ if [[ ${EPYTHON} != pypy* ]]; then
+ # prepare executable for embedded interpreter test
+ # (skipped with pypy)
+ rm -f tests/pyrun3 || die
+ emake \
+ CC="$(tc-getCC)" \
+ PYINC="$(python_get_CFLAGS)" \
+ PYLIB="$(python_get_LIBS)" \
+ tests/pyrun3
+ fi
+
+ "${EPYTHON}" tests/setproctitle_test.py -v || die "Tests failed with ${EPYTHON}"
}
next reply other threads:[~2020-08-18 8:04 UTC|newest]
Thread overview: 107+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-18 8:04 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-14 4:50 [gentoo-commits] repo/gentoo:master commit in: dev-python/setproctitle/ Michał Górny
2025-04-13 21:22 Sam James
2025-03-15 14:13 Arthur Zamarin
2025-03-15 14:13 Arthur Zamarin
2025-03-15 13:36 Arthur Zamarin
2025-03-15 13:16 Arthur Zamarin
2025-03-15 13:16 Arthur Zamarin
2025-03-15 12:25 Arthur Zamarin
2025-02-23 3:23 Michał Górny
2025-01-10 11:19 Michał Górny
2025-01-10 5:52 Sam James
2024-12-16 7:51 Arthur Zamarin
2024-12-14 17:18 Arthur Zamarin
2024-12-14 12:57 Arthur Zamarin
2024-12-14 12:47 Sam James
2024-12-14 11:49 Sam James
2024-12-14 11:49 Sam James
2024-12-14 10:30 Arthur Zamarin
2024-11-28 7:23 Sam James
2024-11-18 11:20 Michał Górny
2024-11-18 5:25 Michał Górny
2024-10-09 10:16 Sam James
2024-09-06 15:26 Arthur Zamarin
2024-06-09 9:21 Petr Vaněk
2023-11-05 20:58 Michał Górny
2023-11-05 19:25 Arthur Zamarin
2023-11-05 19:25 Arthur Zamarin
2023-11-05 19:25 Arthur Zamarin
2023-11-05 19:25 Arthur Zamarin
2023-11-05 19:25 Arthur Zamarin
2023-11-05 19:23 Arthur Zamarin
2023-11-05 19:17 Arthur Zamarin
2023-11-05 19:08 Arthur Zamarin
2023-10-04 5:51 Michał Górny
2023-05-26 21:12 Arthur Zamarin
2023-05-04 16:56 Michał Górny
2022-08-30 19:09 Michał Górny
2022-08-30 18:43 Jakov Smolić
2022-08-30 17:40 Arthur Zamarin
2022-08-30 17:22 Arthur Zamarin
2022-08-30 17:08 Jakov Smolić
2022-08-30 17:06 Arthur Zamarin
2022-08-30 16:45 Arthur Zamarin
2022-08-30 16:42 Jakov Smolić
2022-08-30 16:38 Arthur Zamarin
2022-08-30 16:33 Arthur Zamarin
2022-08-12 11:23 Arthur Zamarin
2022-08-05 6:31 Arthur Zamarin
2022-07-29 10:26 Arthur Zamarin
2022-05-27 19:55 Michał Górny
2022-05-27 11:02 Jakov Smolić
2022-05-27 9:41 Jakov Smolić
2022-05-27 9:41 Jakov Smolić
2022-05-27 9:41 Jakov Smolić
2022-05-27 9:33 Jakov Smolić
2022-05-27 9:33 Jakov Smolić
2022-05-27 9:12 Jakov Smolić
2022-05-27 9:07 Jakov Smolić
2022-05-18 16:59 Michał Górny
2022-05-05 2:40 WANG Xuerui
2022-04-25 18:41 Sam James
2022-04-15 6:19 Arthur Zamarin
2021-07-27 23:11 Marek Szuba
2021-05-06 18:45 Michał Górny
2021-02-26 21:07 Michał Górny
2021-02-26 17:34 Sergei Trofimovich
2021-02-26 13:53 Sam James
2021-02-26 10:12 Agostino Sarubbo
2021-02-26 8:09 Agostino Sarubbo
2021-02-25 18:58 Sam James
2021-02-25 1:08 Sam James
2021-02-24 22:07 Sam James
2021-02-24 22:05 Sam James
2021-01-23 8:55 Michał Górny
2021-01-10 14:30 Sam James
2021-01-08 7:24 Sergei Trofimovich
2021-01-08 0:58 Sam James
2021-01-07 12:14 Sam James
2021-01-07 1:12 Sam James
2021-01-07 1:08 Sam James
2021-01-07 0:58 Sam James
2021-01-06 10:59 Sam James
2020-12-27 12:51 Sergei Trofimovich
2020-12-27 12:32 Sergei Trofimovich
2020-12-27 12:28 Sergei Trofimovich
2020-12-27 11:38 Sergei Trofimovich
2020-12-27 4:47 Sam James
2020-12-27 4:29 Sam James
2020-12-26 2:20 Sam James
2020-12-04 7:58 Michał Górny
2020-11-30 21:12 Sergei Trofimovich
2020-09-28 17:41 Sergei Trofimovich
2020-06-12 15:40 Michał Górny
2020-05-17 5:40 Michał Górny
2020-03-25 13:59 Michał Górny
2020-03-25 13:59 Michał Górny
2019-12-30 21:54 Piotr Karbowski
2019-12-03 3:02 Aaron Bauman
2017-06-28 9:35 Alexis Ballier
2017-05-02 17:43 Michał Górny
2017-02-13 8:49 Zac Medico
2016-11-10 0:14 Sebastian Pipping
2016-07-16 14:08 Patrice Clement
2015-11-12 8:56 Justin Lecher
2015-11-09 21:51 Pacho Ramos
2015-08-31 10:57 Ian Delaney
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=1597737835.827734e19d4d85d2d4cc3f52352996e87fa89d17.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