Bug 32828

Summary: python-radexreader: user-space driver for the RADEX RD1212 v1/v2 and the RADEX ONE Geiger counters. NEW PKG REQUEST
Product: Mageia Reporter: luigifab <code>
Component: New RPM package requestAssignee: All Packagers <pkg-bugs>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: https://github.com/luigifab/python-radexreader
Whiteboard:
Source RPM: https://download.opensuse.org/repositories/home:/luigifab/Mageia_Cauldron/src/ CVE:
Status comment:
Attachments: radexreader demo

Description luigifab 2024-02-10 13:39:28 CET
Same as 32817, but for another package.
I'd like to push it into Mageia and become its maintainer.

SPEC file: https://build.opensuse.org/package/view_file/home:luigifab/mageia-test2/python-radexreader.spec

---

The RadexReader is an user-space driver for the RADEX RD1212 v1/v2 and the RADEX ONE Geiger counters. 

Compared to the PyPI package, the RPM install an udev rule to avoid Access denied (insufficient permissions).

---

I saw in docs:

In the typical case, since Mageia 9, use:
 BuildRequires: pyproject-rpm-macros
 BuildRequires: python3-devel

For older releases or for setup.py builds:
 BuildRequires: python3

But with openSUSE's build systems, with pyproject-rpm-macros and python3-devel for Mageia 8 it also works.
Comment 1 luigifab 2024-02-10 13:39:56 CET
Created attachment 14359 [details]
radexreader demo

Demo with Mageia 9.
Comment 2 sturmvogel 2024-02-10 15:47:01 CET
Iws there a reason for the naming inconsitencys inside of the spec and on your github page?
python-radexreader
python3-radexreader

Why is a Debian directory created on rpm distributions?
Comment 3 luigifab 2024-02-10 16:10:28 CET
Yes, the project name on github is python-radexreader, like source package, and the built package name is python3-radexreader (https://wiki.mageia.org/en/Python_policy#Samples).

The debian directory is not created, it is just included with source files.
Comment 4 luigifab 2024-02-10 16:55:54 CET
Forget my question about Mageia 8.
Comment 5 Lewis Smith 2024-02-11 21:00:46 CET
Thank you luigifab for the suggestion, and your offer to maintain this thing; this is extremely helpful.
Also sturmvogel for perceptive questions.

Assigning anyway as a new pkg request, someone will look into these points.

Component: RPM Packages => New RPM package request
Assignee: bugsquad => pkg-bugs
Summary: Review request for python-radexreader => python-radexreader: user-space driver for the RADEX RD1212 v1/v2 and the RADEX ONE Geiger counters. NEW PKG REQUEST
Severity: normal => enhancement