!7 Update package
From: @liqiuyu123 Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
c81f473ade
25
0001-add-setup.py.patch
Normal file
25
0001-add-setup.py.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
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
|
||||||
|
|
||||||
@ -1,13 +1,13 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-tempora
|
Name: python-tempora
|
||||||
Version: 5.0.0
|
Version: 5.0.2
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Objects and routines pertaining to date and time (tempora)
|
Summary: Objects and routines pertaining to date and time (tempora)
|
||||||
License: MIT
|
License: MIT License
|
||||||
URL: https://pypi.org/project/tempora
|
URL: https://github.com/jaraco/tempora
|
||||||
Source0: https://files.pythonhosted.org/packages/33/b0/8041336531c24c411dfe9681734ab7f83c0e0b081a2b3800870c7425ce60/tempora-5.0.0.tar.gz
|
Source0: https://files.pythonhosted.org/packages/72/2c/9aff4204a4ea5172b0cb3508f8a504ab6562ba539825ea2e33a5b4cb629b/tempora-5.0.2.tar.gz
|
||||||
|
Patch0: 0001-add-setup.py.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Recommends: %{name}-help = %{version}-%{release}
|
|
||||||
|
|
||||||
Requires: python3-pytz
|
Requires: python3-pytz
|
||||||
Requires: python3-sphinx
|
Requires: python3-sphinx
|
||||||
@ -15,8 +15,11 @@ Requires: python3-pytest
|
|||||||
Requires: python3-pytest-checkdocs
|
Requires: python3-pytest-checkdocs
|
||||||
Requires: python3-pytest-flake8
|
Requires: python3-pytest-flake8
|
||||||
Requires: python3-pytest-cov
|
Requires: python3-pytest-cov
|
||||||
|
Requires: python3-pytest-enabler
|
||||||
Requires: python3-freezegun
|
Requires: python3-freezegun
|
||||||
Requires: python3-pytest-freezegun
|
Requires: python3-pytest-freezegun
|
||||||
|
Requires: python3-types-freezegun
|
||||||
|
Requires: python3-types-pytz
|
||||||
Requires: python3-pytest-black
|
Requires: python3-pytest-black
|
||||||
Requires: python3-pytest-mypy
|
Requires: python3-pytest-mypy
|
||||||
|
|
||||||
@ -28,22 +31,18 @@ Summary: Objects and routines pertaining to date and time (tempora)
|
|||||||
Provides: python-tempora
|
Provides: python-tempora
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-setuptools_scm
|
|
||||||
BuildRequires: python3-toml
|
|
||||||
|
|
||||||
%description -n python3-tempora
|
%description -n python3-tempora
|
||||||
Objects and routines pertaining to date and time (tempora).
|
Objects and routines pertaining to date and time (tempora).
|
||||||
|
|
||||||
%package help
|
%package help
|
||||||
Summary: Development documents and examples for tempora
|
Summary: Development documents and examples for tempora
|
||||||
Provides: python3-tempora-doc
|
Provides: python3-tempora-doc
|
||||||
|
|
||||||
%description help
|
%description help
|
||||||
Objects and routines pertaining to date and time (tempora).
|
Objects and routines pertaining to date and time (tempora).
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n tempora-5.0.0
|
%autosetup -n tempora-5.0.2
|
||||||
|
%patch0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -83,6 +82,9 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 08 2022 liqiuyu <liqiuyu@kylinos.cn> - 5.0.2-1
|
||||||
|
- update to 5.0.2
|
||||||
|
|
||||||
* Sat Jan 15 2022 wulei <wulei80@huawei.com> - 5.0.0-1
|
* Sat Jan 15 2022 wulei <wulei80@huawei.com> - 5.0.0-1
|
||||||
- Package update
|
- Package update
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
BIN
tempora-5.0.2.tar.gz
Normal file
BIN
tempora-5.0.2.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user