cookiecutter/cookiecutter-fix-setup.patch
Sebastian Wagner 5f54199a6f Accepting request 972398 from home:bnavigator:branches:devel:languages:python
- update fix-setup-version.patch to cookiecutter-fix-setup.patch
  gh#cookiecutter/cookiecutter#1656
- Sync rpm requirements metadata to setuptools generated metadata

OBS-URL: https://build.opensuse.org/request/show/972398
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/cookiecutter?expand=0&rev=21
2022-04-24 18:13:21 +00:00

34 lines
1.0 KiB
Diff

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',