SHA256
1
0
forked from pool/python-ly

3 Commits

Author SHA256 Message Date
e433df45aa Accepting request 1234917 from multimedia:apps
- 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/request/show/1234917
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ly?expand=0&rev=4
2025-01-05 14:31:50 +00:00
db26419606 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/python-ly?expand=0&rev=9 2025-01-04 13:15:33 +00:00
e090003c85 - 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
2025-01-04 10:20:52 +00:00
5 changed files with 19 additions and 30 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bdd64fb947e8804cd7d1eedbd57552a0f1cd3411a7a063ad5ec39db78e8303ad
size 250615

3
python-ly-0.9.9.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b64983ab44ec7e580451b8fb929da5d981c3d4a633612239e86ce515c1dd7899
size 252206

View File

@@ -1,22 +0,0 @@
From 233de7e253086c3eaad21c5b5223169832b36282 Mon Sep 17 00:00:00 2001
From: Jean Abou Samra <jean@abou-samra.fr>
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())

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sat Jan 4 10:17:09 UTC 2025 - Cor Blom <cornelis@solcon.nl>
- 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 <code@bnavigator.de>

View File

@@ -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