commit:     2d8e6c038991c7833c8ff5fd109797d2eb825303
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  4 08:06:47 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan  4 09:29:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d8e6c03

dev-python/python-ly: Bump to 0.9.9

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/python-ly/Manifest               |  3 ++
 dev-python/python-ly/python-ly-0.9.9.ebuild | 48 +++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/dev-python/python-ly/Manifest b/dev-python/python-ly/Manifest
index e4e019e6716d..ebb79e40a6f3 100644
--- a/dev-python/python-ly/Manifest
+++ b/dev-python/python-ly/Manifest
@@ -1 +1,4 @@
 DIST python-ly-0.9.7.gh.tar.gz 239814 BLAKE2B 
322d8e9bb3293aada00834e8e4822b2ace11643ac8bec2d351d38f302c941703c1c47f541c5141097fa0e9e7da59fb93f473891a568a222dc5f6cf212e004af3
 SHA512 
83b5030e2626146f1309b0cc8a4626d6fac58112c97785ef47672fcb14dcb8fb7e95ed86f3afb09709cdf6c15d4ed21619d94926b02315860b9e151c411f6652
+DIST python-ly-0.9.9.gh.tar.gz 252206 BLAKE2B 
72fbeebf69f875a20a748c03a8a8be5ccfc200a6d2e2e1cb735bfa07ce5ce59485f068bc6a020ce49e54a9c7b16e6552bcbda04937bcde3e65442673c7caa890
 SHA512 
9a5246c6668515ff9294ad39873614561fc86058dd17e659f4a11abc25980f84286b2981a9206b2fda528ef0f3b676e83257352a7d76d04af917eccb76dcd727
+DIST xlink.xsd 9386 BLAKE2B 
fa4117e867a40b8c12d4ad3bcccd64db53d3e76775f61060af35e21e73e50555b4f713d6b3a8a300caece483aaf5c661c9e4d71ece2d1dd859ba7b24d0e2a308
 SHA512 
59d43d587652cdbd9190fc33c715bfeba0748b54200921a4a6e8becb109427366919c2b77c3bd461b4890982e386033048212d0a5d2f04efcc1e27cc9ef80da9
+DIST xml.xsd 4726 BLAKE2B 
cca0062a0a812d5bae01f5f2d5fa111ac0d0641f8d6353e93fc704e1878082a6e52ad3d5a70fc7dff86736691ba252829a334b91758d0ab51a3901ecd1da988c
 SHA512 
a716c93db1bbbcf9c353ff939f15aa1ed83c8d96739bafad93c790a7779c49c680a279c97c760fe55546fa43cab1d43e92431f24c46ff001976e05329231b635

diff --git a/dev-python/python-ly/python-ly-0.9.9.ebuild 
b/dev-python/python-ly/python-ly-0.9.9.ebuild
new file mode 100644
index 000000000000..f0958d99d3e5
--- /dev/null
+++ b/dev-python/python-ly/python-ly-0.9.9.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..13} )
+
+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
+"
+# https://github.com/frescobaldi/python-ly/issues/176
+SRC_URI+="
+       test? (
+               https://www.w3.org/2001/03/xml.xsd
+               https://www.w3.org/XML/2008/06/xlink.xsd
+       )
+"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="
+       test? (
+               dev-python/lxml[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+src_test() {
+       # https://github.com/frescobaldi/python-ly/issues/176
+       sed -e 's:\(schemaLocation="\).*/\([a-z]*\.xsd"\):\1\2:' \
+               -i tests/musicxml.xsd || die
+       cp "${DISTDIR}"/{xml,xlink}.xsd tests/ || die
+
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       distutils-r1_src_test
+}

Reply via email to