From d8a7472fc6314625f7d16e0427004eb448412908 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Sep 2024 12:30:03 +0100 Subject: gentoo auto-resync : 09:09:2024 - 12:30:03 --- dev-python/pyyaml/Manifest | 3 -- dev-python/pyyaml/files/pyyaml-6.0.1-cython3.patch | 36 --------------- dev-python/pyyaml/pyyaml-6.0.1-r1.ebuild | 54 ---------------------- 3 files changed, 93 deletions(-) delete mode 100644 dev-python/pyyaml/files/pyyaml-6.0.1-cython3.patch delete mode 100644 dev-python/pyyaml/pyyaml-6.0.1-r1.ebuild (limited to 'dev-python/pyyaml') diff --git a/dev-python/pyyaml/Manifest b/dev-python/pyyaml/Manifest index c4410f7b5d47..2c4f6a724f4c 100644 --- a/dev-python/pyyaml/Manifest +++ b/dev-python/pyyaml/Manifest @@ -1,8 +1,5 @@ -AUX pyyaml-6.0.1-cython3.patch 1423 BLAKE2B ff93a6bc36d0ca7b85a3c3c5cf67c57c600334b817cd52db5336a52427bd41bf667aa42405eb4c539eb8024b2b8533462f50da439def3be53bdedabfe9459ac4 SHA512 9ad485f625c859b67cefb45cd3f5cdd3304117c9d2b7e926f157b0b127805fad6ef83783fbead1e53e536eeafc60570eb1a75b309835de136c386faa8ba6f6c0 -DIST pyyaml-6.0.1.gh.tar.gz 120376 BLAKE2B c34f2169f6eb6aa718aeb53dbfaf02590e11e504d16cc85a802e1a1191f296ef9aa2501db683e1a48173ce6adeaeca09f2ab989581dcf1c1ba4004831bb4cf47 SHA512 1c74a92a4ad7d47854dc7bcb2e89b3c8e0b14fa815c7dbfbc22b24480dbba6c81e971c77ee384c494a960914b95f06edf943d7431925a5ed674a0ba830d258e0 DIST pyyaml-6.0.2.gh.tar.gz 123883 BLAKE2B 16ea7f376e45caccb461a18d4347fb06ffaf0dfd65b18e5bd7e74a14ffdce05c9c016c54bd6a501b444bd813f1bfc78999f212ca72cfabf3b125f5ab2f37167e SHA512 c72665131296762521d9ae4fc1c8619946f46ea16ad98b6b8e995828f2cdbd1ed61741fc2d646753f71d95a352b36562a1302f0cb646d5705652cd24b2f10b16 DIST pyyaml-6.0.2rc1.gh.tar.gz 123879 BLAKE2B 9d983338c4e61fa6f5056aa7733dadc854a859baffe3ad5a353d6fc0525b6c5788df7e85ab40514ad8bdeffbccf10417701fdaac4d0985e0a20b300867b89f4f SHA512 4eac37f3b367099e93c53f327f5f838d5f2f06fa636ea08f277a6cf4f570b7dc9870b35057a889d0895c2abd1bfc121d624f282610dcf90e68727973573267ef -EBUILD pyyaml-6.0.1-r1.ebuild 1052 BLAKE2B 59d64510f2b97537efbff4c7e927b323df1c6259565acc3f3e443c46219abc5851eed8b1b9bede020e14a422aa80925109f79fe15a8a4d8c8e7f2d323222f3e8 SHA512 a1e911e0b33bda3a446612c4cbd53be2d1657bf884f015d91278e03cd4433536ed350b46369e1976bbd7147d11e7ff990443d8ed9be96ea878c407fcba634815 EBUILD pyyaml-6.0.2.ebuild 1321 BLAKE2B 2b14def67f88c79ef5d7ed2a8398fa1b09eed2e5da68c4695b10ecf42ea32f66b330968e3282259291b97fe679b15d8dc4f92acddc4bf148f2645b2c29a9da12 SHA512 41323a652a9bff0bab084210d8746e40206bd2f17d97a6cdb81a11c430a9d22049e8afd74b86f1658c9359efdfcf429076278813a084d11dc2ddb8d428a0acb2 EBUILD pyyaml-6.0.2_rc1.ebuild 1433 BLAKE2B 53fb78dd3011d626c0bf11e3f5afa3b69782a9124013508f9de41cbbf79429c1700e4884eeaadf61f1e8381e630c00cb8615f7d3760dd93950dd79ae212ae428 SHA512 fd21561d885b80b53647f218067ef63d8b217f5b95718bc31211422f6614e93cba967e0a729b5d1068b4af923663ff12ef44849213bf9e702704789278dc8242 MISC metadata.xml 426 BLAKE2B 6216e38c3e79e811aced6c777b49779953abf4f1b0a1185947f6a6fdc851fdf4cc973092024a6cb2d76bf06863feb49742c7a6892a8761b48a5e74902757a610 SHA512 f549b70fcf1588625fcc2bc33ad0c41faa267ad5bb84d564f5502dee1ad2340a663d1a2b92cf9fdeed827a5f7cebdbe76d59166e89de6d03e7933141029c051d diff --git a/dev-python/pyyaml/files/pyyaml-6.0.1-cython3.patch b/dev-python/pyyaml/files/pyyaml-6.0.1-cython3.patch deleted file mode 100644 index 346339916f17..000000000000 --- a/dev-python/pyyaml/files/pyyaml-6.0.1-cython3.patch +++ /dev/null @@ -1,36 +0,0 @@ -https://bugs.gentoo.org/898680 -https://github.com/yaml/pyyaml/pull/731 - -From 17dc5b6cd96dcfe64fd71789c771ca9b96d260e5 Mon Sep 17 00:00:00 2001 -From: "Andrew J. Hesford" -Date: Fri, 21 Jul 2023 09:50:00 -0400 -Subject: [PATCH] Fix builds with Cython 3 - -This is a *de minimis* fix for building with Cython 3. Recent Cython<3 -releases provided `Cython.Distutils.build_ext` as an alias to -`Cython.Distutils.old_build_ext.old_build_ext`; Cython 3 drops this -alias and instead uses a wholly new `Cython.Distutils.build_ext` that -does not provide the `cython_sources` function used in `setup.py`. - -Explicitly importing `old_build_ext` preserves the existing behavior for -recent Cython<3 and uses the correct behavior for Cython 3. Should the -import fail (*e.g.*, because the version of Cython available predates -the availability of `old_build_ext`), the import falls back to just -`Cython.Distutils.build_ext`. - -Signed-off-by: Andrew J. Hesford ---- a/setup.py -+++ b/setup.py -@@ -82,7 +82,11 @@ - with_cython = True - try: - from Cython.Distutils.extension import Extension as _Extension -- from Cython.Distutils import build_ext as _build_ext -+ try: -+ from Cython.Distutils.old_build_ext import old_build_ext as _build_ext -+ except ImportError: -+ from Cython.Distutils import build_ext as _build_ext -+ - with_cython = True - except ImportError: - if with_cython: diff --git a/dev-python/pyyaml/pyyaml-6.0.1-r1.ebuild b/dev-python/pyyaml/pyyaml-6.0.1-r1.ebuild deleted file mode 100644 index 68bb7965f6a5..000000000000 --- a/dev-python/pyyaml/pyyaml-6.0.1-r1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="YAML parser and emitter for Python" -HOMEPAGE=" - https://pyyaml.org/wiki/PyYAML - https://pypi.org/project/PyYAML/ - https://github.com/yaml/pyyaml/ -" -SRC_URI=" - https://github.com/yaml/pyyaml/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="examples" - -DEPEND=" - dev-libs/libyaml:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.0.1-cython3.patch -) - -distutils_enable_tests setup.py - -src_configure() { - export PYYAML_FORCE_CYTHON=1 -} - -python_install_all() { - distutils-r1_python_install_all - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF} - fi -} -- cgit v1.2.3