public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Steve Traylen <steve.traylen@cern.ch>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pyModbusTCP] epel10.3: Update to v0.3.1
Date: Sun, 11 Oct 2026 19:50:43 GMT [thread overview]
Message-ID: <179174824373.1.6942211556932964063.rpms-python-pyModbusTCP-a44ba5aac0bb@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-pyModbusTCP
Branch : epel10.3
Commit : a44ba5aac0bbbab3688e03c65f85cb7e14850a07
Author : Steve Traylen <steve.traylen@cern.ch>
Date : 2026-10-02T12:56:17+02:00
Stats : +19/-7 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-pyModbusTCP/c/a44ba5aac0bbbab3688e03c65f85cb7e14850a07?branch=epel10.3
Log:
Update to v0.3.1
- Resolves: rhbz#2543838
---
diff --git a/.gitignore b/.gitignore
index 8063c64..1cbae56 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/pyModbusTCP-0.1.10.tar.gz
/pyModbusTCP-0.2.0.tar.gz
/pyModbusTCP-0.3.0.tar.gz
+/pymodbustcp-0.3.1.tar.gz
diff --git a/python-pyModbusTCP.spec b/python-pyModbusTCP.spec
index bef7ecb..bed7dac 100644
--- a/python-pyModbusTCP.spec
+++ b/python-pyModbusTCP.spec
@@ -1,17 +1,20 @@
-# Created by pyp2rpm-3.2.2
%global pypi_name pyModbusTCP
+%global srcname %{py_dist_name %{pypi_name}}
Name: python-%{pypi_name}
-Version: 0.3.0
+Version: 0.3.1
Release: %autorelease
Summary: A simple Modbus/TCP library for Python
License: MIT
URL: https://github.com/sourceperl/pyModbusTCP
-Source0: https://files.pythonhosted.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+Source0: %{pypi_source %{srcname}}
BuildArch: noarch
BuildRequires: python3-devel
+# For tests
+BuildRequires: python3-pytest
+
%description
pyModbusTCP A simple Modbus/TCP client library for Python.
@@ -19,30 +22,38 @@ Since version 0.1.0, a server is also available for test
purpose only (don't use in project). pyModbusTCP is pure Python
code without any extension or external module dependency.
+
%package -n python3-%{pypi_name}
Summary: %{summary}
+
%description -n python3-%{pypi_name}
pyModbusTCP A simple Modbus/TCP client library for Python.
Since version 0.1.0, a server is also available for test
purpose only (don't use in project). pyModbusTCP is pure Python
code without any extension or external module dependency.
+
%prep
-%autosetup -n %{pypi_name}-%{version}
+%autosetup -n %{srcname}-%{version}
+
%generate_buildrequires
%pyproject_buildrequires
+
%build
%pyproject_wheel
+
%install
%pyproject_install
-%pyproject_save_files pyModbusTCP
+%pyproject_save_files -l %{pypi_name}
+
%check
-%py3_check_import pyModbusTCP
+%pytest
+
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.rst
diff --git a/sources b/sources
index 91e4d5f..f9c6a5f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pyModbusTCP-0.3.0.tar.gz) = 1a6abab14b5d90b4406ea9ae9dad0561401d5f3530d9cfdc5cdbd4a290374785eb1a6a3bf89c2dbb99f4cad4f1802af3d0ac968fdf9be82bd35d5487b14261d1
+SHA512 (pymodbustcp-0.3.1.tar.gz) = 3775bc3e8f46e72fafbdde6fb3ef25cf274580a165b44294968dca270ea7275a0bb3cc61cfa80a9d4cb2c87b800cdad35496b9231f409c71f62ff15140328294
reply other threads:[~2026-10-11 19:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179174824373.1.6942211556932964063.rpms-python-pyModbusTCP-a44ba5aac0bb@fedoraproject.org \
--to=steve.traylen@cern.ch \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox