forked from pool/python-subscene-api
Accepting request 1285472 from devel:languages:python
- Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1285472 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-subscene-api?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 13 12:14:28 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:55:00 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user