15
0
forked from pool/python-segno

Accepting request 1252348 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1252348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-segno?expand=0&rev=3
This commit is contained in:
2025-03-12 14:27:35 +00:00
committed by Git OBS Bridge
4 changed files with 27 additions and 6 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Mar 12 06:03:51 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 1.6.5 (no releases between 1.6.1 and 1.6.5):
- Fixed packaging: include man page, source distribution did not
contain all relevant files such as docs and test suite.
- Moved man page to the correct directory
- Fixed PDF creation: 144 and 145 provided by Mathias Winkel
- Merged 143 (typo in docs) provided by Marek Madejski
-------------------------------------------------------------------
Thu Dec 5 06:20:37 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-segno
#
# 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,15 @@
%{?sle15_python_module_pythons}
Name: python-segno
Version: 1.6.1
Version: 1.6.5
Release: 0
Summary: QR Code and Micro QR Code generator for Python
License: BSD-3-Clause
URL: https://github.com/heuer/segno/
Source0: https://github.com/heuer/segno/archive/refs/tags/%{version}.tar.gz#/segno-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module flit-core >= 3.2}
BuildRequires: %{python_module pip}
BuildRequires: python-rpm-macros
# SECTION test
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pypng}
@@ -46,6 +46,12 @@ The project provides more than 1500 test cases (coverage >= 98%) to verify a
standard conform QR Code and Micro QR Code generation acc. to ISO/IEC
18004:2015(E).
%package -n %{name}-doc
Summary: Documentation files for %{name}
%description -n %{name}-doc
Man page for %{name}.
%prep
%autosetup -p1 -n segno-%{version}
@@ -56,6 +62,8 @@ chmod 755 ./segno/cli.py
%install
%pyproject_install
install -d %{buildroot}%{_mandir}/man1/
mv -v %{buildroot}/usr/usr/share/man/man1/segno.1 %{buildroot}%{_mandir}/man1/
%python_clone -a %{buildroot}%{_bindir}/segno
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -76,4 +84,7 @@ IGNORED_CHECKS="test_plugin"
%{python_sitelib}/segno
%{python_sitelib}/segno-%{version}.dist-info
%files -n %{name}-doc
%{_mandir}/man1/segno.1.gz
%changelog

View File

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

3
segno-1.6.5.tar.gz Normal file
View File

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