From e9f6fde078530af2a2611cc0b532d756330f3045879986a83697e96f80d68f86 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Wed, 15 Feb 2023 13:18:36 +0000 Subject: [PATCH] - Disable broken sklearn tests gh#pyinstaller/pyinstaller-hooks-contrib#547 - Update to version 2023.0 * Add hook for minecraft-launcher-lib (#536) * Add hook for nbt (#537) * Have fiona hook collect the package's data files (e.g., the projections database). (#541) * Update fiona hook for compatibility with fiona 1.9.0. (#541) - Update to version 2022.15 * Add a hook for easyocr, which imports recognition backends via imporlib.import_module() and has a number of datafiles for different languages. * Users can set which languages to include datafiles for with a hook option. (#530) * Add hook for charset-normalizer to fix ModuleNotFoundError: No module named 'charset_normalizer.md__mypyc'. (#534) * Update shapely hook for compatibility with shapely >= 2.0.0. (#527) * Added hooks-config.rst document which documents hook options. It is referred to from README.md. (#530) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyinstaller-hooks-contrib?expand=0&rev=9 --- pyinstaller-hooks-contrib-2022.14.tar.gz | 3 --- pyinstaller-hooks-contrib-2023.0.tar.gz | 3 +++ python-pyinstaller-hooks-contrib.changes | 22 ++++++++++++++++++++++ python-pyinstaller-hooks-contrib.spec | 15 +++++++++------ 4 files changed, 34 insertions(+), 9 deletions(-) delete mode 100644 pyinstaller-hooks-contrib-2022.14.tar.gz create mode 100644 pyinstaller-hooks-contrib-2023.0.tar.gz diff --git a/pyinstaller-hooks-contrib-2022.14.tar.gz b/pyinstaller-hooks-contrib-2022.14.tar.gz deleted file mode 100644 index 73d224d..0000000 --- a/pyinstaller-hooks-contrib-2022.14.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5ae8da3a92cf20e37b3e00604d0c3468896e7d746e5c1449473597a724331b0b -size 93936 diff --git a/pyinstaller-hooks-contrib-2023.0.tar.gz b/pyinstaller-hooks-contrib-2023.0.tar.gz new file mode 100644 index 0000000..b77e3f8 --- /dev/null +++ b/pyinstaller-hooks-contrib-2023.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd578781cd6a33ef713584bf3726f7cd60a3e656ec08a6cc7971e39990808cc0 +size 95399 diff --git a/python-pyinstaller-hooks-contrib.changes b/python-pyinstaller-hooks-contrib.changes index f85b4fd..20776fc 100644 --- a/python-pyinstaller-hooks-contrib.changes +++ b/python-pyinstaller-hooks-contrib.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Wed Feb 15 11:35:07 UTC 2023 - Daniel Garcia + +- Disable broken sklearn tests gh#pyinstaller/pyinstaller-hooks-contrib#547 +- Update to version 2023.0 + * Add hook for minecraft-launcher-lib (#536) + * Add hook for nbt (#537) + * Have fiona hook collect the package's data files (e.g., the projections + database). (#541) + * Update fiona hook for compatibility with fiona 1.9.0. (#541) +- Update to version 2022.15 + * Add a hook for easyocr, which imports recognition backends via + imporlib.import_module() and has a number of datafiles for different + languages. + * Users can set which languages to include datafiles for with a hook option. + (#530) + * Add hook for charset-normalizer to fix ModuleNotFoundError: No module + named 'charset_normalizer.md__mypyc'. (#534) + * Update shapely hook for compatibility with shapely >= 2.0.0. (#527) + * Added hooks-config.rst document which documents hook options. It is + referred to from README.md. (#530) + ------------------------------------------------------------------- Tue Dec 13 16:33:02 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-pyinstaller-hooks-contrib.spec b/python-pyinstaller-hooks-contrib.spec index aad18cd..290d2d5 100644 --- a/python-pyinstaller-hooks-contrib.spec +++ b/python-pyinstaller-hooks-contrib.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -%{flavor} @@ -26,7 +25,7 @@ %bcond_with test %endif Name: python-pyinstaller-hooks-contrib%{psuffix} -Version: 2022.14 +Version: 2023.0 Release: 0 Summary: Community maintained hooks for PyInstaller License: Apache-2.0 OR GPL-2.0-only @@ -44,7 +43,10 @@ BuildRequires: %{python_module pytest} BuildRequires: timezone # SECTION optional, the depending tests would be skipped without these # most of the libraries enable only two tests, so adding just scikit-learn to run at least any tests -BuildRequires: %{python_module scikit-learn} +# +# Disabled because it's broken with the latest release 1.2.1 +# gh#pyinstaller/pyinstaller-hooks-contrib#547 +# BuildRequires: %{python_module scikit-learn} # /SECTION %endif %python_subpackages @@ -53,7 +55,7 @@ BuildRequires: %{python_module scikit-learn} Community maintained hooks for PyInstaller %prep -%setup -q -n pyinstaller-hooks-contrib-%{version} +%autosetup -p1 -n pyinstaller-hooks-contrib-%{version} %build %python_build @@ -73,7 +75,8 @@ Community maintained hooks for PyInstaller %files %{python_files} %doc README.md %license LICENSE LICENSE.APL.txt LICENSE.GPL.txt -%{python_sitelib}/* +%{python_sitelib}/_pyinstaller_hooks_contrib +%{python_sitelib}/pyinstaller_hooks_contrib-%{version}*-info %endif %changelog