mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-python/ruamel-yaml: Bump to 0.18.16
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
c014d09f6a
commit
5a005db7af
@ -1 +1,2 @@
|
||||
DIST ruamel.yaml-0.18.15.tar.xz 201180 BLAKE2B c5c41ff80a988b0f003cb832e42df39d82c07d54f5ff9d1defc3e9d60ae18dfbd394c9f132879e84043abc4282319682edfe99109a76e870ead1fe42c137c74d SHA512 1802ae9428078aa580ed7fb0d787e021db142c49d26e89745bf2130af4738c850d0aafb5ae9e091f934b6d20ec7275c3fcd4506591617dbdc396bac377bdf243
|
||||
DIST ruamel.yaml-0.18.16.tar.xz 201472 BLAKE2B 935a439fb28cd166a7ea30c4f50fea4dede1e8dab7c1cb8a38627df30640a7988e7471ca4fe8b4b248410b258d81943f307d5bdbee1e1a92e2a0372abb22ceea SHA512 1d4c28c6769167d044cfc506035a0d7e13b533ecbfa2287b00035e9036c400c9cbd86fa96921a7e6a9c9b286f9bf4970637a09d4747c5bf7315b37db353720f6
|
||||
|
||||
50
dev-python/ruamel-yaml/ruamel-yaml-0.18.16.ebuild
Normal file
50
dev-python/ruamel-yaml/ruamel-yaml-0.18.16.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