Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
31e779e901
!14 [sync] PR-13: update to 0.4.0
From: @openeuler-sync-bot 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
2022-11-08 02:17:40 +00:00
tianlijing
ba8550b301 update to 0.4.0
(cherry picked from commit 30dc6178b9b1f83215c54a87df43e8050de431ef)
2022-10-22 20:35:04 +08:00
openeuler-ci-bot
52de66744a
!12 [sync] PR-11: Fix changelog error
From: @openeuler-sync-bot 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
2022-10-22 12:32:02 +00:00
chendexi
898cb62610 Fix changelog error
fix changelog error

fix changelog error

(cherry picked from commit e144d584a67c34fb28d8b7fd1e1a56eb7ddfcb57)
2022-06-10 11:30:32 +08:00
openeuler-ci-bot
24c32a5ceb
!10 [sync] PR-7: change packaging to fix error
From: @openeuler-sync-bot 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
2022-04-02 09:12:31 +00:00
liuyumeng
4e31f5f133 change packaging to fix error
(cherry picked from commit cc393915d0ed378de9e644dc78b7db85fdd0e064)
2022-04-02 16:58:06 +08:00
openeuler-ci-bot
0b3fbbf51d !6 remove python2
From: @eaglegai
Reviewed-by: @orange-snn
Signed-off-by: @orange-snn
2020-10-29 20:44:44 +08:00
eaglegai
04e4e2998e remove python2, don't support python2 anymore 2020-10-29 10:15:54 +08:00
openeuler-ci-bot
56e77e5bea !4 solve source url problem
From: @hanzj0122_admin
Reviewed-by: @zengwefeng,@zengwefeng
Signed-off-by: @zengwefeng,@zengwefeng
2020-10-14 15:09:39 +08:00
hanzj0122_admin
9a70cd6bfc solve source curl problem 2020-09-11 16:18:57 +08:00
3 changed files with 19 additions and 19 deletions

Binary file not shown.

BIN
ntplib-0.4.0.tar.gz Normal file

Binary file not shown.

View File

@ -5,27 +5,19 @@ text (mode, leap indicator...). Since it's pure Python, and only depends on core
modules, it should work on any platform with a Python implementation.
Name: python-ntplib
Version: 0.3.4
Version: 0.4.0
Release: 1
Summary: This module offers a simple interface to query NTP servers from Python.
License: MIT
URL: https://pypi.org/project/ntplib/
Source0: https://github.com/cf-natali/ntplib/archive/ntplib-%{?version}.tar.gz
Source0: https://files.pythonhosted.org/packages/b4/14/6b018fb602602d9f6cc7485cbad7c1be3a85d25cea18c233854f05284aed/ntplib-0.4.0.tar.gz
BuildArch: noarch
%description
%package_description
%package -n python2-ntplib
Summary: This module offers a simple interface to query NTP servers from Python 2.
BuildRequires: python2-devel python2-setuptools
%{?python_provide:%python_provide python2-ntplib}
%description -n python2-ntplib
%package_description
%package -n python3-ntplib
Summary: This module offers a simple interface to query NTP servers from Python 3.
BuildRequires: python3-devel python3-setuptools
@ -40,26 +32,34 @@ BuildRequires: python3-devel python3-setuptools
%autosetup -n ntplib-%{version} -p1
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
%files -n python2-ntplib
%{python2_sitelib}/ntplib.*
%{python2_sitelib}/ntplib-%{?version}-py?.?.egg-info
%files -n python3-ntplib
%{python3_sitelib}/ntplib.py
%{python3_sitelib}/ntplib-%{?version}-py?.?.egg-info
%{python3_sitelib}/__pycache__/ntplib*.pyc
%{python3_sitelib}/ntplib*
%exclude %{python3_sitelib}/__pycache__/ntplib*.pyc
%files help
%doc CHANGELOG
%changelog
* Sun Sep 11 2022 tianlijing <tianlijing@kylinos.cn> - 0.4.0-1
- update to 0.4.0
* Thu Mar 31 2022 liuyumeng <liuyumeng5@h-partners.com> - 0.3.4-4
- change packaging to fix error
* Thu Oct 29 2020 gaihuiying <gaihuiying1@huawei.com> - 0.3.4-3
- Type:requirement
- ID:NA
- SUG:NA
- DESC:remove python2
* Fri Sep 11 2020 hanzhijun <hanzhijun1@huawei.com> - 0.3.4-2
- solve source url problem
* Tue Jul 28 2020 liulong <liulong20@huawei.com> - 0.3.4-1
- Type:requirement
- ID:NA