dev-python/ruamel-yaml: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-04-04 19:32:37 +02:00
parent 97ac919ae9
commit 5a96f2c453
2 changed files with 0 additions and 51 deletions

View File

@@ -1,3 +1,2 @@
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

View File

@@ -1,50 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3_11 python3_{11..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://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-clib[${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
}