14
0

Accepting request 1282284 from devel:languages:python

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1282284
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-plaster-pastedeploy?expand=0&rev=5
This commit is contained in:
2025-06-03 15:55:58 +00:00
committed by Git OBS Bridge
2 changed files with 12 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 3 11:40:23 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jun 9 05:33:35 UTC 2023 - ecsos <ecsos@popensuse.org> Fri Jun 9 05:33:35 UTC 2023 - ecsos <ecsos@popensuse.org>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-plaster-pastedeploy # spec file for package python-plaster-pastedeploy
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -26,9 +26,11 @@ Group: Development/Languages/Python
URL: https://github.com/Pylons/plaster_pastedeploy URL: https://github.com/Pylons/plaster_pastedeploy
Source0: https://files.pythonhosted.org/packages/source/p/plaster_pastedeploy/plaster_pastedeploy-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/p/plaster_pastedeploy/plaster_pastedeploy-%{version}.tar.gz
BuildRequires: %{python_module PasteDeploy >= 2.0} BuildRequires: %{python_module PasteDeploy >= 2.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module plaster >= 0.5} BuildRequires: %{python_module plaster >= 0.5}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-PasteDeploy >= 2.0 Requires: python-PasteDeploy >= 2.0
@@ -48,10 +50,10 @@ plaster.protocols.IWSGIProtocol interface.
rm -rf src/plaster_pastedeploy.egg-info rm -rf src/plaster_pastedeploy.egg-info
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -60,6 +62,7 @@ rm -rf src/plaster_pastedeploy.egg-info
%files %{python_files} %files %{python_files}
%doc CHANGES.rst %doc CHANGES.rst
%license LICENSE.txt %license LICENSE.txt
%{python_sitelib}/* %{python_sitelib}/plaster[-_]pastedeploy
%{python_sitelib}/plaster[-_]pastedeploy-%{version}*-info
%changelog %changelog