2011-09-01 09:04:27 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-PasteDeploy
|
|
|
|
|
#
|
2025-03-25 03:53:19 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2011-09-01 09:04:27 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
2011-12-12 09:04:42 +00:00
|
|
|
|
2018-12-04 13:45:26 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-09-01 09:04:27 +00:00
|
|
|
#
|
|
|
|
|
|
2011-12-12 09:04:42 +00:00
|
|
|
|
2023-05-09 15:21:26 +00:00
|
|
|
%{?sle15_python_module_pythons}
|
2011-09-01 09:04:27 +00:00
|
|
|
Name: python-PasteDeploy
|
2025-07-05 10:35:24 +00:00
|
|
|
Version: 3.1.0
|
2011-09-01 09:04:27 +00:00
|
|
|
Release: 0
|
2018-12-18 19:30:53 +00:00
|
|
|
Summary: Tool to load, configure, and compose WSGI applications and servers
|
2011-09-01 09:04:27 +00:00
|
|
|
License: MIT
|
|
|
|
|
Group: Development/Languages/Python
|
2019-03-05 19:16:40 +00:00
|
|
|
URL: https://github.com/Pylons/pastedeploy
|
2025-07-05 10:35:24 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/p/PasteDeploy/PasteDeploy-%{version}.tar.gz
|
2019-03-05 19:16:40 +00:00
|
|
|
BuildRequires: %{python_module Paste}
|
2022-05-16 15:46:47 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2020-03-14 15:44:27 +00:00
|
|
|
BuildRequires: %{python_module pytest}
|
2017-04-19 05:57:22 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2022-05-16 15:46:47 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2017-04-20 05:38:39 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
|
BuildRequires: python-rpm-macros
|
2011-09-01 09:04:27 +00:00
|
|
|
Requires: python-Paste
|
2013-10-24 11:09:50 +00:00
|
|
|
Requires: python-setuptools
|
2019-03-05 19:16:40 +00:00
|
|
|
Provides: python-pastedeploy = %{version}
|
|
|
|
|
Obsoletes: python-pastedeploy < %{version}
|
|
|
|
|
BuildArch: noarch
|
2017-04-19 05:57:22 +00:00
|
|
|
%python_subpackages
|
2011-09-01 09:04:27 +00:00
|
|
|
|
|
|
|
|
%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
|
2025-07-05 10:35:24 +00:00
|
|
|
%autosetup -p1 -n PasteDeploy-%{version}
|
2011-09-01 09:04:27 +00:00
|
|
|
|
2022-05-16 15:46:47 +00:00
|
|
|
sed -i -e '/^addopts/s/ --cov//' pytest.ini
|
|
|
|
|
|
2011-09-01 09:04:27 +00:00
|
|
|
%build
|
2022-05-16 15:46:47 +00:00
|
|
|
%pyproject_wheel
|
2011-09-01 09:04:27 +00:00
|
|
|
|
|
|
|
|
%install
|
2022-05-16 15:46:47 +00:00
|
|
|
%pyproject_install
|
2017-04-19 05:57:22 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
2011-09-01 09:04:27 +00:00
|
|
|
|
2019-03-05 19:16:40 +00:00
|
|
|
%check
|
2020-03-14 15:44:27 +00:00
|
|
|
%pytest
|
2019-03-05 19:16:40 +00:00
|
|
|
|
2017-04-19 05:57:22 +00:00
|
|
|
%files %{python_files}
|
2018-12-17 21:20:17 +00:00
|
|
|
%doc README.rst
|
2019-03-05 19:16:40 +00:00
|
|
|
%license license.txt
|
2025-07-05 10:35:24 +00:00
|
|
|
%{python_sitelib}/[pP]aste[dD]eploy-%{version}.dist-info
|
|
|
|
|
%{python_sitelib}/PasteDeploy-%{version}*-nspkg.pth
|
2022-05-16 15:46:47 +00:00
|
|
|
%{python_sitelib}/paste/deploy
|
2011-09-01 09:04:27 +00:00
|
|
|
|
|
|
|
|
%changelog
|