15
0
forked from pool/python-enzyme

Accepting request 1183220 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1183220
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-enzyme?expand=0&rev=5
This commit is contained in:
2024-06-27 13:59:51 +00:00
committed by Git OBS Bridge
4 changed files with 23 additions and 11 deletions

View File

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

3
enzyme-0.5.1.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Jun 25 09:48:01 UTC 2024 - Luigi Baldoni <aloisio@gmx.com>
- 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 <tchvatal@suse.com>

View File

@@ -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