e7233af
%global srcname idna
e7233af
e7233af
Name:           python-%{srcname}
f602d2a
Version:        3.3
2913cf1
Release:        4%{?dist}
e7233af
Summary:        Internationalized Domain Names in Applications (IDNA)
e7233af
e7233af
License:        BSD and Python and Unicode
e7233af
URL:            https://github.com/kjd/idna
Tom Prince 1721259
Source0:        https://pypi.io/packages/source/i/%{srcname}/%{srcname}-%{version}.tar.gz
e7233af
BuildArch:      noarch
e7233af
Jeremy Cline 7e3e756
BuildRequires:  python3-devel
Jeremy Cline 7e3e756
BuildRequires:  python3-setuptools
e7233af
e7233af
%description
e7233af
A library to support the Internationalised Domain Names in Applications (IDNA)
e7233af
protocol as specified in RFC 5891 <http://tools.ietf.org/html/rfc5891>.  This
e7233af
version of the protocol is often referred to as "IDNA2008" and can produce
e7233af
different results from the earlier standard from 2003.
e7233af
e7233af
The library is also intended to act as a suitable drop-in replacement for the
e7233af
"encodings.idna" module that comes with the Python standard library but
707eb17
currently only supports the older 2003 specification.
e7233af
Jeremy Cline 7e3e756
%package -n python3-%{srcname}
e7233af
Summary:        Internationalized Domain Names in Applications (IDNA)
Orion Poplawski 3cba5e9
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
e7233af
Jeremy Cline 7e3e756
%description -n python3-%{srcname}
e7233af
A library to support the Internationalised Domain Names in Applications (IDNA)
e7233af
protocol as specified in RFC 5891 <http://tools.ietf.org/html/rfc5891>.  This
707eb17
version of the protocol is often referred to as "IDNA2008" and can produce
e7233af
different results from the earlier standard from 2003.
e7233af
e7233af
The library is also intended to act as a suitable drop-in replacement for the
707eb17
"encodings.idna" module that comes with the Python standard library but
707eb17
currently only supports the older 2003 specification.
e7233af
e7233af
%prep
Jeremy Cline 7e3e756
%autosetup -p1 -n %{srcname}-%{version}
e7233af
# Remove bundled egg-info
e7233af
rm -rf %{srcname}.egg-info
e7233af
e7233af
%build
Orion Poplawski 3cba5e9
%py3_build
e7233af
e7233af
%install
Orion Poplawski 3cba5e9
%py3_install
e7233af
e7233af
%check
Tom Prince 1721259
%{__python3} setup.py test
e7233af
e7233af
Jeremy Cline 7e3e756
%files -n python3-%{srcname}
a8954f8
%license LICENSE.md
Orion Poplawski 3cba5e9
%doc README.rst HISTORY.rst
e7233af
%{python3_sitelib}/%{srcname}
e7233af
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info
e7233af
e7233af
%changelog
2913cf1
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-4
2913cf1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2913cf1
0df138c
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.3-3
0df138c
- Rebuilt for Python 3.11
0df138c
29d665d
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-2
29d665d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
29d665d
f602d2a
* Thu Oct 14 2021 Lumír Balhar <lbalhar@redhat.com> - 3.3-1
f602d2a
- Update to 3.3
f602d2a
Resolves: rhbz#2013470
f602d2a
a8954f8
* Tue Aug 03 2021 Lumír Balhar <lbalhar@redhat.com> - 3.2-1
a8954f8
- Update to 3.2
a8954f8
Resolves: rhbz#1965774
a8954f8
1b4f859
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-5
1b4f859
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
1b4f859
7f289bd
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 2.10-4
7f289bd
- Rebuilt for Python 3.10
7f289bd
aaf9cdf
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-3
aaf9cdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
aaf9cdf
242d322
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-2
242d322
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
242d322
ea269a9
* Tue Jul 07 2020 Lumír Balhar <lbalhar@redhat.com> - 2.10-1
ea269a9
- Update to 2.10 (#1851653)
ea269a9
83f622b
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 2.9-2
83f622b
- Rebuilt for Python 3.9
83f622b
0b48129
* Tue May 05 2020 Lumír Balhar <lbalhar@redhat.com> - 2.9-1
0b48129
- Update to 2.9 (#1803654)
0b48129
a9de15f
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-6
a9de15f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
a9de15f
902ed5f
* Sun Nov 24 2019 Miro Hrončok <mhroncok@redhat.com> - 2.8-5
902ed5f
- Subpackage python2-idna has been removed
902ed5f
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
902ed5f
a1cd425
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.8-4
a1cd425
- Rebuilt for Python 3.8.0rc1 (#1748018)
a1cd425
5d5f39b
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 2.8-3
5d5f39b
- Rebuilt for Python 3.8
5d5f39b
f608d5b
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-2
f608d5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
f608d5b
Jeremy Cline 7e3e756
* Tue May 28 2019 Jeremy Cline <jcline@redhat.com> - 2.8-1
Jeremy Cline 7e3e756
- Update to v2.8
Jeremy Cline 7e3e756
- Drop python version conditionals
Jeremy Cline 7e3e756
222e95d
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-4
222e95d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
222e95d
db5639a
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-3
db5639a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
db5639a
c6fc0c1
* Thu Jun 14 2018 Miro Hrončok <mhroncok@redhat.com> - 2.7-2
c6fc0c1
- Rebuilt for Python 3.7
c6fc0c1
Jeremy Cline 939f059
* Tue Jun 12 2018 Jeremy Cline <jeremy@jcline.org> - 2.7-1
Jeremy Cline 939f059
- Update to v2.7 (rhbz 1589803)
Jeremy Cline 939f059
0c1d7bd
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-4
0c1d7bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
0c1d7bd
da2a81f
* Fri Jan 19 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.5-3
da2a81f
- Update Python 2 dependency declarations to new packaging standards
da2a81f
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
da2a81f
3073bf6
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-2
3073bf6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3073bf6
cc119a3
* Tue Mar 07 2017 Jeremy Cline <jeremy@jcline.org> - 2.5-1
cc119a3
- Update to version 2.5
cc119a3
d912c9f
* Wed Mar 01 2017 Jeremy Cline <jeremy@jcline.org> - 2.4-1
d912c9f
- Update to version 2.4
d912c9f
6e14ec1
* Tue Feb 28 2017 Paul Wouters <pwouters@redhat.com> - 2.3-1
6e14ec1
- Resolves: rhbz#1427499 Update to 2.3 for IDNAError bugfix and memory improvement
6e14ec1
f624239
* Thu Feb 09 2017 Jeremy Cline <jeremy@jcline.org> - 2.2-1
f624239
- Update to version 2.2 (#1406757)
f624239
9acc2ca
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.1-3
9acc2ca
- Rebuild for Python 3.6
9acc2ca
Orion Poplawski 3cba5e9
* Mon Nov 28 2016 Orion Poplawski <orion@cora.nwra.com> - 2.1-2
Orion Poplawski 3cba5e9
- Ship python2-idna
Orion Poplawski 3cba5e9
- Enable python3 for EPEL
Orion Poplawski 3cba5e9
- Modernize spec
Orion Poplawski 3cba5e9
Tom Prince 1721259
* Mon Oct 17 2016 tom.prince@ualberta.net - 2.1-1
Tom Prince 1721259
- Bump version.
Tom Prince 1721259
e2ebb4f
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-4
e2ebb4f
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
e2ebb4f
bfa6847
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-3
bfa6847
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
bfa6847
Robert Kuska ebb29b5
* Wed Nov 04 2015 Robert Kuska <rkuska@redhat.com> - 2.0-2
Robert Kuska ebb29b5
- Rebuilt for Python3.5 rebuild
Robert Kuska ebb29b5
8987bde
* Thu Aug 13 2015 Paul Wouters <pwouters@redhat.com> - 2.0-1
8987bde
- Update to 2.0 which is required by python-cryptography
8987bde
29370d9
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
29370d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
29370d9
707eb17
* Wed Dec 31 2014 tom.prince@ualberta.net - 1.0-1
707eb17
- Bump version.
707eb17
e7233af
* Mon Oct 27 2014 tom.prince@ualberta.net - 0.8-3
e7233af
- Update licences.
e7233af
e7233af
* Sat Jul 12 2014 tom.prince@ualberta.net - 0.8-2
e7233af
- Be more specfic about .egg-info directories.
e7233af
- Use python2-devel
e7233af
e7233af
* Sat Jul 12 2014 tom.prince@ualberta.net - 0.8-1
e7233af
- Initial package.