Upgrade package to version 3.2.3

This commit is contained in:
Gzx1999 2022-10-08 15:41:11 +08:00
parent 50956dbf67
commit b2406501a1
4 changed files with 43 additions and 13 deletions

25
0001-add-setup.py.patch Normal file
View File

@ -0,0 +1,25 @@
From 442decd2a4c9b754e8c674044b85016d4fa99a7d Mon Sep 17 00:00:00 2001
From: Gzx1999 <guozhengxin@kylinos.cn>
Date: Sat, 24 Sep 2022 19:45:06 +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.25.1

Binary file not shown.

BIN
jaraco.classes-3.2.3.tar.gz Normal file

Binary file not shown.

View File

@ -1,34 +1,38 @@
%global _empty_manifest_terminate_build 0
Name: python-jaraco-classes
Version: 3.2.1
Version: 3.2.3
Release: 1
Summary: Utility functions for Python class constructs
License: MIT
URL: https://pypi.org/project/jaraco.classes
Source0: https://files.pythonhosted.org/packages/7b/de/28a640c17a80f5e0fab5c494679e2e66b36d7fd20622e27718bea8be34b8/jaraco.classes-3.2.1.tar.gz
URL: https://github.com/jaraco/jaraco.classes
Source0: https://files.pythonhosted.org/packages/bf/02/a956c9bfd2dfe60b30c065ed8e28df7fcf72b292b861dca97e951c145ef6/jaraco.classes-3.2.3.tar.gz
Patch0: 0001-add-setup.py.patch
BuildArch: noarch
Recommends: %{name}-help = %{version}-%{release}
BuildRequires: python3-sphinx python3-pytest
Recommends: %{name}-help = %{version}-%{release}
Requires: python3-more-itertools
Requires: python3-sphinx
Requires: python3-pytest
Requires: python3-pytest-checkdocs
Requires: python3-flake8
Requires: python3-pytest-flake8
Requires: python3-pytest-black-multipy
Requires: python3-pytest-cov
Requires: python3-pytest-enabler
Requires: python3-pytest-black
Requires: python3-pytest-mypy
%description
Utility functions for Python class constructs.
%package -n python3-jaraco-classes
Summary: Utility functions for Python class constructs
Provides: python-jaraco-classes
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm >= 1.15
BuildRequires: python3-sphinx
BuildRequires: python3-pytest
%description -n python3-jaraco-classes
Utility functions for Python class constructs.
@ -39,7 +43,8 @@ Provides: python3-jaraco-classes-doc
Documentation for jaraco-classes
%prep
%autosetup -n jaraco.classes-3.2.1
%autosetup -n jaraco.classes-%{version}
%patch0
%build
%py3_build
@ -73,15 +78,15 @@ mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-jaraco-classes -f filelist.lst
%exclude %{python3_sitelib}/jaraco/__init__*
%exclude %{python3_sitelib}/jaraco/__pycache__/__init__*
%{python3_sitelib}/jaraco
%{python3_sitelib}/jaraco.classes-%{version}-py%{python3_version}.egg-info
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Sat Oct 08 2022 guozhengxin <guozhengxin@kylinos.cn> - 3.2.3-1
- Upgrade package to version 3.2.3
* Tue May 31 2022 houyingchao <houyingchao@h-partners.com> - 3.2.1-1
- Upgrade to 3.2.1