!6 Update package to version 3.10.4

From: @jxy_git 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2023-11-02 09:51:37 +00:00 committed by Gitee
commit 78faf301d4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 5 additions and 27 deletions

Binary file not shown.

BIN
APScheduler-3.10.4.tar.gz Normal file

Binary file not shown.

View File

@ -1,25 +0,0 @@
From 61f66fa165142a65a534646922888d7ab3c72361 Mon Sep 17 00:00:00 2001
From: starlet-dx <15929766099@163.com>
Date: Mon, 8 May 2023 17:34:00 +0800
Subject: [PATCH 1/1] Adapt version constraints for tzlocal in setup.py
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 3b452aa..41347e5 100644
--- a/setup.py
+++ b/setup.py
@@ -42,7 +42,7 @@ setup(
'setuptools >= 0.7',
'six >= 1.4.0',
'pytz',
- 'tzlocal >= 2.0, != 3.*'
+ 'tzlocal >= 3.0'
],
extras_require={
'gevent': ['gevent'],
--
2.30.0

View File

@ -1,12 +1,11 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-APScheduler Name: python-APScheduler
Version: 3.10.1 Version: 3.10.4
Release: 1 Release: 1
Summary: In-process task scheduler with Cron-like capabilities Summary: In-process task scheduler with Cron-like capabilities
License: MIT License: MIT
URL: https://github.com/agronholm/apscheduler URL: https://github.com/agronholm/apscheduler
Source0: https://files.pythonhosted.org/packages/source/A/APScheduler/APScheduler-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/A/APScheduler/APScheduler-%{version}.tar.gz
Patch0: Adapt-version-constraints-for-tzlocal-in-setup.py.patch
BuildArch: noarch BuildArch: noarch
BuildRequires: python-setuptools_scm python3-pip python3-setuptools python3-six python3-pytz BuildRequires: python-setuptools_scm python3-pip python3-setuptools python3-six python3-pytz
@ -54,6 +53,7 @@ Documentation can be found `here <http://readthedocs.org/docs/apscheduler/en/lat
%prep %prep
%autosetup -n APScheduler-%{version} -p1 %autosetup -n APScheduler-%{version} -p1
awk '{gsub(/'\''tzlocal >= 2.0, != 3\..*'\''/, "'\''tzlocal >= 3.0'\''")}1' setup.py > setup.py.tmp && mv setup.py.tmp setup.py
%build %build
%py3_build %py3_build
@ -93,6 +93,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Wed Nov 01 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 3.10.4-1
- Update package to version 3.10.4
* Tue May 09 2023 yaoxin <yao_xin@hoperun.com> - 3.10.1-1 * Tue May 09 2023 yaoxin <yao_xin@hoperun.com> - 3.10.1-1
- Update to 3.10.1 - Update to 3.10.1