Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
682fb6e795
!15 Update package to version 5.5.0
From: @kirin_2_0 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2023-07-13 10:02:57 +00:00
kirin_2_0
85bee1f80a updated to latest:5.5.0 2023-07-11 11:09:18 +08:00
openeuler-ci-bot
f6b6b8f2f9
!14 Use pyproject to compile package
From: @jxy_git 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2023-04-28 06:26:45 +00:00
jxy_git
c7a14b4d1d Use pyproject to compile package 2023-04-27 15:20:24 +08:00
openeuler-ci-bot
2a1865781a
!13 Update package to version 5.2.2
From: @jxy_git 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2023-04-11 08:40:39 +00:00
jxy_git
80b89b2533 Update package to version 5.2.2 2023-04-11 15:07:32 +08:00
openeuler-ci-bot
d5ca8c8de4
!12 [sync] PR-11: 修复python3-tempora和python3-jaraco-classes的安装冲突
From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-02-27 08:45:16 +00:00
starlet-dx
8eee27c537 Fix installation conflicts between python3-tempora and python3-jaraco-classes
(cherry picked from commit f4cc02e4993c08a5fddfc6ccc14f8bc9784141c2)
2023-02-27 16:35:50 +08:00
openeuler-ci-bot
4c04d90af3
!10 update package to 5.2.1
From: @wubijie123 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2023-02-08 01:31:50 +00:00
wubijie
0cc93dd781 update to 5.2.1 2023-02-07 14:31:33 +08:00
4 changed files with 28 additions and 60 deletions

View File

@ -1,25 +0,0 @@
From b0129def51fede481dcb639373de3614b38f3130 Mon Sep 17 00:00:00 2001
From: liqiuyu123 <liqiuyu@kylinos.cn>
Date: Mon, 8 Aug 2022 14:30:17 +0800
Subject: [PATCH] add setup.py
---
setup.py | 6 ++++++
1 file changed, 6 insertions(+)
create mode 100644 setup.py
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..bac24a4
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,6 @@
+#!/usr/bin/env python
+
+import setuptools
+
+if __name__ == "__main__":
+ setuptools.setup()
--
2.37.1.windows.1

View File

@ -1,21 +1,20 @@
%global _empty_manifest_terminate_build 0
Name: python-tempora
Version: 5.1.0
Version: 5.5.0
Release: 1
Summary: Objects and routines pertaining to date and time (tempora)
License: MIT
URL: https://github.com/jaraco/tempora
Source0: https://files.pythonhosted.org/packages/a9/4e/41863232e77742b3a5b30a81e1398abd102aa0a67657bc86a53800966b8e/tempora-5.1.0.tar.gz
Patch0: 0001-add-setup.py.patch
Source0: https://files.pythonhosted.org/packages/c9/dc/97d90b9f64dbe4f599023e19602b33a2cced68462db67a3d4805a77cf784/tempora-5.5.0.tar.gz
BuildArch: noarch
Requires: python3-pytz
Requires: python3-pytz
Requires: python3-sphinx
Requires: python3-pytest
Requires: python3-pytest-checkdocs
Requires: python3-pytest-flake8
Requires: python3-pytest-cov
Requires: python3-pytest-enabler
Requires: python3-pytest-enabler
Requires: python3-freezegun
Requires: python3-pytest-freezegun
Requires: python3-types-freezegun
@ -28,9 +27,9 @@ Objects and routines pertaining to date and time (tempora).
%package -n python3-tempora
Summary: Objects and routines pertaining to date and time (tempora)
Provides: python-tempora
Provides: python-tempora = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip python3-wheel python3-flit
BuildRequires: python3-setuptools_scm
BuildRequires: python3-toml
%description -n python3-tempora
@ -43,47 +42,41 @@ Provides: python3-tempora-doc
Objects and routines pertaining to date and time (tempora).
%prep
%autosetup -n tempora-5.1.0
%patch0
%autosetup -n tempora-%{version} -p1
%build
%py3_build
%pyproject_build
%install
%py3_install
%pyproject_install tempora==%{version}
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-tempora -f filelist.lst
%dir %{python3_sitelib}/*
%files -n python3-tempora
%{python3_sitelib}/*
%{_bindir}/calc-prorate
%files help -f doclist.lst
%files help
%{_docdir}/*
%changelog
* Tue Jul 11 2023 niuyaru <niuyaru@kylinos.cn> - 5.5.0-1
- Update package to version 5.5.0
* Thu Apr 27 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 5.2.2-2
- Use pyproject to compile package
* Tue Apr 11 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 5.2.2-1
- Update package to version 5.2.2
* Mon Feb 27 2023 yaoxin <yaoxin30@h-partners.com> - 5.2.1-2
- Fix installation conflicts between python3-tempora and python3-jaraco-classes
* Tue Feb 7 2023 wubijie <wubijie@kylinos.cn> - 5.2.1-1
- update to 5.2.1
* Tue Dec 13 2022 wenzhiwei <wenzhiwei@kylinos.cn> - 5.1.0-1
- update to 5.1.0

Binary file not shown.

BIN
tempora-5.5.0.tar.gz Normal file

Binary file not shown.