diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-01-03 19:18:17 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-01-03 19:18:17 +0000 |
| commit | 2bcf13fb87c49cfe6fa274eb0258c034e5eae958 (patch) | |
| tree | 28961aff57cabca5eb58d51a02851e8d950f5f8c /dev-python/ruamel-yaml | |
| parent | 2406209f428ab349fc33209834caf1a7a0477fda (diff) | |
| download | baldeagleos-repo-2bcf13fb87c49cfe6fa274eb0258c034e5eae958.tar.gz baldeagleos-repo-2bcf13fb87c49cfe6fa274eb0258c034e5eae958.tar.xz baldeagleos-repo-2bcf13fb87c49cfe6fa274eb0258c034e5eae958.zip | |
Adding metadata
Diffstat (limited to 'dev-python/ruamel-yaml')
| -rw-r--r-- | dev-python/ruamel-yaml/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/ruamel-yaml/ruamel-yaml-0.19.1.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/ruamel-yaml/Manifest b/dev-python/ruamel-yaml/Manifest index a71299439395..2448120beac6 100644 --- a/dev-python/ruamel-yaml/Manifest +++ b/dev-python/ruamel-yaml/Manifest @@ -1,2 +1,3 @@ DIST ruamel.yaml-0.18.16.tar.xz 201472 BLAKE2B 935a439fb28cd166a7ea30c4f50fea4dede1e8dab7c1cb8a38627df30640a7988e7471ca4fe8b4b248410b258d81943f307d5bdbee1e1a92e2a0372abb22ceea SHA512 1d4c28c6769167d044cfc506035a0d7e13b533ecbfa2287b00035e9036c400c9cbd86fa96921a7e6a9c9b286f9bf4970637a09d4747c5bf7315b37db353720f6 DIST ruamel.yaml-0.18.17.tar.xz 202272 BLAKE2B e3df2e53164ab8a5cbc974a5b76de7431935fd753cb7d6d19256ea1e92e1577d2d705410d23d5ab0e637a6c0abeef4f95b6bab74e1c5db523fdff57ca16c3726 SHA512 f39585da4463bb28957549b08debb2cb01ee15f926b20412b50e3dce24643a7de9790f7bd0aeb4191ade449738ff5642e1b1f71dbb199ad70c35c6392279c22c +DIST ruamel.yaml-0.19.1.tar.xz 203600 BLAKE2B f5f597a2f95c9e64507ac2031dbb0b6e78a37d5f166765f17739121904943601400aceabcebfee6666eb14e7b9e8a8a0eace6f5ade00c40b2745e6907c65604e SHA512 bf9eb8e40f506d6f3f34aee5f5ec74eb93bfda2b27022f6ad62dfac724b9e0847d61e3159d284bada7dec147992aaf509804f7139818de5bc85aa328bc32601f diff --git a/dev-python/ruamel-yaml/ruamel-yaml-0.19.1.ebuild b/dev-python/ruamel-yaml/ruamel-yaml-0.19.1.ebuild new file mode 100644 index 000000000000..60f4e0e9b4d9 --- /dev/null +++ b/dev-python/ruamel-yaml/ruamel-yaml-0.19.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +MY_P="${P/-/.}" +DESCRIPTION="YAML parser/emitter that supports roundtrip comment preservation" +HOMEPAGE=" + https://pypi.org/project/ruamel.yaml/ + https://sourceforge.net/projects/ruamel-yaml/ +" +# PyPI tarballs do not include tests +SRC_URI=" + https://yaml.dev/ruamel-dl-tagged-releases/${MY_P}.tar.xz + https://downloads.sourceforge.net/ruamel-dl-tagged-releases/${MY_P}.tar.xz +" +S="${WORKDIR}"/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/ruamel-yaml-clibz[${PYTHON_USEDEP}] + !dev-python/namespace-ruamel +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + local EPYTEST_IGNORE=( + # Old PyYAML tests from lib/ require special set-up and are + # invoked indirectly via test_z_olddata, tell pytest itself + # to leave the subdir alone. + _test/lib/ + ) + + # this is needed to keep the tests working while + # dev-python/namespace-ruamel is still installed + distutils_write_namespace ruamel + epytest +} |
