public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 1/4] distutils-r1.eclass: Use CYTHON_FORCE_REGEN=1
@ 2023-05-27  8:41 Michał Górny
  2023-05-27  8:41 ` [gentoo-dev] [PATCH 2/4] distutils-r1.eclass: Include dev-python/cython version in log Michał Górny
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Michał Górny @ 2023-05-27  8:41 UTC (permalink / raw
  To: gentoo-dev; +Cc: Michał Górny

Signed-off-by: Michał Górny <mgorny@gentoo.org>
---
 eclass/distutils-r1.eclass | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index ec1dd08b197c..6835444d3c5f 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1828,6 +1828,10 @@ distutils-r1_run_phase() {
 
 	if [[ ${DISTUTILS_EXT} ]]; then
 		local -x CPPFLAGS="${CPPFLAGS} $(usex debug '-UNDEBUG' '-DNDEBUG')"
+		# always generate .c files from .pyx files to ensure we get latest
+		# bug fixes from Cython (this works only when setup.py is using
+		# cythonize() but it's better than nothing)
+		local -x CYTHON_FORCE_REGEN=1
 	fi
 
 	# How to build Python modules in different worlds...
-- 
2.40.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-27  8:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-27  8:41 [gentoo-dev] [PATCH 1/4] distutils-r1.eclass: Use CYTHON_FORCE_REGEN=1 Michał Górny
2023-05-27  8:41 ` [gentoo-dev] [PATCH 2/4] distutils-r1.eclass: Include dev-python/cython version in log Michał Górny
2023-05-27  8:41 ` [gentoo-dev] [PATCH 3/4] distutils-r1.eclass: Bump min dep versions Michał Górny
2023-05-27  8:41 ` [gentoo-dev] [PATCH 4/4] python-utils-r1.eclass: " Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox