import python3.11-idna-3.4-1.el9

c9 imports/c9/python3.11-idna-3.4-1.el9
CentOS Sources 2023-05-09 05:24:47 +00:00 committed by Stepan Oksanichenko
commit 334398d7c7
3 changed files with 72 additions and 0 deletions

.gitignore vendored Normal file
View File

@ -0,0 +1 @@

View File

@ -0,0 +1 @@
c01a061b5ace87f662049d205d5d15e7f8a3a533 SOURCES/idna-3.4.tar.gz

View File

@ -0,0 +1,70 @@
%global __python3 /usr/bin/python3.11
%global python3_pkgversion 3.11
%global srcname idna
Name: python%{python3_pkgversion}-%{srcname}
Version: 3.4
Release: 1%{?dist}
Summary: Internationalized Domain Names in Applications (IDNA)
License: BSD and Python and Unicode
BuildArch: noarch
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-rpm-macros
BuildRequires: python%{python3_pkgversion}-setuptools
A library to support the Internationalised Domain Names in Applications (IDNA)
protocol as specified in RFC 5891 <>. This
version of the protocol is often referred to as "IDNA2008" and can produce
different results from the earlier standard from 2003.
The library is also intended to act as a suitable drop-in replacement for the
"encodings.idna" module that comes with the Python standard library but
currently only supports the older 2003 specification.
%autosetup -p1 -n %{srcname}-%{version}
# Remove bundled egg-info
rm -rf %{srcname}.egg-info
# setuptools currently does not support dynamic version,
# hence we set it statically in pyproject.toml
sed -i 's/dynamic.*/version=\"%{version}\"/g' pyproject.toml
%{__python3} -m unittest
%doc README.rst HISTORY.rst
* Fri Oct 21 2022 Charalampos Stratakis <> - 3.4-1
- Initial package
- Fedora contributions by:
Charalampos Stratakis <>
Dennis Gilmore <>
Iryna Shcherbina <>
Jeremy Cline <>
Lumir Balhar <>
Miro Hrončok <>
Orion Poplawski <>
Paul Wouters <>
Robert Kuska <>
Tom Prince <>