Blob Blame History Raw
Name:           python-rfc3987
Version:        1.3.8
Release:        %autorelease
Summary:        Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)

License:        GPL-3.0-or-later
Source:         %{pypi_source rfc3987}

BuildArch:      noarch

BuildRequires:  python3-devel

%global _description %{expand:
This module provides regular expressions according to RFC 3986 “Uniform
Resource Identifier (URI): Generic Syntax”
<> and RFC 3987 “Internationalized
Resource Identifiers (IRIs)” <>,
and utilities for composition and relative resolution of references.}

%description %{_description}

%package -n     python3-rfc3987
Summary:        %{summary}

%description -n python3-rfc3987 %{_description}

%autosetup -n rfc3987-%{version}



%pyproject_save_files -l rfc3987

# Remove shebang from non-executable library file.
sed -r -i '1{/^#!/d}' %{buildroot}%{python3_sitelib}/

%{py3_test_envvars} %{python3} -m doctest -v

%files -n python3-rfc3987 -f %{pyproject_files}
%doc README.txt