Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:smarty12:Python
python-pyramid_layout
python-pyramid_layout.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pyramid_layout.spec of Package python-pyramid_layout
# # spec file for package python-pyramid_layout # # Copyright (c) 2017 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 http://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pyramid_layout Version: 1.0 Release: 0 Url: https://docs.pylonsproject.org Summary: Pyramid add-on for facilitating UI layout License: BSD-4-Clause and ZPL-2.1 and MIT Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/p/pyramid_layout/pyramid_layout-%{version}.tar.gz Source1: fetch-intersphinx-files.sh Source2: pyramid.inv Patch: pyramid_layout-dont-call-git-on-build.patch Requires: python-pyramid >= 1.3.3 Requires: python-pyramid_zcml >= 0.9.2 BuildRequires: %{python_module devel} BuildRequires: %{python_module pyramid_zcml} >= 0.9.2 BuildRequires: %{python_module pyramid} >= 1.3.3 BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros # Documentation requirements: BuildRequires: python3-Sphinx BuildRequires: python3-pylons-sphinx-themes # Testing requirements: BuildRequires: %{python_module WebTest} BuildRequires: %{python_module coverage} BuildRequires: %{python_module hupper} BuildRequires: %{python_module mock} BuildRequires: %{python_module nose} BuildRequires: %{python_module plaster-pastedeploy} BuildRequires: %{python_module plaster} BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages %description Pyramid Layout is an add-on for the Pyramid Web Framework which allows developers to utilize the concept of a UI layout to your Pyramid application. Different layouts may be registered for use in different contexts of your application. The concept of panels is also introduced to facilitate rendering of subsections of a page in a consistent way across different views in a reusable way. See the documentation at Read the Docs: http://pyramid_layout.readthedocs.org/en/latest/ %package -n %{name}-doc Summary: Documentation for Pyramid add-on for facilitating UI layout Group: Development/Languages/Python Requires: %{name} = %{version} %description -n %{name}-doc This package contains documentation files for %{name}. %prep %setup -q -n pyramid_layout-%{version} %patch -p1 # patch in local intersphinx file sed -i "s|'\(.*\)', None|'\1', 'pyramid.inv'|g" docs/conf.py cp %SOURCE2 docs/ %build %python_build python3 setup.py build_sphinx && rm -f build/sphinx/html/.buildinfo %install %python_install %python_expand %fdupes -s %{buildroot}%{$python_sitelib} %check %python_exec setup.py nosetests --with-coverage %files %python_files %defattr(-,root,root,-) %if 0%{?leap_version} >= 420200 || 0%{?suse_version} > 1320 %license LICENSE.rst %else %doc LICENSE.rst %endif %doc CHANGES.txt COPYRIGHT.rst README.rst %{python_sitelib}/* %files -n %{name}-doc %defattr(-,root,root,-) %doc build/sphinx/html %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor