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