17
0
2025-06-13 11:24:40 +00:00
committed by Git OBS Bridge
parent 57e6b82e6c
commit 2c6af78784

View File

@@ -51,6 +51,8 @@ the plugins in it for some particular purpose or intent.
%prep
%setup -q -n straight.plugin-%{version}
%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
%pyproject_wheel
@@ -59,12 +61,10 @@ the plugins in it for some particular purpose or intent.
%pyproject_install
%fdupes %{buildroot}%{python_sitelib}
%check
%pyunittest -v tests.py
%files %{python_files}
%license LICENSE
%{python_sitelib}/straight
%{python_sitelib}/straight[-_]plugin-%{version}*-info
%{python_sitelib}/straight[._]plugin-%{version}*-info
%{python_sitelib}/straight[._]plugin-%{version}*-nspkg.pth
%changelog