14
0
forked from pool/python-pymarc

Accepting request 1224130 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1224130
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymarc?expand=0&rev=12
This commit is contained in:
2024-11-14 15:10:04 +00:00
committed by Git OBS Bridge
4 changed files with 29 additions and 7 deletions

View File

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

3
pymarc-5.2.3.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Thu Nov 14 08:56:21 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- 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 <dmueller@suse.com>

View File

@@ -16,14 +16,18 @@
#
%{?sle15_python_module_pythons}
Name: python-pymarc
Version: 5.2.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