File python-ly-pkginfo-name.patch of Package python-ly

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())
openSUSE Build Service is sponsored by