mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-26 10:47:27 -08:00
- 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@atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/29702 Signed-off-by: Michał Górny <mgorny@gentoo.org>
33 lines
620 B
Bash
33 lines
620 B
Bash
# Copyright 1999-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
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/
|
|
"
|
|
SRC_URI="
|
|
https://github.com/frescobaldi/python-ly/archive/refs/tags/v${PV}.tar.gz
|
|
-> ${P}.gh.tar.gz
|
|
"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
|
|
RESTRICT="test"
|
|
|
|
BDEPEND="
|
|
test? (
|
|
dev-python/lxml[${PYTHON_USEDEP}]
|
|
)
|
|
"
|
|
|
|
distutils_enable_tests pytest
|