Accepting request 1205542 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/1205542
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-panel?expand=0&rev=29
This commit is contained in:
Ana Guerrero 2024-10-04 15:10:17 +00:00 committed by Git OBS Bridge
commit 33e507be55
3 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,14 @@
Do not install package-lock.json into the wheel
boo#1231254 gh#openSUSE/obs-service-node_modules#41
diff -ur panel-1.5.0.orig/pyproject.toml panel-1.5.0/pyproject.toml
--- panel-1.5.0.orig/pyproject.toml 2024-10-03 11:00:09.362861013 +0200
+++ panel-1.5.0/pyproject.toml 2024-10-03 11:00:21.459903574 +0200
@@ -110,6 +110,7 @@
[tool.hatch.build.targets.wheel]
include = ["panel"]
+exclude = ["panel/package-lock.json"]
[tool.hatch.build.targets.wheel.force-include]
"panel/dist" = "panel/dist"

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Oct 2 20:03:56 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Add exclude-package-lock.patch
* Do not install package-lock.json
* Avoids non-reproducible local registry port
* boo#1231254 gh#openSUSE/obs-service-node_modules#41
-------------------------------------------------------------------
Wed Sep 25 10:38:30 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@ -44,6 +44,8 @@ Source10: package-lock.json
Source11: node_modules.spec.inc
Source99: python-panel-rpmlintrc
%include %{_sourcedir}/node_modules.spec.inc
# PATCH-FEATURE-OPENSUSE exclude-package-lock.patch boo#1231254 gh#openSUSE/obs-service-node_modules#41
Patch0: exclude-package-lock.patch
BuildRequires: %{python_module base}
BuildRequires: %{python_module bleach}
BuildRequires: %{python_module bokeh >= 3.5.0 with %python-bokeh < 3.6}