From 0f558761aa2dee1017b4751e4017205e015a9560 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jun 2022 12:04:12 +0100 Subject: gentoo resync : 29.12.2022 --- dev-python/ruamel-yaml-clib/Manifest | 4 +- dev-python/ruamel-yaml-clib/metadata.xml | 4 ++ .../ruamel-yaml-clib-0.2.6-r2.ebuild | 43 ++++++++++++++++++++++ 3 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.6-r2.ebuild (limited to 'dev-python/ruamel-yaml-clib') diff --git a/dev-python/ruamel-yaml-clib/Manifest b/dev-python/ruamel-yaml-clib/Manifest index 1eefbdd62351..743c29dbd919 100644 --- a/dev-python/ruamel-yaml-clib/Manifest +++ b/dev-python/ruamel-yaml-clib/Manifest @@ -1,3 +1,5 @@ DIST ruamel.yaml.clib-0.2.6.tar.gz 180695 BLAKE2B 54d0e00544c1716971022257bece3a6c8f83c9188b52e15a136381f5fdf00a519fc5b74792c614a2908ffe68f20fb165732cb814458dadb8498660f28ea67939 SHA512 12307a3c3bae09cf65d9672894c9a869a7ed5483ca3afb9ee39d8bcbf1948b012a0dbf570e315cc8b9a8b55184de9e10324953ec4819d214379e01522ee13b20 +DIST ruamel.yaml.clib-0.2.6.tar.xz 140244 BLAKE2B 8bf4792e8145d8d6220ee1669ee8d87434be8fe419a41671ca4fc9432e219b22c5305ab3fe5388cbe982e2881218c29f45ddbd54e566faf8ea839ba0941d08f4 SHA512 8fb8ca1acf440791f0af96c0f3a9489a4d9399ee51fdfaedc446320852f569bf5bbf71a92b7a1372d0b3302dedfec89531c1726c03b8790997414feb11962731 EBUILD ruamel-yaml-clib-0.2.6-r1.ebuild 607 BLAKE2B a8626bbe8125931d670ba516702345242b4f48c9d6e16ce48d8c9980563157c37ab71c3bb80c34c08a59921819c897b2ff205dcc7c1c65e09f0342f1171e7b5a SHA512 7b32ed0ab66468bea34ae4e89fb8dcde76b5e5a04871dc096143ab3392e34e86b3d6bafbb16d90164ca692fbf92de05c748f12b1f6738a434b19c02f3df6f926 -MISC metadata.xml 1072 BLAKE2B d681fbbfaa5cf7a101eb4483d0610efa6e3e37adc22dd424230c867a80d1c07c8bb9b276ff5bea2db11e60b08e622710bdc207a37324ee83c89612bb776b9ca9 SHA512 813b22a9206039deb939aa9d716c07cf8d1a29a29f10e0dd57a8846e494aaeff2b0471d1b641d8fcf0c3776fda7241541fc9375bf96ac1e2adbb994bb2b4ef95 +EBUILD ruamel-yaml-clib-0.2.6-r2.ebuild 1213 BLAKE2B 95dc5154c4339f2b4e0df03bb995352fa1d2594de4710aecad202f8bd3220c6dd6281ef57826d72bccc22be9b284a28b7c68e3c5c379b3e921bef683f2ded37d SHA512 dc8b82f6fe3f042b412557812eacc9b2c64dff7059996802e92ac3f10273ad48e0f6d9a7b7fc6ccc098a2421860e911683961b4cd67a32949dcf5253d6c211d3 +MISC metadata.xml 1173 BLAKE2B 349bfd2a189aa2761278b5083ced8eb48997128fc75e44d28cf2f64f73c8b8cdf2ee69758b05b3c0fbc80aaae9d03a4dcf2d6cb6d831a9f6fced7cd360ed04ec SHA512 61d55bada715046285892d29ce9779885a5fe3f808c9804da1246c39e7ecb32029ebf030686380305f24bea62b1e767edf882d60b9377eea38b5dc25f517d081 diff --git a/dev-python/ruamel-yaml-clib/metadata.xml b/dev-python/ruamel-yaml-clib/metadata.xml index c8f51d87cb12..7454d15a135c 100644 --- a/dev-python/ruamel-yaml-clib/metadata.xml +++ b/dev-python/ruamel-yaml-clib/metadata.xml @@ -13,6 +13,10 @@ proxy-maint@gentoo.org Proxy Maintainers + + python@gentoo.org + Python + This package was split of from ruamel.yaml, so that ruamel.yaml can be built as a universal wheel. Apart from the C code seldom changing, and diff --git a/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.6-r2.ebuild b/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.6-r2.ebuild new file mode 100644 index 000000000000..7c1fa45c1171 --- /dev/null +++ b/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.6-r2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{8..11} ) + +inherit distutils-r1 + +MY_PN="${PN//-/.}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="C-based reader/scanner and emitter for dev-python/ruamel-yaml" +HOMEPAGE=" + https://pypi.org/project/ruamel.yaml.clib/ + https://sourceforge.net/projects/ruamel-yaml-clib/ +" +# Lacks .pyx files for cythonizing for py3.11 +#SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +SRC_URI="mirror://sourceforge/ruamel-dl-tagged-releases/${MY_P}.tar.xz" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" + +src_configure() { + local cython_tmp_dir="${T}"/ruamel.yaml.clib + local base_name="_ruamel_yaml" || die + + # Needed to recythonise for Python 3.11 + # Can likely drop after next release (after 0.2.6) + rm ${base_name}.c || die + + mkdir "${cython_tmp_dir}" || die + mv ${base_name}.pyx "${cython_tmp_dir}/" || die + cythonize -3 "${cython_tmp_dir}"/${base_name}.pyx || die + mv ${cython_tmp_dir}/* . || die + rmdir ${cython_tmp_dir} || die +} -- cgit v1.2.3