From 3d0be39b5fb560560af1d49c8e12eae91bd3b57ecbfbe294e3eef389603848db Mon Sep 17 00:00:00 2001 From: Cor Blom Date: Sat, 4 Jan 2025 10:20:52 +0000 Subject: [PATCH 1/2] - Update to 0.9.9: * LilyPond syntax updates * Use hatchling as build backend * Fixed: Never use MUP as format guess. Fixes frescobaldi/frescobaldi#1635 * Fix tests - Removed upstreamed python-ly-pkginfo-name.patch - Added BuildRequires: %{python_module hatchling} OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/python-ly?expand=0&rev=8 --- python-ly-0.9.8.tar.gz | 3 --- python-ly-0.9.9.tar.gz | 3 +++ python-ly.changes | 12 ++++++++++++ python-ly.spec | 9 ++++----- 4 files changed, 19 insertions(+), 8 deletions(-) delete mode 100644 python-ly-0.9.8.tar.gz create mode 100644 python-ly-0.9.9.tar.gz diff --git a/python-ly-0.9.8.tar.gz b/python-ly-0.9.8.tar.gz deleted file mode 100644 index a08e859..0000000 --- a/python-ly-0.9.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bdd64fb947e8804cd7d1eedbd57552a0f1cd3411a7a063ad5ec39db78e8303ad -size 250615 diff --git a/python-ly-0.9.9.tar.gz b/python-ly-0.9.9.tar.gz new file mode 100644 index 0000000..d14ca3f --- /dev/null +++ b/python-ly-0.9.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b64983ab44ec7e580451b8fb929da5d981c3d4a633612239e86ce515c1dd7899 +size 252206 diff --git a/python-ly.changes b/python-ly.changes index da85c42..188e273 100644 --- a/python-ly.changes +++ b/python-ly.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sat Jan 4 10:17:09 UTC 2025 - Cor Blom + +- Update to 0.9.9: + * LilyPond syntax updates + * Use hatchling as build backend + * Fixed: Never use MUP as format guess. + Fixes frescobaldi/frescobaldi#1635 + * Fix tests +- Removed upstreamed python-ly-pkginfo-name.patch +- Added BuildRequires: %{python_module hatchling} + ------------------------------------------------------------------- Sun Feb 4 14:31:07 UTC 2024 - Ben Greiner diff --git a/python-ly.spec b/python-ly.spec index 257c92d..55456ed 100644 --- a/python-ly.spec +++ b/python-ly.spec @@ -1,7 +1,7 @@ # # spec file for package python-ly # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,15 +18,14 @@ %{?sle15_python_module_pythons} Name: python-ly -Version: 0.9.8 +Version: 0.9.9 Release: 0 Summary: Tool and library for manipulating LilyPond files License: GPL-2.0-or-later URL: https://github.com/frescobaldi/python-ly Source: https://github.com/frescobaldi/python-ly/archive/v%{version}/%{name}-%{version}.tar.gz -# PATCH-FIX-UPSTREAM python-ly-pkginfo-name.patch gh#frescobaldi/python-ly#167 -Patch0: https://github.com/frescobaldi/python-ly/commit/233de7e253086c3eaad21c5b5223169832b36282.patch#/python-ly-pkginfo-name.patch BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module hatchling} BuildRequires: %{python_module lxml} BuildRequires: %{python_module pip} #BuildRequires: %%{python_module pytest} @@ -35,7 +34,7 @@ BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages From 09e1ef24f0b5950229f4182a8c0a1fc9aa3ebbba70b8c2e11d8a90b7777d202f Mon Sep 17 00:00:00 2001 From: Cor Blom Date: Sat, 4 Jan 2025 13:15:33 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/python-ly?expand=0&rev=9 --- python-ly-pkginfo-name.patch | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 python-ly-pkginfo-name.patch diff --git a/python-ly-pkginfo-name.patch b/python-ly-pkginfo-name.patch deleted file mode 100644 index 063bb43..0000000 --- a/python-ly-pkginfo-name.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 233de7e253086c3eaad21c5b5223169832b36282 Mon Sep 17 00:00:00 2001 -From: Jean Abou Samra -Date: Sat, 27 Jan 2024 23:18:16 +0100 -Subject: [PATCH] Fix remaining use of ly.pkginfo.name - ---- - ly/musicxml/create_musicxml.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/ly/musicxml/create_musicxml.py b/ly/musicxml/create_musicxml.py -index 44ff6402..850014f3 100644 ---- a/ly/musicxml/create_musicxml.py -+++ b/ly/musicxml/create_musicxml.py -@@ -55,7 +55,7 @@ def __init__(self): - self.score_info = etree.SubElement(self.root, "identification") - encoding = etree.SubElement(self.score_info, "encoding") - software = etree.SubElement(encoding, "software") -- software.text = ly.pkginfo.name + " " + ly.pkginfo.version -+ software.text = "python-ly " + ly.pkginfo.version - encoding_date = etree.SubElement(encoding, "encoding-date") - import datetime - encoding_date.text = str(datetime.date.today())