Upgrade to version 3.7.0
This commit is contained in:
parent
04b6169752
commit
e6615adfa8
24
0001-add-version.patch
Normal file
24
0001-add-version.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From 4e337a541ecaf86d4fbc82bc38b6023eab72d538 Mon Sep 17 00:00:00 2001
|
||||
From: chen-jan <chen_aka_jan@163.com>
|
||||
Date: Thu, 23 Jun 2022 06:57:11 +0000
|
||||
Subject: [PATCH] add version
|
||||
|
||||
---
|
||||
setup.cfg | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/setup.cfg b/setup.cfg
|
||||
index 2b13441..af57d4e 100644
|
||||
--- a/setup.cfg
|
||||
+++ b/setup.cfg
|
||||
@@ -5,6 +5,7 @@ universal = true
|
||||
license_files =
|
||||
LICENSE
|
||||
name = singledispatch
|
||||
+version = 3.7.0
|
||||
author = Jason R. Coombs
|
||||
author_email = jaraco@jaraco.com
|
||||
description = Backport functools.singledispatch from Python 3.4 to Python 2.6-3.3.
|
||||
--
|
||||
2.30.0
|
||||
|
||||
@ -1,12 +1,13 @@
|
||||
Name: python-singledispatch
|
||||
Version: 3.4.0.3
|
||||
Release: 16
|
||||
Version: 3.7.0
|
||||
Release: 1
|
||||
Summary: Transform a method into a single-dispatch generic function
|
||||
License: MIT
|
||||
URL: https://pypi.org/project/singledispatch/
|
||||
Source0: https://pypi.python.org/packages/source/s/singledispatch/singledispatch-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
Patch001: 0001-add-version.patch
|
||||
|
||||
%description
|
||||
PEP 443 proposed to expose a mechanism in the functools standard library module in Python 3.4
|
||||
@ -27,9 +28,6 @@ This library is a backport of this functionality to Python 3.3.
|
||||
%prep
|
||||
%autosetup -n singledispatch-%{version} -p1
|
||||
|
||||
sed -i '1d' singledispatch.py
|
||||
sed -i '1d' singledispatch_helpers.py
|
||||
|
||||
%build
|
||||
%{__python3} setup.py build
|
||||
|
||||
@ -42,11 +40,13 @@ sed -i '1d' singledispatch_helpers.py
|
||||
%files -n python3-singledispatch
|
||||
%doc README.rst
|
||||
%{python3_sitelib}/singledispatch-%{version}-py%{python3_version}.egg-info
|
||||
%{python3_sitelib}/singledispatch.py*
|
||||
%{python3_sitelib}/singledispatch_helpers.py*
|
||||
%{python3_sitelib}/__pycache__/*
|
||||
%{python3_sitelib}/singledispatch/*.py
|
||||
%{python3_sitelib}/singledispatch/__pycache__/*
|
||||
|
||||
%changelog
|
||||
* Fri Jun 10 2022 SimpleUpdate Robot <tc@openeuler.org> - 3.7.0-1
|
||||
- Upgrade to version 3.7.0
|
||||
|
||||
* Wed Mar 30 2022 yaoxin <yaoxin30@huawei.com> - 3.4.0.3-16
|
||||
- Resolve compilation failures.
|
||||
|
||||
|
||||
Binary file not shown.
BIN
singledispatch-3.7.0.tar.gz
Normal file
BIN
singledispatch-3.7.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user