public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Federico Pellegrin <fede@evolware.org>
To: git-commits@fedoraproject.org
Subject: [rpms/pysnmp] epel9: Bump to 7.1.16
Date: Wed, 08 Jul 2026 03:12:25 GMT	[thread overview]
Message-ID: <178348034555.1.7333872498684028867.rpms-pysnmp-3508c6616736@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/pysnmp
            Branch : epel9
            Commit : 3508c6616736af1ed4b91e278323b5976b99bb56
            Author : Federico Pellegrin <fede@evolware.org>
            Date   : 2025-01-22T09:00:01+01:00
            Stats  : +20/-11 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/pysnmp/c/3508c6616736af1ed4b91e278323b5976b99bb56?branch=epel9

            Log:
            Bump to 7.1.16

- Previous versions were not working with Python 3.12 (so Fedora >=40)
- Use modern Python macros for toml setup
- Add import test to have at least a basic verification of package

---
diff --git a/.gitignore b/.gitignore
index 523181e..6a55d7f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -24,3 +24,4 @@ pysnmp-4.1.12a.tar.gz
 /pysnmp-4.4.10.tar.gz
 /pysnmp-4.4.11.tar.gz
 /pysnmp-4.4.12.tar.gz
+/pysnmp-7.1.16.tar.gz

diff --git a/pysnmp.spec b/pysnmp.spec
index f18319c..8b20e7a 100644
--- a/pysnmp.spec
+++ b/pysnmp.spec
@@ -1,13 +1,13 @@
 Name:           pysnmp
-Version:        4.4.12
-Release:        19%{?dist}
+Version:        7.1.16
+Release:        1%{?dist}
 
 Summary:        An SNMP engine written in Python
 
 # Automatically converted from old format: BSD - review is highly recommended.
 License:        LicenseRef-Callaway-BSD
-URL:            http://pysnmp.sourceforge.net/
-Source0:        https://github.com/etingof/pysnmp/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+URL:            https://pysnmp.com/
+Source0:        https://github.com/lextudio/pysnmp/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildArch:      noarch
 
 Requires:       net-snmp
@@ -36,19 +36,27 @@ networking.
 %prep
 %autosetup -n %{name}-%{version}
 
+%generate_buildrequires
+%pyproject_buildrequires
+
 %build
-%py3_build
+%pyproject_wheel
 
 %install
-%py3_install
+%pyproject_install
+%pyproject_save_files pysnmp
+
+%check
+%pyproject_check_import -e '*.smi.mibs.*'
 
-%files -n python3-%{name}
-%doc CHANGES.txt README.md THANKS.txt TODO.txt examples/ docs/
+%files -n python3-%{name} -f  %{pyproject_files}
+%doc CHANGES.rst README.md THANKS.txt TODO.txt examples/ docs/
 %license LICENSE.rst
-%{python3_sitelib}/%{name}/
-%{python3_sitelib}/%{name}*.egg-info
 
 %changelog
+* Wed Jan 22 2025 Federico Pellegrin <fede@evolware.org> - 7.1.16-1
+- Bump to 7.1.16, previous versions were not working with Python 3.12 (so Fedora >=40)
+
 * Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.12-19
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
 

diff --git a/sources b/sources
index ec7e532..5e3d4e3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pysnmp-4.4.12.tar.gz) = 48481e219098369b09cc2ffea6cd51974b64bed0131671cc7a2213ee5eb432c62e0ff5c3700b6be515bd3e90951927e41845c98ae7a339d551f0f4ec19c5e3b1
+SHA512 (pysnmp-7.1.16.tar.gz) = 24cf0f0008c2d7c4015f7e102006754d31e173247655d24ba814865b9170254f3c27b25fef8035034652cf78283182910f9f0a55864b1755fa9d7c96fc4ac193

                 reply	other threads:[~2026-07-08  3:12 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=178348034555.1.7333872498684028867.rpms-pysnmp-3508c6616736@fedoraproject.org \
    --to=fede@evolware.org \
    --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