94 lines
2.9 KiB
RPMSpec
94 lines
2.9 KiB
RPMSpec
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
|
Name: python-rope
|
|
Version: 0.23.0
|
|
Release: 1mamba
|
|
Summary: A python refactoring library
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/python-rope/rope
|
|
Source: https://pypi.debian.net/rope/rope-%{version}.tar.gz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libpython3-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%if 0%{?with_pyver}
|
|
%pyver_package
|
|
%endif
|
|
|
|
%prep
|
|
%setup -q -n rope-%{version}
|
|
|
|
%build
|
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
|
|
|
#%if "%{?with_pyver}" != "3"
|
|
## Rename any conflicting file outside of python site packages tree
|
|
#for f in %{_bindir}/pdm; do
|
|
# mv %{buildroot}${f}{,-%{?pyappend}}
|
|
#done
|
|
#%endif
|
|
|
|
%files %{?pyappend}
|
|
%defattr(-,root,root)
|
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
|
%dir %{python_sitelib}/%{pkgname}
|
|
%{python_sitelib}/%{pkgname}/*
|
|
%doc COPYING
|
|
|
|
%changelog
|
|
* Wed Nov 09 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.23.0-1mamba
|
|
- update to 0.23.0
|
|
|
|
* Wed Nov 24 2021 Automatic Build System <autodist@mambasoft.it> 0.22.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Nov 11 2021 Automatic Build System <autodist@mambasoft.it> 0.21.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Oct 19 2021 Automatic Build System <autodist@mambasoft.it> 0.21.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Sep 19 2021 Automatic Build System <autodist@mambasoft.it> 0.20.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jul 01 2021 Automatic Build System <autodist@mambasoft.it> 0.19.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Oct 08 2020 Automatic Build System <autodist@mambasoft.it> 0.18.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu May 14 2020 Automatic Build System <autodist@mambasoft.it> 0.17.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Jan 11 2020 Automatic Build System <autodist@mambasoft.it> 0.16.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Jun 02 2019 Automatic Build System <autodist@mambasoft.it> 0.14.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Mar 14 2019 Automatic Build System <autodist@mambasoft.it> 0.12.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Aug 12 2018 Automatic Build System <autodist@mambasoft.it> 0.11.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat May 05 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.7-2mamba
|
|
- fix info files permissions
|
|
|
|
* Tue May 01 2018 Automatic Build System <autodist@mambasoft.it> 0.10.7-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Oct 07 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.2-1mamba
|
|
- package created using the webbuild interface
|