mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
dev-python/ruamel-yaml: Bump to 0.18.17
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
2a6474f679
commit
953500aaaf
@ -1 +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
|
||||
|
||||
50
dev-python/ruamel-yaml/ruamel-yaml-0.18.17.ebuild
Normal file
50
dev-python/ruamel-yaml/ruamel-yaml-0.18.17.ebuild
Normal file
@ -0,0 +1,50 @@
|
||||
# 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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user