pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-cookiecutter/patches py-cookiecutter: remove ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e9245c07b537
branches: trunk
changeset: 376749:e9245c07b537
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Mar 08 06:53:13 2018 +0000
description:
py-cookiecutter: remove patch that was removed from distinfo
diffstat:
devel/py-cookiecutter/patches/patch-setup.py | 28 ----------------------------
1 files changed, 0 insertions(+), 28 deletions(-)
diffs (32 lines):
diff -r 8d7956bbcfa3 -r e9245c07b537 devel/py-cookiecutter/patches/patch-setup.py
--- a/devel/py-cookiecutter/patches/patch-setup.py Wed Mar 07 23:16:03 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-$NetBSD: patch-setup.py,v 1.1 2016/05/16 15:05:48 nils Exp $
-
-Fix build with python-3.x and C locale.
-https://github.com/audreyr/cookiecutter/pull/639
-
---- setup.py.orig 2015-11-10 22:47:32.000000000 +0000
-+++ setup.py
-@@ -1,6 +1,7 @@
- #!/usr/bin/env python
-
- import os
-+import io
- import sys
-
- try:
-@@ -20,10 +21,10 @@ if sys.argv[-1] == 'tag':
- os.system("git push --tags")
- sys.exit()
-
--with open('README.rst') as readme_file:
-+with io.open('README.rst', 'r', encoding='utf-8') as readme_file:
- readme = readme_file.read()
-
--with open('HISTORY.rst') as history_file:
-+with io.open('HISTORY.rst', 'r', encoding='utf-8') as history_file:
- history = history_file.read().replace('.. :changelog:', '')
-
- requirements = [
Home |
Main Index |
Thread Index |
Old Index