17
0

2 Commits

Author SHA256 Message Date
48212742a0 Accepting request 1223290 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1223290
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-edk2toolext?expand=0&rev=2
2024-11-11 12:46:43 +00:00
3f98ea2aa6 - Update version to 0.28.0
- image_validation: Update documentation
    - Minor updates to the porting readme
    - build(deps): bump black from 24.4.2 to 24.8.0
    - build(deps): bump mkdocs-material from 9.5.29 to 9.5.34
    - build(deps): bump mkdocstrings-python from 1.10.8 to 1.11.1
    - build(deps): bump setuptools from 72.1.0 to 75.1.0
    - build(deps): bump regex from 2024.5.15 to 2024.9.11
    - [REBASE&FF] Ruff on workspace
    - Install mono on ubuntu-latest
    - Python support: drop 3.10, add 3.13

OBS-URL: https://build.opensuse.org/package/show/devel:tools/python-edk2toolext?expand=0&rev=3
2024-11-11 07:39:33 +00:00
4 changed files with 52 additions and 18 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:db9d475885100e7f5033a98300221f1f50fcb029a926d09a4e2f475642efe0a5
size 2363041

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:98ae2ef72c6fc203812e186c425f1105d0c5d0b6c9027bd74c13d44ca79251dc
size 1012791

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Wed Nov 6 03:57:33 UTC 2024 - YI HSIN Lyu <richard.lyu@suse.com>
- Update version to 0.28.0
- image_validation: Update documentation
- Minor updates to the porting readme
- build(deps): bump black from 24.4.2 to 24.8.0
- build(deps): bump mkdocs-material from 9.5.29 to 9.5.34
- build(deps): bump mkdocstrings-python from 1.10.8 to 1.11.1
- build(deps): bump setuptools from 72.1.0 to 75.1.0
- build(deps): bump regex from 2024.5.15 to 2024.9.11
- [REBASE&FF] Ruff on workspace
- Install mono on ubuntu-latest
- Python support: drop 3.10, add 3.13
-------------------------------------------------------------------
Tue Jan 26 09:23:55 UTC 2021 - Gary Ching-Pang Lin <glin@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-edk2toolext
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,28 +15,32 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define skip_python2 1
%define skip_python2 1
%define skip_python310 1
%{?sle15_python_module_pythons}
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-edk2toolext
Version: 0.14.0
Version: 0.28.0
Release: 0
Summary: Tianocore Edk2 PyTool Extensions
Summary: Tianocore Edk2 PyTool Extensions
License: BSD-2-Clause-Patent
URL: https://github.com/tianocore/edk2-pytool-extensions
Source: https://files.pythonhosted.org/packages/source/e/edk2-pytool-extensions/edk2-pytool-extensions-%{version}.tar.gz
Source: edk2-pytool-extensions-%{version}.tar.gz
Group: Development/Tools/Other
BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: %{python_module pip}
BuildRequires: %{python_module py >= 1.4}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module wheel}
BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PyYAML >= 5.2
Requires: python-edk2toollib >= 0.10.13
Requires: python-pefile >= 2019.4.18
Requires: python-PyYAML
Requires: python-edk2toollib
Requires: python-pefile
Requires: python-pyOpenSSL
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
%python_subpackages
@@ -50,11 +54,10 @@ Extensions to the edk2 build system allowing for a more robust and plugin based
dos2unix readme.md
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/edk2_capsule_tool
%python_clone -a %{buildroot}%{_bindir}/firmware_policy_tool
@@ -68,6 +71,10 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%python_clone -a %{buildroot}%{_bindir}/stuart_setup
%python_clone -a %{buildroot}%{_bindir}/stuart_update
%python_clone -a %{buildroot}%{_bindir}/versioninfo_tool
%python_clone -a %{buildroot}%{_bindir}/secureboot_audit
%python_clone -a %{buildroot}%{_bindir}/stuart_parse
%python_clone -a %{buildroot}%{_bindir}/stuart_report
%python_clone -a %{buildroot}%{_bindir}/validate_image_tool
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -84,6 +91,10 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%python_install_alternative stuart_setup
%python_install_alternative stuart_update
%python_install_alternative versioninfo_tool
%python_install_alternative secureboot_audit
%python_install_alternative stuart_parse
%python_install_alternative stuart_report
%python_install_alternative validate_image_tool
%postun
%python_uninstall_alternative edk2_capsule_tool
@@ -98,6 +109,10 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%python_uninstall_alternative stuart_setup
%python_uninstall_alternative stuart_update
%python_uninstall_alternative versioninfo_tool
%python_uninstall_alternative secureboot_audit
%python_uninstall_alternative stuart_parse
%python_uninstall_alternative stuart_report
%python_uninstall_alternative validate_image_tool
%files %{python_files}
%license LICENSE
@@ -115,5 +130,9 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%python_alternative %{_bindir}/stuart_setup
%python_alternative %{_bindir}/stuart_update
%python_alternative %{_bindir}/versioninfo_tool
%python_alternative %{_bindir}/secureboot_audit
%python_alternative %{_bindir}/stuart_parse
%python_alternative %{_bindir}/stuart_report
%python_alternative %{_bindir}/validate_image_tool
%changelog