|
 |
9394a31 |
%global pypi_name rfc3987
|
|
 |
9394a31 |
|
|
 |
9394a31 |
Name: python-%{pypi_name}
|
|
 |
9394a31 |
Version: 1.3.7
|
|
 |
4d6d1ec |
Release: 21%{?dist}
|
|
 |
9394a31 |
Summary: Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)
|
|
 |
9394a31 |
|
|
 |
9394a31 |
License: GPLv3+
|
|
 |
9394a31 |
URL: https://github.com/dgerber/rfc3987
|
|
 |
9394a31 |
Source0: https://files.pythonhosted.org/packages/source/r/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
 |
9394a31 |
BuildArch: noarch
|
|
 |
9394a31 |
|
|
 |
9394a31 |
%global _description \
|
|
 |
9394a31 |
This module provides regular expressions according to RFC 3986 "Uniform\
|
|
 |
9394a31 |
Resource Identifier (URI): Generic Syntax" <http://tools.ietf.org/html/rfc3986>\
|
|
 |
9394a31 |
and RFC 3987 "Internationalized Resource Identifiers (IRIs)"\
|
|
 |
9394a31 |
<http://tools.ietf.org/html/rfc3987>, and utilities for composition and\
|
|
 |
9394a31 |
relative resolution of references.
|
|
 |
9394a31 |
|
|
 |
9394a31 |
%description %{_description}
|
|
 |
9394a31 |
|
|
 |
9394a31 |
%package -n python3-%{pypi_name}
|
|
 |
9394a31 |
Summary: Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)
|
|
 |
9394a31 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
 |
9394a31 |
|
|
 |
9394a31 |
BuildRequires: python3-setuptools
|
|
 |
9394a31 |
BuildRequires: python3-devel
|
|
 |
9394a31 |
|
|
 |
9394a31 |
%description -n python3-%{pypi_name} %{_description}
|
|
 |
9394a31 |
|
|
 |
9394a31 |
This package includes the Python 3 version of the module.
|
|
 |
9394a31 |
|
|
 |
9394a31 |
%prep
|
|
 |
9394a31 |
%autosetup -n %{pypi_name}-%{version}
|
|
 |
9394a31 |
# Remove bundled egg-info
|
|
 |
9394a31 |
rm -rf %{pypi_name}.egg-info
|
|
 |
9394a31 |
|
|
 |
9394a31 |
%build
|
|
 |
9394a31 |
%py3_build
|
|
 |
9394a31 |
|
|
 |
9394a31 |
%install
|
|
 |
9394a31 |
%py3_install
|
|
 |
9394a31 |
|
|
 |
9394a31 |
# Remove shebang
|
|
 |
6932a21 |
sed -i -e '/^#!\//, 1d' %{buildroot}%{python3_sitelib}/rfc3987.py
|
|
 |
9394a31 |
|
|
 |
9394a31 |
%check
|
|
 |
9394a31 |
%{__python3} -m doctest -v %{pypi_name}.py
|
|
 |
9394a31 |
|
|
 |
9394a31 |
|
|
 |
9394a31 |
%files -n python3-%{pypi_name}
|
|
 |
9394a31 |
%license COPYING.txt
|
|
 |
9394a31 |
%doc README.txt
|
|
 |
9394a31 |
%{python3_sitelib}/%{pypi_name}.py
|
|
 |
24a3d94 |
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
|
 |
9394a31 |
%{python3_sitelib}/__pycache__/%{pypi_name}.*
|
|
 |
9394a31 |
|
|
 |
9394a31 |
|
|
 |
9394a31 |
%changelog
|
|
 |
4d6d1ec |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.7-21
|
|
 |
4d6d1ec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
 |
4d6d1ec |
|
|
 |
33a130a |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.3.7-20
|
|
 |
33a130a |
- Rebuilt for Python 3.11
|
|
 |
33a130a |
|
|
 |
5d5bcc2 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.7-19
|
|
 |
5d5bcc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
 |
5d5bcc2 |
|
|
 |
5e25166 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.7-18
|
|
 |
5e25166 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
 |
5e25166 |
|
|
 |
e037f3b |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.3.7-17
|
|
 |
e037f3b |
- Rebuilt for Python 3.10
|
|
 |
e037f3b |
|
|
 |
778ca50 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.7-16
|
|
 |
778ca50 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
778ca50 |
|
|
 |
e4a9440 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.7-15
|
|
 |
e4a9440 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
e4a9440 |
|
|
 |
dc6770a |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.3.7-14
|
|
 |
dc6770a |
- Rebuilt for Python 3.9
|
|
 |
dc6770a |
|
|
 |
2365544 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.7-13
|
|
 |
2365544 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
 |
2365544 |
|
|
 |
22555b8 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.7-12
|
|
 |
22555b8 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
 |
22555b8 |
|
|
 |
230be91 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.7-11
|
|
 |
230be91 |
- Rebuilt for Python 3.8
|
|
 |
230be91 |
|
|
 |
5a5da74 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.7-10
|
|
 |
5a5da74 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
 |
5a5da74 |
|
|
 |
9babab4 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.7-9
|
|
 |
9babab4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
 |
9babab4 |
|
|
 |
6932a21 |
* Fri Oct 12 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.3.7-8
|
|
 |
6932a21 |
- Python2 binary package has been removed
|
|
 |
6932a21 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
 |
6932a21 |
|
|
 |
70d5251 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.7-7
|
|
 |
70d5251 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
 |
70d5251 |
|
|
 |
2884813 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.3.7-6
|
|
 |
2884813 |
- Rebuilt for Python 3.7
|
|
 |
2884813 |
|
|
 |
c7f9553 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.7-5
|
|
 |
c7f9553 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
 |
c7f9553 |
|
|
 |
83c7705 |
* Tue Jan 30 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.3.7-4
|
|
 |
83c7705 |
- Update Python 2 dependency declarations to new packaging standards
|
|
 |
83c7705 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
 |
83c7705 |
|
|
 |
6686297 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.7-3
|
|
 |
6686297 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
 |
6686297 |
|
|
 |
9394a31 |
* Wed Apr 19 2017 Eduardo Mayorga Téllez <mayorga@fedoraproject.org> - 1.3.7-2
|
|
 |
9394a31 |
- Remove shebang from rfc3987.py
|
|
 |
9394a31 |
|
|
 |
9394a31 |
* Tue Apr 11 2017 Eduardo Mayorga Téllez <mayorga@fedoraproject.org> - 1.3.7-1
|
|
 |
9394a31 |
- Update to 1.3.7
|
|
 |
9394a31 |
- Include license text from tarball
|
|
 |
9394a31 |
|
|
 |
9394a31 |
* Wed Dec 21 2016 Eduardo Mayorga Téllez <mayorga@fedoraproject.org> - 1.3.6-2
|
|
 |
9394a31 |
- Call doctest in %%check
|
|
 |
9394a31 |
|
|
 |
9394a31 |
* Mon Jul 18 2016 Eduardo Mayorga Téllez <mayorga@fedoraproject.org> - 1.3.6-1
|
|
 |
9394a31 |
- Initial packaging
|