!17 Update package to 3.4

From: @li-miaomiao_zhr 
Reviewed-by: @robertxw 
Signed-off-by: @robertxw
This commit is contained in:
openeuler-ci-bot 2023-07-25 07:18:22 +00:00 committed by Gitee
commit b6ae827953
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 11 additions and 5 deletions

Binary file not shown.

BIN
idna-3.4.tar.gz Normal file

Binary file not shown.

View File

@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-idna
Version: 3.3
Release: 2
Version: 3.4
Release: 1
Summary: Internationalized Domain Names in Applications (IDNA)
License: BSD
URL: https://github.com/kjd/idna
Source0: https://files.pythonhosted.org/packages/62/08/e3fc7c8161090f742f504f40b1bccbfc544d4a4e09eb774bf40aafce5436/idna-3.3.tar.gz
Source0: https://github.com/kjd/idna/archive/refs/tags/idna-3.4.tar.gz
BuildArch: noarch
@ -21,9 +21,11 @@ Summary: Internationalized Domain Names in Applications (IDNA)
Provides: python-idna = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-flit-core
%description -n python3-idna
A library to support the Internationalised Domain Names in
Applications (IDNA) protocol as specified in RFC 5891
@ -45,10 +47,10 @@ results from the earlier standard from 2003.
%autosetup -n idna-%{version}
%build
%py3_build
%pyproject_build
%install
%py3_install
%pyproject_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
@ -80,11 +82,15 @@ mv %{buildroot}/doclist.lst .
%files -n python3-idna -f filelist.lst
%dir %{python3_sitelib}/*
%{python3_sitelib}/idna/__pycache__/
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Fri Jun 30 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 3.4-1
- Update to 3.4
* Tue Nov 29 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 3.3-2
- revent to 3.3