File python-pyramid_zcml.spec of Package python-pyramid_zcml

# spec file for package python-pyramid_zcml
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2015 LISA GmbH, Bingen, 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

%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name:           python-pyramid_zcml
Version:        1.2.0
Release:        0
Summary:        Zope Config Markup Language support for Pyramid
License:        BSD-4-Clause AND ZPL-2.1 AND MIT
Group:          Development/Languages/Python
# Testing requirements:
BuildRequires:  %{python_module WebTest}
BuildRequires:  %{python_module coverage}
BuildRequires:  %{python_module devel}
BuildRequires:  %{python_module hupper}
BuildRequires:  %{python_module nose}
BuildRequires:  %{python_module plaster-pastedeploy}
BuildRequires:  %{python_module plaster}
BuildRequires:  %{python_module pyramid_mako}
BuildRequires:  %{python_module pyramid} >= 1.4
BuildRequires:  %{python_module setuptools}
BuildRequires:  %{python_module venusian} >= 1.0
BuildRequires:  %{python_module zope.configuration} >= 3.8.0
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
Requires:       python-pyramid >= 1.4
Requires:       python-venusian >= 1.0
Requires:       python-zope.configuration >= 3.8.0
BuildArch:      noarch

pyramid_zcml is a package which provides ZCML (Zope Configuration Markup
Language) directives for all "configurator" methods available in the Pyramid
web framework.

See for detailed

%setup -q -n pyramid_zcml-%{version}


%python_expand %fdupes -s %{buildroot}%{$python_sitelib}

%python_exec nosetests --with-coverage

%files %python_files
%doc CHANGES.txt README.rst