|
|
9394a31 |
%global pypi_name rfc3987
|
|
|
9394a31 |
|
|
|
9394a31 |
Name: python-%{pypi_name}
|
|
|
9394a31 |
Version: 1.3.7
|
|
|
5a5da74 |
Release: 10%{?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
|
|
|
9394a31 |
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
|
|
|
9394a31 |
%{python3_sitelib}/__pycache__/%{pypi_name}.*
|
|
|
9394a31 |
|
|
|
9394a31 |
|
|
|
9394a31 |
%changelog
|
|
|
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
|