Accepting request 985549 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/985549
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cookiecutter?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2022-06-28 13:22:58 +00:00 committed by Git OBS Bridge
commit e4fa68f9b4
5 changed files with 29 additions and 39 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:abe7a040698afcfe79589b117b93db8ce74a70b5cdcaec90057b77b76ff3ffd8
size 260840

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0ef7a3f8c7820be2dc91c7b7d211de26463ab38fcac130350d5f71837bbf0432
size 263100

View File

@ -1,33 +0,0 @@
From 0eceeecf20541e11cc1cc1bef750003309c41eac Mon Sep 17 00:00:00 2001
From: Sebastian Wagner <sebix@sebix.at>
Date: Mon, 28 Mar 2022 11:46:50 +0200
Subject: [PATCH] setup: fix version number
minor change to fix the version number in setup.py. that mistake leads
to wrong version numbers on the local installation
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: cookiecutter-2.0.2/setup.py
===================================================================
--- cookiecutter-2.0.2.orig/setup.py
+++ cookiecutter-2.0.2/setup.py
@@ -2,7 +2,7 @@
"""cookiecutter distutils configuration."""
from setuptools import setup
-version = "2.0.0"
+version = "2.0.2"
with open('README.md', encoding='utf-8') as readme_file:
readme = readme_file.read()
@@ -10,7 +10,7 @@ with open('README.md', encoding='utf-8')
requirements = [
'binaryornot>=0.4.4',
'Jinja2>=2.7,<4.0.0',
- 'click>=7.0,<8.0.0',
+ 'click>=7.0,<9.0.0',
'pyyaml>=5.3.1',
'jinja2-time>=0.2.0',
'python-slugify>=4.0.0',

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Tue Jun 21 09:02:36 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
- remove obsolete patch cookiecutter-fix-setup.patch
- update to version 2.1.1:
- Documentation updates:
- Fix local extensions documentation (#1686)
- Bugfixes:
- Sanitize Mercurial branch information before checkout. (#1689)
- update to version 2.1.0:
- Changes:
- Move contributors and backers to credits section (#1599)
- test_generate_file_verbose_template_syntax_error fixed (#1671)
- Removed changes related to setuptools_scm (#1629)
- Feature/local extensions (#1240)
- CI/CD and QA changes:
- Check manifest: pre-commit, fixes, cleaning (#1683)
- Follow PyPA guide to release package using GitHub Actions. (#1682)
- Documentation updates:
- Fix typo in dict_variables.rst (#1680)
- Documentation overhaul (#1677)
- Fixed incorrect link on docs. (#1649)
- Bugfixes:
- Restore accidentally deleted support for click 8.x (#1643)
-------------------------------------------------------------------
Sun Apr 24 16:57:17 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@ -19,7 +19,7 @@
%define skip_python2 1
Name: cookiecutter
Version: 2.0.2
Version: 2.1.1
Release: 0
Summary: A command-line utility that creates projects from project templates
License: BSD-3-Clause
@ -29,8 +29,6 @@ Source: https://github.com/cookiecutter/cookiecutter/archive/refs/tags/%
# 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
# PATCH-FIX-UPSTREAM -- cookiecutter-fix-setup.patch https://github.com/cookiecutter/cookiecutter/pull/1656
Patch0: cookiecutter-fix-setup.patch
BuildRequires: %{python_module Jinja2 >= 2.7 with %python-Jinja2 < 4}
BuildRequires: %{python_module binaryornot >= 0.2.0}
BuildRequires: %{python_module click >= 7 with %python-click < 9}