14
0

Accepting request 1281359 from home:mcalabkova:branches:devel:languages:python

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1281359
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lazr.delegates?expand=0&rev=6
This commit is contained in:
2025-05-30 10:42:44 +00:00
committed by Git OBS Bridge
parent e23b857bd0
commit 693c16b43a
2 changed files with 14 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 30 10:11:08 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 15 12:18:35 UTC 2023 - Andreas Schneider <asn@cryptomilk.org> Thu Jun 15 12:18:35 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-lazr.delegates # spec file for package python-lazr.delegates
# #
# Copyright (c) 2023 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
@@ -24,7 +24,9 @@ Summary: Easily write objects that delegate behavior
License: LGPL-3.0-only License: LGPL-3.0-only
URL: https://launchpad.net/lazr.delegates URL: https://launchpad.net/lazr.delegates
Source: https://files.pythonhosted.org/packages/source/l/lazr.delegates/lazr.delegates-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/l/lazr.delegates/lazr.delegates-%{version}.tar.gz
BuildRequires: %{python_module pip}
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-zope.interface Requires: python-zope.interface
@@ -43,10 +45,10 @@ Easily write objects that delegate behavior
%build %build
sed -i "/'nose'/d" setup.py sed -i "/'nose'/d" setup.py
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -55,6 +57,9 @@ sed -i "/'nose'/d" setup.py
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst
%license COPYING.txt %license COPYING.txt
%{python_sitelib}/* %dir %{python_sitelib}/lazr
%{python_sitelib}/lazr/delegates
%{python_sitelib}/lazr[._]delegates-%{version}*-info
%{python_sitelib}/lazr[._]delegates-%{version}*nspkg.pth
%changelog %changelog