- Update to 2.3.0:
* Improve style of prompts using `rich` (#1901) @vemonet * Fix replay (#1904) @vemonet * Support multichoice overwrite (#1903) @Meepit - Switch to pyproject macro. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/cookiecutter?expand=0&rev=31
This commit is contained in:
parent
eab7695821
commit
97094d9865
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c6b1e52aabc69575db098ae0ae2f257727aea898714bb735fd74e5f2216b764f
|
||||
size 271925
|
3
cookiecutter-2.3.0.tar.gz
Normal file
3
cookiecutter-2.3.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:631cca1273c6ceb8b6c3716f04c4b85290f1c962d210d63bb39fcc3b6ca4b31a
|
||||
size 273048
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 7 05:19:46 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 2.3.0:
|
||||
* Improve style of prompts using `rich` (#1901) @vemonet
|
||||
* Fix replay (#1904) @vemonet
|
||||
* Support multichoice overwrite (#1903) @Meepit
|
||||
- Switch to pyproject macro.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 16 09:58:27 UTC 2023 - Sebastian Wagner <sebix@sebix.at>
|
||||
|
||||
|
@ -19,37 +19,34 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: cookiecutter
|
||||
Version: 2.2.3
|
||||
Version: 2.3.0
|
||||
Release: 0
|
||||
Summary: A command-line utility that creates projects from project templates
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/audreyr/cookiecutter
|
||||
Source: https://github.com/cookiecutter/cookiecutter/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
# recent versions are not published on PyPI: https://github.com/cookiecutter/cookiecutter/issues/1636
|
||||
#Source: https://files.pythonhosted.org/packages/source/c/cookiecutter/cookiecutter-%%{version}.tar.gz
|
||||
Source1: ccext.py
|
||||
BuildRequires: %{python_module Jinja2 >= 2.7 with %python-Jinja2 < 4}
|
||||
BuildRequires: %{python_module arrow}
|
||||
BuildRequires: %{python_module binaryornot >= 0.2.0}
|
||||
BuildRequires: %{python_module click >= 7 with %python-click < 9}
|
||||
BuildRequires: %{python_module future >= 0.15.2}
|
||||
BuildRequires: %{python_module jinja2-time >= 0.1.0}
|
||||
BuildRequires: %{python_module poyo >= 0.1.0}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module python-slugify}
|
||||
BuildRequires: %{python_module rich}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module whichcraft >= 0.4.0}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: git-core
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: git-core
|
||||
Requires: python-PyYAML
|
||||
Requires: python-arrow
|
||||
Requires: python-binaryornot >= 0.2.0
|
||||
Requires: python-future >= 0.15.2
|
||||
Requires: python-jinja2-time >= 0.1.0
|
||||
Requires: python-poyo >= 0.1.0
|
||||
Requires: python-python-slugify
|
||||
Requires: python-requests >= 2.18.0
|
||||
Requires: python-whichcraft >= 0.4.0
|
||||
Requires: python-rich
|
||||
Requires: (python-Jinja2 >= 2.7 with python-Jinja2 < 4)
|
||||
Requires: (python-click >= 7 with python-click < 9)
|
||||
Requires(post): update-alternatives
|
||||
@ -105,14 +102,14 @@ cp %{SOURCE1} docs
|
||||
rm setup.cfg
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
pushd docs
|
||||
sphinx-build -b html -d .build/doctrees . _build/html
|
||||
rm _build/html/.buildinfo
|
||||
popd
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/cookiecutter
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
# the doc directive in the files section cannot deduplicate, so do it manually
|
||||
@ -140,7 +137,7 @@ export LANG=en_US.UTF-8
|
||||
%license LICENSE
|
||||
%python_alternative cookiecutter
|
||||
%{python_sitelib}/cookiecutter
|
||||
%{python_sitelib}/cookiecutter-%{version}*-info
|
||||
%{python_sitelib}/cookiecutter-%{version}.dist-info
|
||||
|
||||
%files -n cookiecutter-doc
|
||||
%license LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user