From 068424b26532f3551a81421a9be67ed206e5c11a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 11 Aug 2021 07:02:28 +0100 Subject: gentoo resync : 11.08.2021 --- dev-python/pretty-yaml/pretty-yaml-20.4.0.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'dev-python/pretty-yaml/pretty-yaml-20.4.0.ebuild') diff --git a/dev-python/pretty-yaml/pretty-yaml-20.4.0.ebuild b/dev-python/pretty-yaml/pretty-yaml-20.4.0.ebuild index 13be942b0187..f592bf0fbdac 100644 --- a/dev-python/pretty-yaml/pretty-yaml-20.4.0.ebuild +++ b/dev-python/pretty-yaml/pretty-yaml-20.4.0.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 @@ -25,6 +25,11 @@ BDEPEND=" dev-python/unidecode[${PYTHON_USEDEP}] )" +PATCHES=( + # https://github.com/mk-fg/pretty-yaml/pull/38 + "${FILESDIR}/${P}-fix-py3.10.patch" +) + python_test() { "${EPYTHON}" pyaml/tests/dump.py -v || die "tests failed under ${EPYTHON}" -- cgit v1.2.3