public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-ntplib] f45: Update to 0.4.0
Date: Wed, 02 Sep 2026 02:49:35 GMT [thread overview]
Message-ID: <178831737519.1.7726418911361446320.rpms-python-ntplib-4b6e723611be@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-ntplib
Branch : f45
Commit : 4b6e723611be02f43af6b4e4f25955818eede6b4
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-08-23T00:48:35-03:00
Stats : +21/-16 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-ntplib/c/4b6e723611be02f43af6b4e4f25955818eede6b4?branch=f45
Log:
Update to 0.4.0
Resolves: rhbz#1829034
---
diff --git a/.gitignore b/.gitignore
index 9c639ce..b897e70 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/ntplib-0.3.1.tar.gz
/ntplib-0.3.2.tar.gz
/ntplib-0.3.3.tar.gz
+/ntplib-0.4.0.tar.gz
diff --git a/python-ntplib.spec b/python-ntplib.spec
index 2358ff9..d0f812c 100644
--- a/python-ntplib.spec
+++ b/python-ntplib.spec
@@ -1,13 +1,11 @@
-# tests require internet connection
-%global with_tests 0
Name: python-ntplib
-Version: 0.3.3
-Release: 42%{?dist}
+Version: 0.4.0
+Release: 1%{?dist}
Summary: Python module that offers a simple interface to query NTP servers
License: MIT
-URL: http://pypi.python.org/pypi/ntplib/
-Source0: https://pypi.python.org/packages/source/n/ntplib/ntplib-%{?version}.tar.gz
+URL: https://github.com/cf-natali/ntplib
+Source0: %{url}/archive/%{version}/ntplib-%{version}.tar.gz
BuildArch: noarch
@@ -22,7 +20,8 @@ modules, it should work on any platform with a Python implementation.
%package -n python3-ntplib
Summary: Python 3 module that offers a simple interface to query NTP servers
-BuildRequires: python3-devel
+BuildRequires: python3-devel
+BuildRequires: python3-pytest
%generate_buildrequires
%pyproject_buildrequires
@@ -38,26 +37,31 @@ Python 3 version.
%prep
-%setup -q -n ntplib-%{?version}
+%autosetup -p1 -n ntplib-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
+%pyproject_save_files ntplib
-%if 0%{?with_tests}
-%{__python3} test_ntplib.py
-%endif # with_tests
+%check
+%pyproject_check_import
+# test_request and test_helpers require internet access to pool.ntp.org
+%pytest -k "test_basic"
-%files -n python3-ntplib
-%doc CHANGELOG
-%{python3_sitelib}/ntplib*
-%{python3_sitelib}/__pycache__/*
+%files -n python3-ntplib -f %{pyproject_files}
+%license LICENSE
+%doc CHANGELOG README.md
%changelog
+* Sun Aug 23 2026 Filipe Rosset <rosset.filipe@gmail.com> - 0.4.0-1
+- Update to 0.4.0
+- Resolves: rhbz#1829034
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.3-42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
diff --git a/sources b/sources
index 0d5f041..13935ca 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c7cc8e9b09f40c84819859d70b7784ca ntplib-0.3.3.tar.gz
+SHA512 (ntplib-0.4.0.tar.gz) = ad735b1bccc4dc149622423b2877dc1d4b461f245dd0bd5b0cf963918ea63806772783e03eb8a66c75934746981fbd28789f19efa339c87b2f83e8218ee4a4c3
reply other threads:[~2026-09-02 2:49 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=178831737519.1.7726418911361446320.rpms-python-ntplib-4b6e723611be@fedoraproject.org \
--to=rosset.filipe@gmail.com \
--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