diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-02 11:46:02 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-02 11:46:02 +0100 |
commit | fade240e5eae2521e59569af4ab63e27415f4e5b (patch) | |
tree | 18ce5cd3bed52f77d3ff5fbe8b47a025b6892619 /dev-python/cython | |
parent | 16c48ec5caa018c82b1db0f23542c29893f9b919 (diff) |
gentoo auto-resync : 02:10:2023 - 11:46:02
Diffstat (limited to 'dev-python/cython')
-rw-r--r-- | dev-python/cython/Manifest | 4 | ||||
-rw-r--r-- | dev-python/cython/cython-3.0.0-r1.ebuild | 85 | ||||
-rw-r--r-- | dev-python/cython/cython-3.0.2.ebuild | 84 | ||||
-rw-r--r-- | dev-python/cython/files/cython-3.0.0-version-stderr-stdout.patch | 35 |
4 files changed, 0 insertions, 208 deletions
diff --git a/dev-python/cython/Manifest b/dev-python/cython/Manifest index a76babc7527c..7a18e8ab96f3 100644 --- a/dev-python/cython/Manifest +++ b/dev-python/cython/Manifest @@ -2,13 +2,9 @@ AUX 50cython-gentoo.el 388 BLAKE2B 5bc38190b467efa9e7be1a5831022534dbfdc02206fca AUX cython-0.29.22-spawn-multiprocessing.patch 963 BLAKE2B ebbc3f6f4fa88e7e082326bccbad328724a4ff5645f0b2aa28f21419044b17bed8495618bb980b23a99310c2b6ef275331e1b9aa6d734017eb33646c92a07a73 SHA512 3f5c6b4108b87cf3014416386095c07ac91762152bbd87e8bd589177d40b933c11e19610bea06720c5c70f76b5b9b70d27e5c3cfa20eed30deaaf7d122910bd3 AUX cython-0.29.23-pythran-parallel-install.patch 874 BLAKE2B 39286ee98427260ce6ec077a750e0a1412445343fd11be9d96d8ab65b7d9789c5f1864cb9a1b3565ee3f51e117ecc854ebacc39dc32917fc72f36340c2d7f0a1 SHA512 8b78755288d3f165d962a5a1be9492d609a8e3dab10197b271c84ed0c4b7006053038e68f18bbb4204e6acba83e3f72ffeabf57ffa03f4a08f28b65db3cfd854 AUX cython-0.29.23-test_exceptions-py310.patch 656 BLAKE2B 6c650c85d01b8bf367528d144cd967fa9def94634e35763e2e7a1c3e5afa2b01d0c84694024dde6e45577eee223f6464b5f88ab971d207d35892edf347a0c08f SHA512 d8f7f770a0b3303552deec0e7d3f9258de1edcd384f4b2c3881634fd21ce847a3d974e9142d1ed2fbe3a549e65292c6690be3a36ab4de52d0593d9831dc2f7ce -AUX cython-3.0.0-version-stderr-stdout.patch 1663 BLAKE2B 171ec4968909b80208e3dcf12ad6b4df58decaa924320d079cfdb0050b0ee860967f38c92a4dbf0b80d2741b1579fa590081c5a8d4d61514bd9acb3c7cc7f956 SHA512 e238984db29e89ec966a9978b7be4cf1a68c01fb7dd35dcd8c6ef90cc1b1b7807d9d9aa16300c9e40f60362b0952305dadd1dc27275aa5282b091ead9b8cdca7 AUX cython-3.0.2-enummeta.patch 2485 BLAKE2B 65d662309a470e316f6fbf5d310f6a0821e1f9d170203a698b336cf85dcf2f83d500a8bfbde2064e9c29f69e69097a311952ca96301f44a1581e6e730125cb31 SHA512 2c7f0d5a91b82f08b88c5129857fc75e2aa4ef770707605733af1c8a75f3d3a8ba0a82095f9393c2452fdb4afc48f52958ccc49757a541752c798e8ff6e3353c DIST cython-0.29.36.gh.tar.gz 2115333 BLAKE2B 6d43779c7222ff65d7de3a35ec18ef636480807d53480a8f94cc8c92d462fcc2f4d201a3bbf6e840a11fd33025e32c53f85626b05c131d10eed2859cdca7eb2d SHA512 a086fe1a11290cd3c870b891e61a0a0e2595bab9c26888024a758b6950c07059346d682fa9349e46c0af89805abbdd750059b3189960b8ce18007dfb5eb4391a -DIST cython-3.0.0.gh.tar.gz 2713478 BLAKE2B 16be50b463cf155417fee02b4529bbde8c4402bac0098ddf2cb05e33ac4c5b455bf7595b046b2bc6edcc8121f2c6be3b7af60c3c721a37bebcf4c654cd41a43f SHA512 a9bf6f0a78accd0624bc2a61329541d97d60257ae3a6b6601f73bd9122427a3d460129b317f000d3061a4dfe3e6a6de59342354862ded13e85c7eb622ee39f9a DIST cython-3.0.2.gh.tar.gz 2744583 BLAKE2B f631891870a6ce24acf2bcde75ebcb9775cf0df7840fe9d7b138cfdea64d54e9253a53d35d892a9086f251c1294d9414eec8521218d031840a3cd06903fefb86 SHA512 f55be138efdca6ca61bd39c6f2fab736244328a170a6f6c9bda87036e022c846930b209e9e9101fad889cb179d6e60034ba6f299f14b3056536d46235b438eb7 EBUILD cython-0.29.36.ebuild 2232 BLAKE2B 437729f1c61680b7d7f4d6cba1bbfd85e8ae6f70e4da47d8ff30aa84cf5ec50e7049671d75d6b7921e02236ffd47c3451e6f01bebc9e55e1ee834879e62f8b56 SHA512 dfd4d1f7c1907f27ff38a2e2dbcf27de4c5435920cbd19874430827e3089ca6285d225ae594f6c1566d84880fbcc541a7f78f3709c960822590b2e4fba5765a8 -EBUILD cython-3.0.0-r1.ebuild 2053 BLAKE2B c5c1e79c8578269ce5fd54690a000407bcdde55b0b377c40caba9450c592ae9bcbcb5ef01ad52855478e7cda812439c4eb45e8a165c441bdbc85812793c3f551 SHA512 0e86a64f3a4173a5bd17e04c94dff2258567d70f693f2657815bcc1c7d762a86c564bd6da3bb4bba50b83b3272a736d74b9293d6f384f9401e7e060010e52bdd EBUILD cython-3.0.2-r1.ebuild 2085 BLAKE2B e8a78a6d020acf7755d6cd2ab0c9cb5f9a704eb4aa3bdff6761fd6a9cacde72374fb49f270bb98eab7d9754a7f03d0a43f863f0eb7336f5b7af405f884887eaf SHA512 3685d1eb1d4766ddca4220a750c13ad978bdffb168bb3ab05671c22e58f1860ace6ca60c3d8a55c74226942c711124a2953f51861ff2ce05f7fed21aad626620 -EBUILD cython-3.0.2.ebuild 2012 BLAKE2B 528ac18c3d91d15aad03d5ec6449957d0d0c3af98dedf11ed8f8c6762245811b1b16e6f443e7a1904eb32c93cdf7d222ab373751543dead367399767f75b6bd9 SHA512 eb5bb85611f0490e8d2d80b2c97404f9a9029ff9575241384a21b58010e3241bb90a138fec7fd5aaf0e9611fca1d2bcd429ad45f6e3fdcb703c5f8dead0b8265 MISC metadata.xml 606 BLAKE2B 1ee3fc75852383aa0618afeb7521c3ae0e95b518c85b2c58ff958905092cf68017d313a09d25031a50b649f9dd1b452e751036f2552df9d91447baaeff0a8f0b SHA512 b7917c2e417cee9e59c8011246f7223f5095c87f0294ea140dbfc8fda0b09cf61c9f055380a9d3f74a07e71bb49d75f219d6224ea95f1f4d4b451e5688c13f78 diff --git a/dev-python/cython/cython-3.0.0-r1.ebuild b/dev-python/cython/cython-3.0.0-r1.ebuild deleted file mode 100644 index 5f584cde4e14..000000000000 --- a/dev-python/cython/cython-3.0.0-r1.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_TESTED=( python3_{10..11} ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 multiprocessing toolchain-funcs - -MY_P=${P/_rc/rc} -DESCRIPTION="A Python to C compiler" -HOMEPAGE=" - https://cython.org/ - https://github.com/cython/cython/ - https://pypi.org/project/Cython/ -" -SRC_URI=" - https://github.com/cython/cython/archive/${PV/_rc/rc}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ' python3_{10..11}) - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-0.29.22-spawn-multiprocessing.patch" - "${FILESDIR}/${PN}-0.29.23-test_exceptions-py310.patch" - "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch" - "${FILESDIR}/${P}-version-stderr-stdout.patch" -) - -distutils_enable_sphinx docs \ - dev-python/jinja \ - dev-python/sphinx-issues \ - dev-python/sphinx-tabs - -python_compile() { - # Python gets confused when it is in sys.path before build. - local -x PYTHONPATH= - - distutils-r1_python_compile -} - -python_test() { - if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then - einfo "Skipping tests on ${EPYTHON} (xfail)" - return - fi - - # Needed to avoid confusing cache tests - unset CYTHON_FORCE_REGEN - - tc-export CC - # https://github.com/cython/cython/issues/1911 - local -x CFLAGS="${CFLAGS} -fno-strict-overflow" - "${PYTHON}" runtests.py \ - -vv \ - -j "$(makeopts_jobs)" \ - --work-dir "${BUILD_DIR}"/tests \ - --no-examples \ - --no-code-style \ - || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt ) - distutils-r1_python_install_all -} diff --git a/dev-python/cython/cython-3.0.2.ebuild b/dev-python/cython/cython-3.0.2.ebuild deleted file mode 100644 index 3e911be4bd62..000000000000 --- a/dev-python/cython/cython-3.0.2.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_TESTED=( python3_{10..11} ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 multiprocessing toolchain-funcs - -MY_P=${P/_rc/rc} -DESCRIPTION="A Python to C compiler" -HOMEPAGE=" - https://cython.org/ - https://github.com/cython/cython/ - https://pypi.org/project/Cython/ -" -SRC_URI=" - https://github.com/cython/cython/archive/${PV/_rc/rc}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ' python3_{10..11}) - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-0.29.22-spawn-multiprocessing.patch" - "${FILESDIR}/${PN}-0.29.23-test_exceptions-py310.patch" - "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch" -) - -distutils_enable_sphinx docs \ - dev-python/jinja \ - dev-python/sphinx-issues \ - dev-python/sphinx-tabs - -python_compile() { - # Python gets confused when it is in sys.path before build. - local -x PYTHONPATH= - - distutils-r1_python_compile -} - -python_test() { - if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then - einfo "Skipping tests on ${EPYTHON} (xfail)" - return - fi - - # Needed to avoid confusing cache tests - unset CYTHON_FORCE_REGEN - - tc-export CC - # https://github.com/cython/cython/issues/1911 - local -x CFLAGS="${CFLAGS} -fno-strict-overflow" - "${PYTHON}" runtests.py \ - -vv \ - -j "$(makeopts_jobs)" \ - --work-dir "${BUILD_DIR}"/tests \ - --no-examples \ - --no-code-style \ - || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt ) - distutils-r1_python_install_all -} diff --git a/dev-python/cython/files/cython-3.0.0-version-stderr-stdout.patch b/dev-python/cython/files/cython-3.0.0-version-stderr-stdout.patch deleted file mode 100644 index 7a12c6eead53..000000000000 --- a/dev-python/cython/files/cython-3.0.0-version-stderr-stdout.patch +++ /dev/null @@ -1,35 +0,0 @@ -https://bugs.gentoo.org/911333 -https://github.com/cython/cython/pull/5572 -https://github.com/cython/cython/commit/ca69b359b040bf6c0fc90692bbea3bdd9d7877e6 - -From ca69b359b040bf6c0fc90692bbea3bdd9d7877e6 Mon Sep 17 00:00:00 2001 -From: Eli Schwartz <eschwartz@archlinux.org> -Date: Fri, 28 Jul 2023 06:52:03 -0400 -Subject: [PATCH] Only write the version to stderr, if it's a separate file - descriptor from stdout (GH-5572) - -At least one project tries to detect the Cython version by redirecting stderr to -stdout and capturing it. This is done in pure POSIX shell, so it probably seemed -like the simple and obvious solution for a less capable programming language -given that no output at all was expected on stdout. - -But the result is that the version number appears twice, and then gets misparsed -and ends up triggering bad assumptions in the code running cython. - -It turns out that it's pretty easy to just print once, though. Detect when -stdout and stderr are redirected to the same location, and only print once. - -See https://github.com/cython/cython/issues/5504 -Fixes https://bugs.gentoo.org/911333 ---- a/Cython/Compiler/Main.py -+++ b/Cython/Compiler/Main.py -@@ -776,7 +776,7 @@ def main(command_line = 0): - print("Cython version %s" % __version__) - # For legacy reasons, we also write the version to stderr. - # New tools should expect it in stdout, but existing ones still pipe from stderr. -- if not sys.stderr.isatty(): -+ if not sys.stderr.isatty() and os.fstat(1) != os.fstat(2): - sys.stderr.write("Cython version %s\n" % __version__) - if options.working_path!="": - os.chdir(options.working_path) - |