Created attachment 316389 [details, diff] ebuild patch archtester twisted # USE_PYTHON="2.6 2.7 2.7-pypy-1.9" ebuild twisted-12.1.0.ebuild clean test Sadly the tests hang when they get to the run by pypy. Clever me found and filed the error re test_isChecker() 2 weeks after marienz had already made a patch for it, so I add that patch. archtester twisted # USE_PYTHON="2.6 2.7" ebuild twisted-12.1.0.ebuild clean test [TODO] X 4 (noisy but innocuous) PASSED (skips=557, expectedFailures=5, successes=4272) archtester twisted # USE_PYTHON="2.6 2.7 2.7-pypy-1.8 2.7-pypy-1.9" ebuild twisted-12.1.0.ebuild merge >>> Original instance of package unmerged safely. * Compilation and optimization of Python modules for CPython 2.6 [ ok ] * Compilation and optimization of Python modules for CPython 2.7 [ ok ] * Compilation and optimization of Python modules for PyPy 1.8 (Python 2.7) [ ok ] * Compilation and optimization of Python modules for PyPy 1.9 (Python 2.7) [ ok ] * Regeneration of Twisted plugin cache with CPython 2.6 * Regeneration of Twisted plugin cache with CPython 2.7 * Regeneration of Twisted plugin cache with PyPy 1.8 * Regeneration of Twisted plugin cache with PyPy 1.9 >>> dev-python/twisted-12.1.0 merged. looks fine
Created attachment 316391 [details, diff] patch for files/
* Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /usr/local/portage/dev-python/twisted/files/twisted-12.1.0-flags.patch * ( twisted-12.1.0-flags.patch ) * ERROR: dev-python/twisted-12.1.0 failed (prepare phase): * Cannot find $EPATCH_SOURCE!
ok it seems I copied the patch from progress and missed including it here. He called it twisted-12.1.0-twisted.python.sendmsg_compiler_flags.patch. I copied it as twisted-12.1.0-flags.patch. https://twistedmatrix.com/trac/ticket/5701 && 5702 --- setup.py +++ setup.py @@ -41,7 +41,8 @@ ["twisted/python/_initgroups.c"]), Extension("twisted.python.sendmsg", sources=["twisted/python/sendmsg.c"], - condition=lambda _: sys.platform != "win32"), + condition=lambda _: sys.platform != "win32", + extra_compile_args=["-fno-strict-aliasing"]), Extension("twisted.internet._sigchld", ["twisted/internet/_sigchld.c"], condition=lambda _: sys.platform != "win32"),
Thanks, it's working great.
Bumped to 12.2.0 (finally!), closing.