!9 Update to version 4.0.0

From: @wang--ge 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
This commit is contained in:
openeuler-ci-bot 2023-05-18 06:06:05 +00:00 committed by Gitee
commit 3eda6cc512
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 17 additions and 13 deletions

View File

@ -1,6 +1,6 @@
From 4e337a541ecaf86d4fbc82bc38b6023eab72d538 Mon Sep 17 00:00:00 2001 From d7299a8dffca708a26bdf7bb8f8da000a7f0981d Mon Sep 17 00:00:00 2001
From: chen-jan <chen_aka_jan@163.com> From: chen-jan <chen_aka_jan@163.com>
Date: Thu, 23 Jun 2022 06:57:11 +0000 Date: Thu, 18 May 2023 09:44:49 +0800
Subject: [PATCH] add version Subject: [PATCH] add version
--- ---
@ -8,17 +8,17 @@ Subject: [PATCH] add version
1 file changed, 1 insertion(+) 1 file changed, 1 insertion(+)
diff --git a/setup.cfg b/setup.cfg diff --git a/setup.cfg b/setup.cfg
index 2b13441..af57d4e 100644 index 69ab14c..3ef1080 100644
--- a/setup.cfg --- a/setup.cfg
+++ b/setup.cfg +++ b/setup.cfg
@@ -5,6 +5,7 @@ universal = true @@ -5,6 +5,7 @@ universal = true
license_files = license_files =
LICENSE LICENSE
name = singledispatch name = singledispatch
+version = 3.7.0 +version = 4.0.0
author = Jason R. Coombs author = Jason R. Coombs
author_email = jaraco@jaraco.com author_email = jaraco@jaraco.com
description = Backport functools.singledispatch from Python 3.4 to Python 2.6-3.3. description = Backport functools.singledispatch to older Pythons.
-- --
2.30.0 2.33.0

View File

@ -1,10 +1,10 @@
Name: python-singledispatch Name: python-singledispatch
Version: 3.7.0 Version: 4.0.0
Release: 1 Release: 1
Summary: Transform a method into a single-dispatch generic function Summary: Transform a method into a single-dispatch generic function
License: MIT License: MIT
URL: https://pypi.org/project/singledispatch/ URL: https://pypi.org/project/singledispatch/
Source0: https://pypi.python.org/packages/source/s/singledispatch/singledispatch-%{version}.tar.gz Source0: %{pypi_source singledispatch}
BuildArch: noarch BuildArch: noarch
Patch001: 0001-add-version.patch Patch001: 0001-add-version.patch
@ -17,7 +17,7 @@ This library is a backport of this functionality to Python 3.3.
%package -n python3-singledispatch %package -n python3-singledispatch
Summary: Transform a method into a single-dispatch generic function Summary: Transform a method into a single-dispatch generic function
%{?python_provide:%python_provide python3-singledispatch} %{?python_provide:%python_provide python3-singledispatch}
BuildRequires: python3-devel python3-setuptools python3-six BuildRequires: python3-devel python3-six python3-pip python3-wheel
Requires: python3-six Requires: python3-six
%description -n python3-singledispatch %description -n python3-singledispatch
@ -29,21 +29,25 @@ This library is a backport of this functionality to Python 3.3.
%autosetup -n singledispatch-%{version} -p1 %autosetup -n singledispatch-%{version} -p1
%build %build
%{__python3} setup.py build %pyproject_build
%install %install
%{__python3} setup.py install --skip-build --root %{buildroot} %pyproject_install
%check %check
%{__python3} setup.py test py.test-%{python3_version} -vv tests || :
%files -n python3-singledispatch %files -n python3-singledispatch
%doc README.rst %doc README.rst
%{python3_sitelib}/singledispatch-%{version}-py%{python3_version}.egg-info %{python3_sitelib}/singledispatch-%{version}.dist-info
%{python3_sitelib}/singledispatch/*.py %{python3_sitelib}/singledispatch/*.py
%{python3_sitelib}/singledispatch/__pycache__/* %{python3_sitelib}/singledispatch/__pycache__/*
%changelog %changelog
* Thu May 18 2023 Ge Wang <wang__ge@126.com> - 4.0.0-1
- Update to version 4.0.0
* Fri Jun 10 2022 SimpleUpdate Robot <tc@openeuler.org> - 3.7.0-1 * Fri Jun 10 2022 SimpleUpdate Robot <tc@openeuler.org> - 3.7.0-1
- Upgrade to version 3.7.0 - Upgrade to version 3.7.0

Binary file not shown.

BIN
singledispatch-4.0.0.tar.gz Normal file

Binary file not shown.