diff --git a/python-subscene-api.changes b/python-subscene-api.changes index 97fbb77..19ce738 100644 --- a/python-subscene-api.changes +++ b/python-subscene-api.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 13 12:14:28 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Tue Dec 4 12:55:00 UTC 2018 - Matej Cepl diff --git a/python-subscene-api.spec b/python-subscene-api.spec index e335d8f..878c91b 100644 --- a/python-subscene-api.spec +++ b/python-subscene-api.spec @@ -1,7 +1,7 @@ # # spec file for package python-subscene-api # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,21 +16,20 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 Name: python-subscene-api Version: 2.0.0 Release: 0 Summary: Python wrapper for Subscene subtitle database License: GPL-3.0-or-later Group: Development/Languages/Python -Url: https://github.com/mamins1376/Subscene-API -Source0: https://pypi.io/packages/source/s/subscene-api/subscene-api-%{version}.tar.gz +URL: https://github.com/mamins1376/Subscene-API +Source0: https://files.pythonhosted.org/packages/source/s/subscene-api/subscene-api-%{version}.tar.gz BuildRequires: %{python_module beautifulsoup4 >= 4.4.1} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: python-rpm-macros Requires: python-beautifulsoup4 >= 4.4.1 -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -44,14 +43,13 @@ rm -rf subscene_api.egg-info sed -i -e '1d' subscene/__init__.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %files %{python_files} -%defattr(-,root,root) %{python_sitelib}/subscene -%{python_sitelib}/subscene_api-%{version}-py%{python_version}.egg-info +%{python_sitelib}/subscene_api-%{version}*-info %changelog