commit python-discid for openSUSE:Factory

2023-11-14 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-discid for openSUSE:Factory 
checked in at 2023-11-14 21:43:30

Comparing /work/SRC/openSUSE:Factory/python-discid (Old)
 and  /work/SRC/openSUSE:Factory/.python-discid.new.17445 (New)


Package is "python-discid"

Tue Nov 14 21:43:30 2023 rev:8 rq:1125856 version:1.2.0

Changes:

--- /work/SRC/openSUSE:Factory/python-discid/python-discid.changes  
2023-06-21 22:41:19.518900584 +0200
+++ /work/SRC/openSUSE:Factory/.python-discid.new.17445/python-discid.changes   
2023-11-14 21:43:39.350004207 +0100
@@ -1,0 +2,5 @@
+Tue Nov 14 11:52:37 UTC 2023 - Dirk Müller 
+
+- build for all python versions in sle15
+
+---



Other differences:
--
++ python-discid.spec ++
--- /var/tmp/diff_new_pack.5MupC6/_old  2023-11-14 21:43:39.842022421 +0100
+++ /var/tmp/diff_new_pack.5MupC6/_new  2023-11-14 21:43:39.842022421 +0100
@@ -17,6 +17,7 @@
 #
 
 
+%{?sle15allpythons}
 Name:   python-discid
 Version:1.2.0
 Release:0


commit python-discid for openSUSE:Factory

2023-06-21 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-discid for openSUSE:Factory 
checked in at 2023-06-21 22:40:27

Comparing /work/SRC/openSUSE:Factory/python-discid (Old)
 and  /work/SRC/openSUSE:Factory/.python-discid.new.15902 (New)


Package is "python-discid"

Wed Jun 21 22:40:27 2023 rev:7 rq:1094398 version:1.2.0

Changes:

--- /work/SRC/openSUSE:Factory/python-discid/python-discid.changes  
2019-03-12 09:53:38.619535322 +0100
+++ /work/SRC/openSUSE:Factory/.python-discid.new.15902/python-discid.changes   
2023-06-21 22:41:19.518900584 +0200
@@ -1,0 +2,5 @@
+Wed Jun 21 15:22:19 UTC 2023 - Matej Cepl 
+
+- Clean up SPEC file
+
+---



Other differences:
--
++ python-discid.spec ++
--- /var/tmp/diff_new_pack.SJWi2v/_old  2023-06-21 22:41:20.046903762 +0200
+++ /var/tmp/diff_new_pack.SJWi2v/_new  2023-06-21 22:41:20.050903786 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-discid
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2023 SUSE LLC
 # Copyright (c) 2013 Johannes Dewender 
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,7 +17,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-discid
 Version:1.2.0
 Release:0
@@ -26,8 +25,9 @@
 Group:  Development/Libraries/Python
 URL:https://github.com/JonnyJD/python-discid
 Source: 
https://files.pythonhosted.org/packages/source/d/discid/discid-%{version}.tar.gz
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  pkgconfig
 BuildRequires:  python-rpm-macros
@@ -54,23 +54,23 @@
 
 %prep
 %setup -q -n discid-%{version}
-sed -i "s|^#!%{_bindir}/env python$|#!python3|" examples.py
+sed -i "s|^#!%{_bindir}/env python$|#!%{_bindir}/python3|" examples.py
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 # skip tests that require /dev/sr0
-%python_expand py.test-%{$python_bin_suffix} -v -k "not (test_read_simple or 
test_read_put or test_read_features)"
+%pytest -k "not (test_read_simple or test_read_put or test_read_features)"
 
 %files %{python_files}
 %license COPYING COPYING.LESSER
 %doc CHANGES.rst README.rst
-%{python_sitelib}/discid/
-%{python_sitelib}/discid-%{version}-py*.egg-info
+%{python_sitelib}/discid
+%{python_sitelib}/discid-%{version}*-info
 
 %changelog