2024-01-06 10:59:35 +01:00
|
|
|
%define pkgname %(echo %name | cut -d- -f2-)
|
|
|
|
Name: python-cookiecutter
|
2024-02-22 12:16:32 +01:00
|
|
|
Version: 2.6.0
|
2024-01-06 10:59:37 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 10:59:35 +01:00
|
|
|
Summary: A command-line utility that creates projects from project templates
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/cookiecutter/cookiecutter
|
|
|
|
Source: https://pypi.debian.net/cookiecutter/cookiecutter-%{version}.tar.gz
|
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 10:59:36 +01:00
|
|
|
BuildRequires: libpython311-devel
|
|
|
|
BuildRequires: python3.11dist(arrow)
|
|
|
|
BuildRequires: python3.11dist(binaryornot)
|
|
|
|
BuildRequires: python3.11dist(click)
|
|
|
|
BuildRequires: python3.11dist(jinja2)
|
|
|
|
BuildRequires: python3.11dist(python-slugify)
|
|
|
|
BuildRequires: python3.11dist(pyyaml)
|
|
|
|
BuildRequires: python3.11dist(requests)
|
2024-01-06 10:59:37 +01:00
|
|
|
BuildRequires: python3.11dist(rich)
|
2024-01-06 10:59:36 +01:00
|
|
|
BuildRequires: python3.11dist(setuptools)
|
2024-01-06 10:59:35 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 10:59:36 +01:00
|
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
2024-01-06 10:59:35 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n cookiecutter-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{python_inc} \
|
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
|
|
|
|
2024-01-06 10:59:36 +01:00
|
|
|
%if "%{?with_pyver}" != "3"
|
|
|
|
# Rename any conflicting file outside of python site packages tree
|
|
|
|
for f in %{_bindir}/cookiecutter; do
|
|
|
|
mv %{buildroot}${f}{,-%{?pyappend}}
|
|
|
|
done
|
|
|
|
sed -i "\,%{_bindir},d" %{name}.filelist
|
|
|
|
%endif
|
|
|
|
|
2024-01-06 10:59:35 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 10:59:36 +01:00
|
|
|
%{_bindir}/cookiecutter*
|
2024-01-06 10:59:35 +01:00
|
|
|
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info
|
|
|
|
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-02-22 12:16:32 +01:00
|
|
|
* Thu Feb 22 2024 Automatic Build System <autodist@openmamba.org> 2.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:59:37 +01:00
|
|
|
* Wed Dec 13 2023 Automatic Build System <autodist@mambasoft.it> 2.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:59:36 +01:00
|
|
|
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 2.2.3-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
|
2024-01-06 10:59:36 +01:00
|
|
|
* Wed Jul 12 2023 Automatic Build System <autodist@mambasoft.it> 2.2.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:59:36 +01:00
|
|
|
* Tue Jul 11 2023 Automatic Build System <autodist@mambasoft.it> 2.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:59:36 +01:00
|
|
|
* Fri Jul 07 2023 Automatic Build System <autodist@mambasoft.it> 2.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:59:36 +01:00
|
|
|
* Fri Apr 07 2023 Sdk Build System <sdk@mambasoft.it> 2.1.1-2mamba
|
|
|
|
- rebuilt with python 3.10
|
|
|
|
|
2024-01-06 10:59:35 +01:00
|
|
|
* Fri Jun 03 2022 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:59:35 +01:00
|
|
|
* Tue May 31 2022 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:59:35 +01:00
|
|
|
* Sun Feb 13 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.3-1mamba
|
|
|
|
- package created using the webbuild interface
|