python-idna/python-idna.spec

200 lines
7.0 KiB
RPMSpec
Raw Normal View History

2015-01-01 01:37:07 +00:00
%global srcname idna
Name: python-%{srcname}
2022-09-15 08:37:17 +00:00
Version: 3.4
Release: 2%{?dist}
2015-01-01 01:37:07 +00:00
Summary: Internationalized Domain Names in Applications (IDNA)
License: BSD and Python and Unicode
URL: https://github.com/kjd/idna
2016-10-18 04:02:52 +00:00
Source0: https://pypi.io/packages/source/i/%{srcname}/%{srcname}-%{version}.tar.gz
2015-01-01 01:37:07 +00:00
BuildArch: noarch
2019-05-28 16:43:55 +00:00
BuildRequires: python3-devel
2022-09-15 08:37:17 +00:00
BuildRequires: python3dist(pytest)
2015-01-01 01:37:07 +00:00
%description
A library to support the Internationalised Domain Names in Applications (IDNA)
protocol as specified in RFC 5891 <http://tools.ietf.org/html/rfc5891>. 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
2015-01-01 04:01:03 +00:00
currently only supports the older 2003 specification.
2015-01-01 01:37:07 +00:00
2019-05-28 16:43:55 +00:00
%package -n python3-%{srcname}
2015-01-01 01:37:07 +00:00
Summary: Internationalized Domain Names in Applications (IDNA)
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
2015-01-01 01:37:07 +00:00
2019-05-28 16:43:55 +00:00
%description -n python3-%{srcname}
2015-01-01 01:37:07 +00:00
A library to support the Internationalised Domain Names in Applications (IDNA)
protocol as specified in RFC 5891 <http://tools.ietf.org/html/rfc5891>. This
2015-01-01 04:01:03 +00:00
version of the protocol is often referred to as "IDNA2008" and can produce
2015-01-01 01:37:07 +00:00
different results from the earlier standard from 2003.
The library is also intended to act as a suitable drop-in replacement for the
2015-01-01 04:01:03 +00:00
"encodings.idna" module that comes with the Python standard library but
currently only supports the older 2003 specification.
2015-01-01 01:37:07 +00:00
%prep
2019-05-28 16:43:55 +00:00
%autosetup -p1 -n %{srcname}-%{version}
2015-01-01 01:37:07 +00:00
# Remove bundled egg-info
rm -rf %{srcname}.egg-info
2022-09-15 08:37:17 +00:00
%generate_buildrequires
%pyproject_buildrequires
2015-01-01 01:37:07 +00:00
%build
2022-09-15 08:37:17 +00:00
%pyproject_wheel
2015-01-01 01:37:07 +00:00
%install
2022-09-15 08:37:17 +00:00
%pyproject_install
%pyproject_save_files %{srcname}
2015-01-01 01:37:07 +00:00
%check
2022-09-15 08:37:17 +00:00
%pytest
2015-01-01 01:37:07 +00:00
2022-09-15 08:37:17 +00:00
%files -n python3-%{srcname} -f %pyproject_files
2021-01-05 05:58:08 +00:00
%license LICENSE.md
%doc README.rst HISTORY.rst
2015-01-01 01:37:07 +00:00
%changelog
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2022-09-15 08:37:17 +00:00
* Thu Sep 15 2022 Lumír Balhar <lbalhar@redhat.com> - 3.4-1
- Update to 3.4
Resolves: rhbz#2126582
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2022-06-13 13:06:12 +00:00
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.3-3
- Rebuilt for Python 3.11
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
2021-10-14 12:49:00 +00:00
* Thu Oct 14 2021 Lumír Balhar <lbalhar@redhat.com> - 3.3-1
- Update to 3.3
Resolves: rhbz#2013470
2021-01-05 05:58:08 +00:00
* Tue Aug 03 2021 Lumír Balhar <lbalhar@redhat.com> - 3.2-1
- Update to 3.2
Resolves: rhbz#1965774
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2021-06-02 16:41:44 +00:00
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 2.10-4
- Rebuilt for Python 3.10
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-07-07 09:08:05 +00:00
* Tue Jul 07 2020 Lumír Balhar <lbalhar@redhat.com> - 2.10-1
- Update to 2.10 (#1851653)
2020-05-22 15:52:10 +00:00
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 2.9-2
- Rebuilt for Python 3.9
2020-05-05 16:27:43 +00:00
* Tue May 05 2020 Lumír Balhar <lbalhar@redhat.com> - 2.9-1
- Update to 2.9 (#1803654)
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sun Nov 24 2019 Miro Hrončok <mhroncok@redhat.com> - 2.8-5
- Subpackage python2-idna has been removed
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
2019-10-03 12:15:00 +00:00
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.8-4
- Rebuilt for Python 3.8.0rc1 (#1748018)
2019-08-15 14:46:40 +00:00
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 2.8-3
- Rebuilt for Python 3.8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2019-05-28 16:43:55 +00:00
* Tue May 28 2019 Jeremy Cline <jcline@redhat.com> - 2.8-1
- Update to v2.8
- Drop python version conditionals
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2018-06-14 12:44:14 +00:00
* Thu Jun 14 2018 Miro Hrončok <mhroncok@redhat.com> - 2.7-2
- Rebuilt for Python 3.7
2018-06-12 15:43:53 +00:00
* Tue Jun 12 2018 Jeremy Cline <jeremy@jcline.org> - 2.7-1
- Update to v2.7 (rhbz 1589803)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Jan 19 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.5-3
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Tue Mar 07 2017 Jeremy Cline <jeremy@jcline.org> - 2.5-1
- Update to version 2.5
* Wed Mar 01 2017 Jeremy Cline <jeremy@jcline.org> - 2.4-1
- Update to version 2.4
* Tue Feb 28 2017 Paul Wouters <pwouters@redhat.com> - 2.3-1
- Resolves: rhbz#1427499 Update to 2.3 for IDNAError bugfix and memory improvement
* Thu Feb 09 2017 Jeremy Cline <jeremy@jcline.org> - 2.2-1
- Update to version 2.2 (#1406757)
2016-12-11 15:39:18 +00:00
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.1-3
- Rebuild for Python 3.6
* Mon Nov 28 2016 Orion Poplawski <orion@cora.nwra.com> - 2.1-2
- Ship python2-idna
- Enable python3 for EPEL
- Modernize spec
2016-10-18 04:02:52 +00:00
* Mon Oct 17 2016 tom.prince@ualberta.net - 2.1-1
- Bump version.
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-4
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2015-11-04 12:25:45 +00:00
* Wed Nov 04 2015 Robert Kuska <rkuska@redhat.com> - 2.0-2
- Rebuilt for Python3.5 rebuild
* Thu Aug 13 2015 Paul Wouters <pwouters@redhat.com> - 2.0-1
- Update to 2.0 which is required by python-cryptography
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-01-01 04:01:03 +00:00
* Wed Dec 31 2014 tom.prince@ualberta.net - 1.0-1
- Bump version.
2015-01-01 01:37:07 +00:00
* Mon Oct 27 2014 tom.prince@ualberta.net - 0.8-3
- Update licences.
* Sat Jul 12 2014 tom.prince@ualberta.net - 0.8-2
- Be more specfic about .egg-info directories.
- Use python2-devel
* Sat Jul 12 2014 tom.prince@ualberta.net - 0.8-1
- Initial package.