14
0
forked from pool/python-spsdk

- Add python-spsdk-remove_pypemicro.patch to remove dependency on

python-pypemcro and pyocd-pemicro.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-spsdk?expand=0&rev=9
This commit is contained in:
2024-03-26 11:35:36 +00:00
committed by Git OBS Bridge
parent aac3b151b8
commit cded09b966
3 changed files with 40 additions and 3 deletions

View File

@@ -24,6 +24,8 @@ Summary: Unified, reliable and easy to use SW library working across NXP
License: BSD-3-Clause
URL: https://github.com/nxp-mcuxpresso/spsdk
Source: https://files.pythonhosted.org/packages/source/s/spsdk/spsdk-%{version}.tar.gz
# PATCH-FIX-OPENSUSE python-spsdk-remove_pypemicro.patch
Patch0: python-spsdk-remove_pypemicro.patch
BuildRequires: %{python_module flit}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
@@ -50,13 +52,15 @@ Requires: python-platformdirs
Requires: python-prettytable
Requires: python-pylink-square
Requires: python-pyocd
Requires: python-pyocd-pemicro
Requires: python-pypemicro
Requires: python-pyserial
Requires: python-requests
Requires: python-ruamel.yaml
Requires: python-sly
Requires: python-typing-extensions
# Removed dependencies
# Requires: python-pyocd-pemicro
# dependency no longer required due to Patch0
# Requires: python-pypemicro
BuildArch: noarch
Requires(post): update-alternatives
Requires(postun): update-alternatives
@@ -66,7 +70,7 @@ Requires(postun): update-alternatives
Secure Provisioning SDK (SPSDK) is unified, reliable and easy to use SW library working across NXP MCU portfolio providing strong foundation from quick customer prototyping up to production deployment.
%prep
%setup -q -n spsdk-%{version}
%autosetup -p1 -n spsdk-%{version}
%build
%pyproject_wheel