forked from pool/python-straight-plugin
Compare commits
3 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 168611e975 | |||
| 2c6af78784 | |||
| 57e6b82e6c |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 13 11:04:28 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 27 16:07:26 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
Wed May 27 16:07:26 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-straight-plugin
|
# spec file for package python-straight-plugin
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
# Copyright (c) 2018 Neal Gompa <ngompa13@gmail.com>.
|
# Copyright (c) 2018 Neal Gompa <ngompa13@gmail.com>.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@@ -17,7 +17,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-straight-plugin
|
Name: python-straight-plugin
|
||||||
Version: 1.5.0
|
Version: 1.5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -29,7 +28,9 @@ Source0: https://files.pythonhosted.org/packages/source/s/straight.plugin
|
|||||||
# PATCH-FIX-UPSTREAM pip_no_plugins.patch gh#ironfroggy/straight.plugin#24 mcepl@suse.com
|
# PATCH-FIX-UPSTREAM pip_no_plugins.patch gh#ironfroggy/straight.plugin#24 mcepl@suse.com
|
||||||
# Fixes pipe with no plugins installed
|
# Fixes pipe with no plugins installed
|
||||||
Patch0: pip_no_plugins.patch
|
Patch0: pip_no_plugins.patch
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -50,16 +51,20 @@ the plugins in it for some particular purpose or intent.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n straight.plugin-%{version}
|
%setup -q -n straight.plugin-%{version}
|
||||||
%autopatch -p1
|
%autopatch -p1
|
||||||
|
# import from imp https://github.com/ironfroggy/straight.plugin/pull/30
|
||||||
|
sed -i '/from imp import find_module/d' straight/plugin/loaders.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%fdupes %{buildroot}%{python_sitelib}
|
%fdupes %{buildroot}%{python_sitelib}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/straight
|
||||||
|
%{python_sitelib}/straight[._]plugin-%{version}*-info
|
||||||
|
%{python_sitelib}/straight[._]plugin-%{version}*-nspkg.pth
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user