From 29d0218c6b975e0939aa26c44eddffce09437fba Mon Sep 17 00:00:00 2001
From: dirkmueller <>
Date: Nov 14 2024 17:28:21 +0000
Subject: Update python-pymarc to version 5.2.3 / rev 12 via SR 1224130
https://build.opensuse.org/request/show/1224130
by user dirkmueller + anag+factory
---
diff --git a/.files b/.files
index b14145a..02e0ab7 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 74fb2ae..bf5c046 100644
--- a/.rev
+++ b/.rev
@@ -94,4 +94,36 @@
* minor changes
1158469
+
+ 6a58291667b6f2ffddff7cf6c4c33d83
+ 5.2.2
+
+ anag+factory
+ - update to 5.2.2:
+ * Leader object is correctly initialized when the force_utf8
+ option is being used
+ * fix for the behavior of Field.indicators to preserve backwards
+ compatibility when setting the indicators to a list or tuple
+ of two items
+ * Added MARCMakerReader class for reading MARC data from a
+ textual representation of a MARC record, expanding the previous
+ capability of pymarc to output MARC records in this format
+ * The Leader class is now automatically initialized for easier
+ access and updates
+ * Created Indicators type to limit indicator length and improve
+ handling
+ * Improved documentation of record status
+ * Field objects now throw a KeyError exception if you try to
+ set a subfield since they don't contain subfields
+ * Fixed issue with iterating over fields and subfields
+ 1194571
+
+
+ 84809843a9976d7607547dd9fe8fb2cd
+ 5.2.3
+
+ anag+factory
+
+ 1224130
+
diff --git a/pymarc-5.1.2.tar.gz b/pymarc-5.1.2.tar.gz
deleted file mode 120000
index febb165..0000000
--- a/pymarc-5.1.2.tar.gz
+++ /dev/null
@@ -1 +0,0 @@
-/ipfs/bafkreiebzzv75g2hc4hqhwfjsie6iiixpcw6afngpmpow2zqqywu4jfola
\ No newline at end of file
diff --git a/pymarc-5.2.3.tar.gz b/pymarc-5.2.3.tar.gz
new file mode 120000
index 0000000..2ff2d1c
--- /dev/null
+++ b/pymarc-5.2.3.tar.gz
@@ -0,0 +1 @@
+/ipfs/bafkreiacufi5rhb3g34sxpesyluxfph6sg4r7sjvfhmimls7pqusufoj6a
\ No newline at end of file
diff --git a/python-pymarc.changes b/python-pymarc.changes
index a16aba9..8bb64cb 100644
--- a/python-pymarc.changes
+++ b/python-pymarc.changes
@@ -1,4 +1,42 @@
-------------------------------------------------------------------
+Thu Nov 14 08:56:21 UTC 2024 - John Paul Adrian Glaubitz
+
+- Update to 5.3.3
+ * A small bugfix release to ensure logging uses a namespace
+ rather than the root logger !213. This should allow pymarc
+ log messages to be more legible in applications that use it.
+ * On the development side, the setup.py was replaced with
+ pyproject.toml, and the CI build was switched to use uv
+ to manage the virtual environment.
+- Switch build system from setuptools to pyproject.toml
+ * Add python-pip and python-wheel to BuildRequires
+ * Replace %python_build with %pyproject_wheel
+ * Replace %python_install with %pyproject_install
+- Limit Python files matched in %files section
+- Use Python 3.11 on SLE-15 by default
+
+-------------------------------------------------------------------
+Sun Aug 18 16:53:05 UTC 2024 - Dirk Müller
+
+- update to 5.2.2:
+ * Leader object is correctly initialized when the force_utf8
+ option is being used
+ * fix for the behavior of Field.indicators to preserve backwards
+ compatibility when setting the indicators to a list or tuple
+ of two items
+ * Added MARCMakerReader class for reading MARC data from a
+ textual representation of a MARC record, expanding the previous
+ capability of pymarc to output MARC records in this format
+ * The Leader class is now automatically initialized for easier
+ access and updates
+ * Created Indicators type to limit indicator length and improve
+ handling
+ * Improved documentation of record status
+ * Field objects now throw a KeyError exception if you try to
+ set a subfield since they don't contain subfields
+ * Fixed issue with iterating over fields and subfields
+
+-------------------------------------------------------------------
Sat Mar 16 12:56:42 UTC 2024 - Dirk Müller
- update to 5.1.2:
diff --git a/python-pymarc.spec b/python-pymarc.spec
index cdac0ba..a006978 100644
--- a/python-pymarc.spec
+++ b/python-pymarc.spec
@@ -16,14 +16,18 @@
#
+%{?sle15_python_module_pythons}
Name: python-pymarc
-Version: 5.1.2
+Version: 5.2.3
Release: 0
Summary: MARC bibliographic data manipulation module
License: BSD-2-Clause
URL: https://gitlab.com/pymarc/pymarc
Source: https://files.pythonhosted.org/packages/source/p/pymarc/pymarc-%{version}.tar.gz
+BuildRequires: %{python_module hatchling}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest
@@ -44,10 +48,10 @@ saner representation.
%setup -q -n pymarc-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -56,6 +60,7 @@ saner representation.
%files %{python_files}
%doc README.md
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/pymarc
+%{python_sitelib}/pymarc-%{version}.dist-info
%changelog