commit: 068a91a8a87f581d80f3ca1aba73fdbc5bf40ae9 Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz> AuthorDate: Tue Feb 21 10:32:25 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Feb 21 17:17:52 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=068a91a8
dev-python/python-ly: enable py3.11 - 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 <arkamar <AT> atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/29702 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/python-ly/python-ly-0.9.7.ebuild | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) 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
