Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-radexreader for 
openSUSE:Factory checked in at 2023-10-11 23:54:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-radexreader (Old)
 and      /work/SRC/openSUSE:Factory/.python-radexreader.new.1807 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-radexreader"

Wed Oct 11 23:54:28 2023 rev:6 rq:1116745 version:1.2.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-radexreader/python-radexreader.changes    
2023-06-17 22:21:27.339949877 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-radexreader.new.1807/python-radexreader.changes
  2023-10-12 11:55:32.674132959 +0200
@@ -1,0 +2,7 @@
+Tue Oct 10 20:00:00 UTC 2023 - Fabrice Creuzot <c...@luigifab.fr>
+
+- New upstream release (1.2.3)
+  * fix read with RADEX ONE v1
+  * compatibility without notice for Python 3.12
+
+-------------------------------------------------------------------
@@ -9 +16 @@
-- New upstream version (1.2.2)
+- New upstream release (1.2.2)
@@ -16 +23 @@
-- New upstream version (1.2.1)
+- New upstream release (1.2.1)
@@ -22 +29 @@
-- New upstream version (1.2.0)
+- New upstream release (1.2.0)

Old:
----
  python-radexreader-1.2.2.tar.gz

New:
----
  python-radexreader-1.2.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-radexreader.spec ++++++
--- /var/tmp/diff_new_pack.zKphTJ/_old  2023-10-12 11:55:33.302155592 +0200
+++ /var/tmp/diff_new_pack.zKphTJ/_new  2023-10-12 11:55:33.302155592 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-radexreader
-Version:        1.2.2
+Version:        1.2.3
 Release:        0
 Summary:        Reader for the RADEX RD1212 and ONE Geiger counters
 License:        GPL-2.0-or-later

++++++ python-radexreader-1.2.2.tar.gz -> python-radexreader-1.2.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-radexreader-1.2.2/FUNDING.yml 
new/python-radexreader-1.2.3/FUNDING.yml
--- old/python-radexreader-1.2.2/FUNDING.yml    2023-06-06 22:00:00.000000000 
+0200
+++ new/python-radexreader-1.2.3/FUNDING.yml    1970-01-01 01:00:00.000000000 
+0100
@@ -1 +0,0 @@
-custom: ["https://fr.tipeee.com/luigifab";, "https://gandi.link/f/4b904048";, 
"https://ekwateur.fr/?parrain=EKW001147103";, 
"https://www.ebuyclub.com/?parrain=ebc4";]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-radexreader-1.2.2/README.md 
new/python-radexreader-1.2.3/README.md
--- old/python-radexreader-1.2.2/README.md      2023-06-06 22:00:00.000000000 
+0200
+++ new/python-radexreader-1.2.3/README.md      2023-10-10 22:00:00.000000000 
+0200
@@ -42,10 +42,11 @@
 
 * `sudo docker run --rm --user root -it --privileged -v /dev:/dev 
python:3.x-alpine /bin/sh` then: `apk update ; apk add libusb ; python3 -m pip 
install radexreader`
 
-#### Alternative installation for Debian and Ubuntu
+#### Repository for Debian and Ubuntu
 
 ```bash
-# https://launchpad.net/~luigifab/+archive/ubuntu/packages
+# PPA: https://launchpad.net/~luigifab/+archive/ubuntu/packages
+# with Debian 12+ you can use mantic+ instead of focal 
(https://unix.stackexchange.com/a/669008/364800)
 sudo add-apt-repository ppa:luigifab/packages
 sudo apt update
 sudo apt install python3-radexreader radexreader
@@ -71,8 +72,8 @@
 
 ## Copyright
 
-- Current version: 1.2.2 (06/06/2023)
-- Compatibility: Python 3.3 / 3.4 / 3.5 / 3.6 / 3.7 / 3.8 / 3.9 / 3.10 / 3.11
+- Current version: 1.2.3 (10/10/2023)
+- Compatibility: Python 3.3 / 3.4 / 3.5 / 3.6 / 3.7 / 3.8 / 3.9 / 3.10 / 3.11 
/ 3.12
 - Links: [luigifab.fr](https://www.luigifab.fr/python/radexreader) - 
[github.com](https://github.com/luigifab/python-radexreader) - 
[pypi.org](https://pypi.org/project/radexreader/)\
 [Debian 
python-radexreader.deb](https://packages.debian.org/python3-radexreader)\
 [Fedora 
python-radexreader.rpm](https://src.fedoraproject.org/rpms/python-radexreader)\
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-radexreader-1.2.2/debian/changelog 
new/python-radexreader-1.2.3/debian/changelog
--- old/python-radexreader-1.2.2/debian/changelog       2023-06-06 
22:00:00.000000000 +0200
+++ new/python-radexreader-1.2.3/debian/changelog       2023-10-10 
22:00:00.000000000 +0200
@@ -1,5 +1,5 @@
-python-radexreader (1.2.2-1) experimental; urgency=low
+python-radexreader (1.2.3-1) experimental; urgency=low
 
   * Initial Debian package release (Closes: #973447)
 
- -- Fabrice Creuzot <c...@luigifab.fr>  Tue, 06 Jun 2023 20:00:00 +0000
+ -- Fabrice Creuzot <c...@luigifab.fr>  Tue, 10 Oct 2023 20:00:00 +0000
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-radexreader-1.2.2/debian/deb.sh 
new/python-radexreader-1.2.3/debian/deb.sh
--- old/python-radexreader-1.2.2/debian/deb.sh  2023-06-06 22:00:00.000000000 
+0200
+++ new/python-radexreader-1.2.3/debian/deb.sh  2023-10-10 22:00:00.000000000 
+0200
@@ -3,7 +3,7 @@
 
 
 cd "$(dirname "$0")"
-version="1.2.2"
+version="1.2.3"
 
 
 rm -rf builder/
@@ -31,7 +31,7 @@
 
 
 # create packages for Debian and Ubuntu
-for serie in experimental mantic lunar kinetic jammy focal bionic xenial 
trusty; do
+for serie in experimental mantic lunar jammy focal bionic xenial trusty; do
 
        if [ $serie = "experimental" ]; then
                # for Ubuntu
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-radexreader-1.2.2/fedora/python-radexreader.spec 
new/python-radexreader-1.2.3/fedora/python-radexreader.spec
--- old/python-radexreader-1.2.2/fedora/python-radexreader.spec 2023-06-06 
22:00:00.000000000 +0200
+++ new/python-radexreader-1.2.3/fedora/python-radexreader.spec 2023-10-10 
22:00:00.000000000 +0200
@@ -18,7 +18,7 @@
 de débrancher l'appareil après l'installation.}
 
 Name:          python-radexreader
-Version:       1.2.2
+Version:       1.2.3
 Release:       1%{?dist}
 Summary:       %{common_summary_en}
 Summary(fr):   %{common_summary_fr}
@@ -27,7 +27,7 @@
 Source0:       %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
 
 BuildArch:     noarch
-BuildRequires: hunspell-fr
+BuildRequires: aspell-fr
 
 %description %{common_description_en}
 %description -l fr %{common_description_fr}
@@ -63,23 +63,29 @@
 mkdir -p %{buildroot}%{_bindir}/
 mkdir -p %{buildroot}/lib/udev/rules.d/
 mkdir -p %{buildroot}%{_mandir}/man1/ %{buildroot}%{_mandir}/fr/man1/
-install -p -m 644 ../debian/udev 
%{buildroot}/lib/udev/rules.d/60-python3-radexreader.rules
+install -p -m 755 ../src/radexreader.py %{buildroot}%{_bindir}/radexreader
 install -p -m 644 ../debian/radexreader.1 
%{buildroot}%{_mandir}/man1/radexreader.1
 install -p -m 644 ../debian/radexreader.fr.1 
%{buildroot}%{_mandir}/fr/man1/radexreader.1
-install -p -m 755 ../src/radexreader.py %{buildroot}%{_bindir}/radexreader
+install -p -m 644 ../debian/udev 
%{buildroot}/lib/udev/rules.d/60-python3-radexreader.rules
 
 %files -n python3-radexreader
-%{_mandir}/man1/radexreader.1*
-%{_mandir}/*/man1/radexreader.1*
 %license LICENSE
 %doc README.md
 %ghost %{python3_sitelib}/radexreader*egg-info/
 %{python3_sitelib}/radexreader/
 %{_bindir}/radexreader
+%{_mandir}/man1/radexreader.1*
+%{_mandir}/*/man1/radexreader.1*
 /lib/udev/rules.d/60-python3-radexreader.rules
 
 
 %changelog
+* Tue Oct 10 2023 Fabrice Creuzot <c...@luigifab.fr> - 1.2.3-1
+- New upstream release
+
+* Fri Jun 16 2023 Fabrice Creuzot <c...@luigifab.fr> - 1.2.2-2
+- Package spec update
+
 * Tue Jun 06 2023 Fabrice Creuzot <c...@luigifab.fr> - 1.2.2-1
 - New upstream release
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-radexreader-1.2.2/fedora/rpm.sh 
new/python-radexreader-1.2.3/fedora/rpm.sh
--- old/python-radexreader-1.2.2/fedora/rpm.sh  2023-06-06 22:00:00.000000000 
+0200
+++ new/python-radexreader-1.2.3/fedora/rpm.sh  2023-10-10 22:00:00.000000000 
+0200
@@ -1,9 +1,9 @@
 #!/bin/bash
-# Fedora: sudo dnf install rpmdevtools rpm-sign python3-devel hunspell-fr
+# Fedora: sudo dnf install rpmdevtools rpm-sign python3-devel aspell-fr 
enchant2-aspell
 # Fedora: configure: error: C compiler cannot create executables? remove and 
reinstall glibc-devel gcc
 
 cd "$(dirname "$0")"
-version="1.2.2"
+version="1.2.3"
 
 
 rm -rf builder/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-radexreader-1.2.2/opensuse/python-radexreader.spec 
new/python-radexreader-1.2.3/opensuse/python-radexreader.spec
--- old/python-radexreader-1.2.2/opensuse/python-radexreader.spec       
2023-06-06 22:00:00.000000000 +0200
+++ new/python-radexreader-1.2.3/opensuse/python-radexreader.spec       
2023-10-10 22:00:00.000000000 +0200
@@ -1,6 +1,6 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:          python-radexreader
-Version:       1.2.2
+Version:       1.2.3
 Release:       0
 Summary:       Reader for the RADEX RD1212 and ONE Geiger counters
 License:       GPL-2.0-or-later
@@ -43,32 +43,40 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 mkdir -p %{buildroot}%{_bindir}/
-mkdir -p %{buildroot}%{_udevrulesdir}/
 mkdir -p %{buildroot}%{_mandir}/man1/ %{buildroot}%{_mandir}/fr/man1/
-%python_expand install -p -m 644 ../debian/udev 
%{buildroot}%{_udevrulesdir}/60-python%{$python_bin_suffix}-radexreader.rules
+mkdir -p %{buildroot}%{_udevrulesdir}/
+install -p -m 755 ../src/radexreader.py %{buildroot}%{_bindir}/radexreader
 install -p -m 644 ../debian/radexreader.1 
%{buildroot}%{_mandir}/man1/radexreader.1
 install -p -m 644 ../debian/radexreader.fr.1 
%{buildroot}%{_mandir}/fr/man1/radexreader.1
-install -p -m 755 ../src/radexreader.py %{buildroot}%{_bindir}/radexreader
+%python_expand install -p -m 644 ../debian/udev 
%{buildroot}%{_udevrulesdir}/60-python%{$python_bin_suffix}-radexreader.rules
 %python_clone -a %{buildroot}%{_bindir}/radexreader
+%python_clone -a %{buildroot}%{_mandir}/man1/radexreader.1
+%python_clone -a %{buildroot}%{_mandir}/fr/man1/radexreader.1
 
 %files %{python_files}
-%{_mandir}/man1/radexreader.1*
-%{_mandir}/*/man1/radexreader.1*
 %license LICENSE
 %doc README.md
-%python_alternative %{_bindir}/radexreader
 %{python_sitelib}/radexreader/
 %{python_sitelib}/radexreader*egg-info/
 %{_udevrulesdir}/60-python%{python_bin_suffix}-radexreader.rules
+%python_alternative %{_bindir}/radexreader
+%python_alternative %{_mandir}/man1/radexreader.1%{?ext_man}
+%python_alternative %{_mandir}/fr/man1/radexreader.1%{?ext_man}
 
 %post
-%python_install_alternative radexreader
+%{python_install_alternative radexreader radexreader.1}
 
 %postun
-%python_uninstall_alternative radexreader
+%{python_uninstall_alternative radexreader radexreader.1}
 
 
 %changelog
+* Tue Oct 10 2023 Fabrice Creuzot <c...@luigifab.fr> - 1.2.3-1
+- New upstream release
+
+* Fri Jun 16 2023 Fabrice Creuzot <c...@luigifab.fr> - 1.2.2-2
+- Package spec update
+
 * Tue Jun 06 2023 Fabrice Creuzot <c...@luigifab.fr> - 1.2.2-1
 - New upstream release
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-radexreader-1.2.2/opensuse/rpm.sh 
new/python-radexreader-1.2.3/opensuse/rpm.sh
--- old/python-radexreader-1.2.2/opensuse/rpm.sh        2023-06-06 
22:00:00.000000000 +0200
+++ new/python-radexreader-1.2.3/opensuse/rpm.sh        2023-10-10 
22:00:00.000000000 +0200
@@ -3,7 +3,7 @@
 
 
 cd "$(dirname "$0")"
-version="1.2.2"
+version="1.2.3"
 
 
 rm -rf builder/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-radexreader-1.2.2/pypi/pypi.sh 
new/python-radexreader-1.2.3/pypi/pypi.sh
--- old/python-radexreader-1.2.2/pypi/pypi.sh   2023-06-06 22:00:00.000000000 
+0200
+++ new/python-radexreader-1.2.3/pypi/pypi.sh   2023-10-10 22:00:00.000000000 
+0200
@@ -3,7 +3,7 @@
 # Fedora: sudo dnf install python3-devel
 
 cd "$(dirname "$0")"
-version="1.2.2"
+version="1.2.3"
 rm -rf builder/
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-radexreader-1.2.2/src/radexreader/__init__.py 
new/python-radexreader-1.2.3/src/radexreader/__init__.py
--- old/python-radexreader-1.2.2/src/radexreader/__init__.py    2023-06-06 
22:00:00.000000000 +0200
+++ new/python-radexreader-1.2.3/src/radexreader/__init__.py    2023-10-10 
22:00:00.000000000 +0200
@@ -1,7 +1,7 @@
 #!/usr/bin/python3
 # -*- coding: utf8 -*-
 # Created L/19/10/2020
-# Updated S/04/03/2023
+# Updated S/07/10/2023
 #
 # Copyright 2020-2023 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
 # https://github.com/luigifab/python-radexreader
@@ -27,7 +27,7 @@
 import serial
 import serial.tools.list_ports
 
-__version__ = '1.2.2'
+__version__ = '1.2.3'
 
 class RadexReader():
 
@@ -182,7 +182,7 @@
 
                values = {}
                # from 0x0 to 0xb3
-               if last:
+               if last and self.com == 'RD1212v2':
                        keys = [0x0]
                elif last and self.com == 'RD1212v1':
                        keys = list(reversed(range(0x0, 0xb4)))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-radexreader-1.2.2/src/radexreader.py 
new/python-radexreader-1.2.3/src/radexreader.py
--- old/python-radexreader-1.2.2/src/radexreader.py     2023-06-06 
22:00:00.000000000 +0200
+++ new/python-radexreader-1.2.3/src/radexreader.py     2023-10-10 
22:00:00.000000000 +0200
@@ -1,7 +1,7 @@
 #!/usr/bin/python3
 # -*- coding: utf8 -*-
 # Created L/19/10/2020
-# Updated D/01/01/2023
+# Updated D/08/10/2023
 #
 # Copyright 2020-2023 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
 # https://github.com/luigifab/python-radexreader
@@ -16,13 +16,18 @@
 # merchantability or fitness for a particular purpose. See the
 # GNU General Public License (GPL) for more details.
 
-from datetime import datetime
+import datetime
 from platform import python_version
 import sys
 import time
 import usb
 import serial
 
+try:
+       datetime.UTC
+except AttributeError:
+       datetime.UTC = None
+
 # https://stackoverflow.com/a/62804772/2980105
 # prevent auto import for "import radexreader" when filename is 
"radexreader.py"
 sys.path = sys.path[1:]
@@ -60,7 +65,7 @@
                        for timestamp, measure in measures.items():
                                if timestamp != prev:
                                        print('%s  %s µSv/h  ±%s%% (%s ≤ %s 
≤ %s)' % (
-                                               
str(datetime.utcfromtimestamp(timestamp)),
+                                               
str(datetime.datetime.fromtimestamp(timestamp, datetime.UTC)),
                                                
str('{:.2f}'.format(measure['val'])).rjust(6, ' '),
                                                str(int(measure['pct'])),
                                                
str('{:.2f}'.format(measure['min'])),
@@ -97,7 +102,7 @@
                measures = reader.read(True)
                for timestamp, measure in measures.items():
                        print('%s  %s µSv/h  ±%s%% (%s ≤ %s ≤ %s)' % (
-                               str(datetime.utcfromtimestamp(timestamp)),
+                               str(datetime.datetime.fromtimestamp(timestamp, 
datetime.UTC)),
                                str('{:.2f}'.format(measure['val'])).rjust(6, ' 
'),
                                str(int(measure['pct'])),
                                str('{:.2f}'.format(measure['min'])),
@@ -126,7 +131,7 @@
                measures = reader.read(False)
                for timestamp, measure in measures.items():
                        print('%s  %s µSv/h  ±%s%% (%s ≤ %s ≤ %s)' % (
-                               str(datetime.utcfromtimestamp(timestamp)),
+                               str(datetime.datetime.fromtimestamp(timestamp, 
datetime.UTC)),
                                str('{:.2f}'.format(measure['val'])).rjust(6, ' 
'),
                                str(int(measure['pct'])),
                                str('{:.2f}'.format(measure['min'])),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-radexreader-1.2.2/src/setup.py 
new/python-radexreader-1.2.3/src/setup.py
--- old/python-radexreader-1.2.2/src/setup.py   2023-06-06 22:00:00.000000000 
+0200
+++ new/python-radexreader-1.2.3/src/setup.py   2023-10-10 22:00:00.000000000 
+0200
@@ -1,7 +1,7 @@
 #!/usr/bin/python3
 # -*- coding: utf8 -*-
 # Created L/19/10/2020
-# Updated V/24/12/2021
+# Updated S/07/10/2023
 #
 # Copyright 2020-2023 | Fabrice Creuzot (luigifab) <code~luigifab~fr>
 # https://github.com/luigifab/python-radexreader
@@ -26,7 +26,7 @@
                long_description = fh.read().replace('(images/', 
'(https://raw.githubusercontent.com/luigifab/python-radexreader/master/images/')
        setup(
                name='radexreader',
-               version='1.2.2',
+               version='1.2.3',
                description='Python library for the RADEX RD1212 and the RADEX 
ONE Geiger counters.',
                long_description=long_description,
                long_description_content_type='text/markdown',
@@ -40,7 +40,7 @@
 except:
        setup(
                name='radexreader',
-               version='1.2.2',
+               version='1.2.3',
                description='Python library for the RADEX RD1212 and the RADEX 
ONE Geiger counters.',
                license='GPL 2',
                author='Fabrice Creuzot',

Reply via email to