forked from pool/python-PasteDeploy
7063d5bc5c
* Use pytest.ini testpaths * Use pylons-sphinx-themes for pylons * Add GitHub issue templates (#13) * tox.ini: Drop py32; add py35 * Remove dead links * Fix string-formatting args when raising LookupError * Eliminate cover and cover3 tox targets * fix link to paster serve * Comment out obsolete static path * Prepare a 2.0.0 release (#19) * Use .rst for extension for better rendering on GitHub * rename directory of reST files to use .rst extension * Update link to Paste, saving a redirect https://pythonpaste.readthedocs.io/en/latest/ * Update tests to reflect new behaviour of globals and DEFAULT * Make 'python setup.py test' work (#5) * Switch to pytest * Remove obsolete links from navigation * missed one code-block highlighting * Add docs environment to tox. Build via `tox -e docs`. * Close branch pytest * Establish testing * update installation instructions * Move license.txt to root of repo in hopes that GitHub will find it * Add intersphinx and configure Python docs * Add rtd.txt to install pylons-sphinx-themes package * add docs env to tox * Release 2.0.1 * Add docs_extra to setup.py * proper spacing OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PasteDeploy?expand=0&rev=24
68 lines
2.2 KiB
RPMSpec
68 lines
2.2 KiB
RPMSpec
#
|
|
# spec file for package python-PasteDeploy
|
|
#
|
|
# Copyright (c) 2018 SUSE LINUX 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
%define oldpython python
|
|
Name: python-PasteDeploy
|
|
Version: 2.0.1
|
|
Release: 0
|
|
Url: http://pythonpaste.org/deploy/
|
|
Summary: Load, configure, and compose WSGI applications and servers
|
|
License: MIT
|
|
Group: Development/Languages/Python
|
|
Source: https://files.pythonhosted.org/packages/source/P/PasteDeploy/PasteDeploy-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: %{python_module pytest-runner}
|
|
BuildRequires: %{python_module setuptools}
|
|
BuildRequires: fdupes
|
|
BuildRequires: python-rpm-macros
|
|
Requires: python-Paste
|
|
Requires: python-setuptools
|
|
%ifpython2
|
|
Obsoletes: %{oldpython}-pastedeploy < %{version}
|
|
Provides: %{oldpython}-pastedeploy = %{version}
|
|
%endif
|
|
%ifpython3
|
|
Provides: python3-pastedeploy = %{version}
|
|
Obsoletes: python3-pastedeploy < %{version}
|
|
%endif
|
|
BuildArch: noarch
|
|
%python_subpackages
|
|
|
|
%description
|
|
This tool provides code to load WSGI applications and servers from URIs; these
|
|
URIs can refer to Python Eggs for INI-style configuration files. Paste Script
|
|
provides commands to serve applications based on this configuration file.
|
|
|
|
%prep
|
|
%setup -q -n PasteDeploy-%{version}
|
|
|
|
%build
|
|
%python_build
|
|
|
|
%install
|
|
%python_install
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%files %{python_files}
|
|
%defattr(-,root,root,-)
|
|
%doc README.rst
|
|
%{python_sitelib}/*
|
|
|
|
%changelog
|