From 068a91a8a87f581d80f3ca1aba73fdbc5bf40ae9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Van=C4=9Bk?= Date: Tue, 21 Feb 2023 11:32:25 +0100 Subject: dev-python/python-ly: enable py3.11 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - python 3.11 support enabled - few style changes common to dev-python category - remove comment about missing tests in pypi tarball, because we use sources from github - add dev-python/lxml test dependency, however, tests are still restricted, because I failed to make them work properly. My attempt is described in upstream issue [1]. [1] https://github.com/frescobaldi/python-ly/issues/153 Signed-off-by: Petr Vaněk Closes: https://github.com/gentoo/gentoo/pull/29702 Signed-off-by: Michał Górny --- dev-python/python-ly/python-ly-0.9.7.ebuild | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'dev-python/python-ly/python-ly-0.9.7.ebuild') diff --git a/dev-python/python-ly/python-ly-0.9.7.ebuild b/dev-python/python-ly/python-ly-0.9.7.ebuild index 7dc8c9f964f1..ea877488ed31 100644 --- a/dev-python/python-ly/python-ly-0.9.7.ebuild +++ b/dev-python/python-ly/python-ly-0.9.7.ebuild @@ -4,13 +4,18 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 DESCRIPTION="Tool and library for manipulating LilyPond files" -HOMEPAGE="https://github.com/frescobaldi/python-ly https://pypi.org/project/python-ly/" -# No tests in pypi tarball -SRC_URI="https://github.com/frescobaldi/python-ly/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" +HOMEPAGE=" + https://github.com/frescobaldi/python-ly/ + https://pypi.org/project/python-ly/ +" +SRC_URI=" + https://github.com/frescobaldi/python-ly/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" LICENSE="GPL-2+" SLOT="0" @@ -18,4 +23,10 @@ KEYWORDS="amd64 x86" RESTRICT="test" +BDEPEND=" + test? ( + dev-python/lxml[${PYTHON_USEDEP}] + ) +" + distutils_enable_tests pytest -- cgit v1.2.3