# # spec file for package python-rfc3986 # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-rfc3987 Version: 1.3.8 Release: 1.1 Summary: Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987) License: Apache-2.0 Group: Development/Languages/Python Url: http://pypi.python.org/pypi/rfc3987 Source: https://pypi.python.org/packages/source/r/rfc3987/rfc3987-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildArch: noarch %python_subpackages %description Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987) 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. %prep %setup -q -n rfc3987-%{version} %build %python_build %install %python_install %fdupes %{buildroot}/%{_prefix} %files %{python_files} %defattr(-,root,root,-) %doc README.txt %{python_sitearch}/* %changelog * Sun Dec 09 2018 holgerbruenjes@gmx.net - update version 1.3.8 * Sun Nov 22 2015 holgerbruenjes@gmx.net - Initial package (1.3.4)