update to version 3.1.11
This commit is contained in:
parent
ca3ea3c8b4
commit
7c8d40dcf3
24
0001-fix-syntax-error.patch
Normal file
24
0001-fix-syntax-error.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
From b4673e990c4bf745e5f307d3067cae520c07ae0e Mon Sep 17 00:00:00 2001
|
||||||
|
From: wang--ge <wang__ge@126.com>
|
||||||
|
Date: Thu, 6 Apr 2023 16:34:28 +0800
|
||||||
|
Subject: [PATCH] fix syntax error
|
||||||
|
|
||||||
|
---
|
||||||
|
aenum/_py2.py | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/aenum/_py2.py b/aenum/_py2.py
|
||||||
|
index a6e7b29..7206155 100644
|
||||||
|
--- a/aenum/_py2.py
|
||||||
|
+++ b/aenum/_py2.py
|
||||||
|
@@ -2,6 +2,6 @@ from operator import div as _div_
|
||||||
|
from inspect import getargspec
|
||||||
|
|
||||||
|
def raise_with_traceback(exc, tb):
|
||||||
|
- raise exc, None, tb
|
||||||
|
+ raise exc.with_traceback(tb)
|
||||||
|
|
||||||
|
__all__ = ['_div_', 'getargspec', 'raise_with_traceback']
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
BIN
3.1.11.tar.gz
Normal file
BIN
3.1.11.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,11 +1,12 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-aenum
|
Name: python-aenum
|
||||||
Version: 2.2.3
|
Version: 3.1.11
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and NamedConstants
|
Summary: Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and NamedConstants
|
||||||
License: BSD License
|
License: BSD License
|
||||||
URL: https://bitbucket.org/stoneleaf/aenum
|
URL: https://bitbucket.org/stoneleaf/aenum
|
||||||
Source0: https://files.pythonhosted.org/packages/6f/6a/8ed729e0add885d7a559ebb06133029b1f8c4bd66cbf1bdee1ec969fb310/aenum-2.2.3.tar.gz
|
Source0: https://github.com/ethanfurman/aenum/archive/refs/tags/3.1.11.tar.gz
|
||||||
|
Patch0: 0001-fix-syntax-error.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
|
||||||
@ -29,7 +30,7 @@ Provides: python3-aenum-doc
|
|||||||
Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and NamedConstants
|
Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and NamedConstants
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n aenum-2.2.3
|
%autosetup -n aenum-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -69,5 +70,8 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 06 2023 Ge Wang <wangge20@h-partners.com> - 3.1.11-1
|
||||||
|
- Update to version 3.1.11
|
||||||
|
|
||||||
* Fri Jul 10 2020 Python_Bot <Python_Bot@openeuler.org>
|
* Fri Jul 10 2020 Python_Bot <Python_Bot@openeuler.org>
|
||||||
- Package Spec generated
|
- Package Spec generated
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user