public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pyModbusTCP] epel10.3: Update to v0.3.1
@ 2026-10-11 19:50 Steve Traylen
  0 siblings, 0 replies; only message in thread
From: Steve Traylen @ 2026-10-11 19:50 UTC (permalink / raw)
  To: git-commits

            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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-11 19:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-11 19:50 [rpms/python-pyModbusTCP] epel10.3: Update to v0.3.1 Steve Traylen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox