From 97094d986551290909c6eaaf0c2cbdde5b687b34d2be2c61620e281e8a756f1f Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 7 Sep 2023 05:20:23 +0000 Subject: [PATCH] - 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 --- cookiecutter-2.2.3.tar.gz | 3 --- cookiecutter-2.3.0.tar.gz | 3 +++ cookiecutter.changes | 9 +++++++++ cookiecutter.spec | 23 ++++++++++------------- 4 files changed, 22 insertions(+), 16 deletions(-) delete mode 100644 cookiecutter-2.2.3.tar.gz create mode 100644 cookiecutter-2.3.0.tar.gz diff --git a/cookiecutter-2.2.3.tar.gz b/cookiecutter-2.2.3.tar.gz deleted file mode 100644 index 756bb76..0000000 --- a/cookiecutter-2.2.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c6b1e52aabc69575db098ae0ae2f257727aea898714bb735fd74e5f2216b764f -size 271925 diff --git a/cookiecutter-2.3.0.tar.gz b/cookiecutter-2.3.0.tar.gz new file mode 100644 index 0000000..092c76f --- /dev/null +++ b/cookiecutter-2.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:631cca1273c6ceb8b6c3716f04c4b85290f1c962d210d63bb39fcc3b6ca4b31a +size 273048 diff --git a/cookiecutter.changes b/cookiecutter.changes index 8507fb3..c9f057d 100644 --- a/cookiecutter.changes +++ b/cookiecutter.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Sep 7 05:19:46 UTC 2023 - Steve Kowalik + +- 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 diff --git a/cookiecutter.spec b/cookiecutter.spec index b367429..1154f09 100644 --- a/cookiecutter.spec +++ b/cookiecutter.spec @@ -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