2024-01-05 16:35:40 +01:00
|
|
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
2024-01-05 16:35:39 +01:00
|
|
|
Name: python-rope
|
2024-01-05 16:35:40 +01:00
|
|
|
Version: 1.7.0
|
2024-01-05 16:35:40 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 16:35:39 +01:00
|
|
|
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
|
2024-01-05 16:35:39 +01:00
|
|
|
Source: https://pypi.debian.net/rope/rope-%{version}.tar.gz
|
2024-01-05 16:35:39 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 16:35:40 +01:00
|
|
|
BuildRequires: libpython3-devel
|
2024-01-05 16:35:40 +01:00
|
|
|
BuildRequires: python3.7dist(pytoolconfig)
|
2024-01-05 16:35:39 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 16:35:40 +01:00
|
|
|
Requires: python >= %python_version
|
2024-01-05 16:35:39 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
2024-01-05 16:35:40 +01:00
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-05 16:35:39 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n rope-%{version}
|
|
|
|
|
|
|
|
%build
|
2024-01-05 16:35:40 +01:00
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
2024-01-05 16:35:39 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 16:35:40 +01:00
|
|
|
%{__python} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--record=%{name}.filelist
|
2024-01-05 16:35:39 +01:00
|
|
|
|
2024-01-05 16:35:40 +01:00
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-05 16:35:39 +01:00
|
|
|
|
2024-01-05 16:35:40 +01:00
|
|
|
#chmod -R +r %{buildroot}%{python_sitearch}/rope-%{version}-py*.egg-info
|
|
|
|
|
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
2024-01-05 16:35:39 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 16:35:40 +01:00
|
|
|
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info
|
|
|
|
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
|
2024-01-05 16:35:39 +01:00
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:35:40 +01:00
|
|
|
* Fri Apr 07 2023 Sdk Build System <sdk@mambasoft.it> 1.7.0-2mamba
|
|
|
|
- rebuilt with python 3.10
|
|
|
|
|
2024-01-05 16:35:40 +01:00
|
|
|
* Mon Jan 23 2023 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Oct 29 2022 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
2024-01-05 16:35:40 +01:00
|
|
|
|
2024-01-05 16:35:40 +01:00
|
|
|
* Wed Nov 24 2021 Automatic Build System <autodist@mambasoft.it> 0.22.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:35:40 +01:00
|
|
|
* Thu Nov 11 2021 Automatic Build System <autodist@mambasoft.it> 0.21.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:35:39 +01:00
|
|
|
* Tue Oct 19 2021 Automatic Build System <autodist@mambasoft.it> 0.21.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:35:39 +01:00
|
|
|
* Sun Sep 19 2021 Automatic Build System <autodist@mambasoft.it> 0.20.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:35:39 +01:00
|
|
|
* Thu Jul 01 2021 Automatic Build System <autodist@mambasoft.it> 0.19.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:35:39 +01:00
|
|
|
* Thu Oct 08 2020 Automatic Build System <autodist@mambasoft.it> 0.18.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:35:39 +01:00
|
|
|
* Thu May 14 2020 Automatic Build System <autodist@mambasoft.it> 0.17.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:35:39 +01:00
|
|
|
* Sat Jan 11 2020 Automatic Build System <autodist@mambasoft.it> 0.16.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:35:39 +01:00
|
|
|
* Sun Jun 02 2019 Automatic Build System <autodist@mambasoft.it> 0.14.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:35:39 +01:00
|
|
|
* Thu Mar 14 2019 Automatic Build System <autodist@mambasoft.it> 0.12.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:35:39 +01:00
|
|
|
* Sun Aug 12 2018 Automatic Build System <autodist@mambasoft.it> 0.11.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:35:39 +01:00
|
|
|
* Sat May 05 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.7-2mamba
|
|
|
|
- fix info files permissions
|
|
|
|
|
2024-01-05 16:35:39 +01:00
|
|
|
* Tue May 01 2018 Automatic Build System <autodist@mambasoft.it> 0.10.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:35:39 +01:00
|
|
|
* Wed Oct 07 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.2-1mamba
|
|
|
|
- package created using the webbuild interface
|