From 35c3ceec611a8f70a94204610126fbf96fba828599a3697a8d94df183809ad1f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 25 Jun 2024 15:36:16 +0000 Subject: [PATCH] - Update to version 0.5.1 * Fix package distribution version 0.5.0: * Drop support for older Python versions * Add support to Python 3.12, replacing the deprecated function pkg_resources.resource_stream with importlib.resources.files OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-enzyme?expand=0&rev=15 --- enzyme-0.4.1.tar.gz | 3 --- enzyme-0.5.1.tar.gz | 3 +++ python-enzyme.changes | 11 +++++++++++ python-enzyme.spec | 17 +++++++++-------- 4 files changed, 23 insertions(+), 11 deletions(-) delete mode 100644 enzyme-0.4.1.tar.gz create mode 100644 enzyme-0.5.1.tar.gz diff --git a/enzyme-0.4.1.tar.gz b/enzyme-0.4.1.tar.gz deleted file mode 100644 index 7baf26a..0000000 --- a/enzyme-0.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f2167fa97c24d1103a94d4bf4eb20f00ca76c38a37499821049253b2059c62bb -size 47953 diff --git a/enzyme-0.5.1.tar.gz b/enzyme-0.5.1.tar.gz new file mode 100644 index 0000000..ae908af --- /dev/null +++ b/enzyme-0.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d4d86becb2c318a13fd242468be568f6a28192ed39faf8525aeb6cd2aa07ee60 +size 27592 diff --git a/python-enzyme.changes b/python-enzyme.changes index 75c29ab..afb51b9 100644 --- a/python-enzyme.changes +++ b/python-enzyme.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Tue Jun 25 09:48:01 UTC 2024 - Luigi Baldoni + +- Update to version 0.5.1 + * Fix package distribution + version 0.5.0: + * Drop support for older Python versions + * Add support to Python 3.12, replacing the deprecated + function pkg_resources.resource_stream with + importlib.resources.files + ------------------------------------------------------------------- Sat Mar 14 09:00:11 UTC 2020 - Tomáš Chvátal diff --git a/python-enzyme.spec b/python-enzyme.spec index a48c450..0e0ad50 100644 --- a/python-enzyme.spec +++ b/python-enzyme.spec @@ -1,7 +1,7 @@ # # spec file for package python-enzyme # -# Copyright (c) 2020 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 @@ -16,16 +16,17 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-enzyme -Version: 0.4.1 +Version: 0.5.1 Release: 0 Summary: Python video metadata parser License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/Diaoul/enzyme Source0: https://files.pythonhosted.org/packages/source/e/enzyme/enzyme-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -35,13 +36,13 @@ BuildArch: noarch Enzyme is a Python module to parse video metadata. %prep -%setup -q -n enzyme-%{version} +%autosetup -p1 -n enzyme-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -49,8 +50,8 @@ Enzyme is a Python module to parse video metadata. %files %{python_files} %license LICENSE -%doc HISTORY.rst README.rst +%doc README.md %{python_sitelib}/enzyme -%{python_sitelib}/enzyme-%{version}-py%{python_version}.egg-info +%{python_sitelib}/enzyme-%{version}.dist-info %changelog