pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

coccigrep: remove workaround for python 3.6



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Fri Jan 14 12:49:58 2022 +0100
Changeset:	6668c4d4a40903dbd8faf81783fc5f9b9340815a

Modified Files:
	coccigrep/distinfo
Removed Files:
	coccigrep/patches/patch-setup.py

Log Message:
coccigrep: remove workaround for python 3.6

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6668c4d4a40903dbd8faf81783fc5f9b9340815a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 coccigrep/distinfo               |  1 -
 coccigrep/patches/patch-setup.py | 15 ---------------
 2 files changed, 16 deletions(-)

diffs:
diff --git a/coccigrep/distinfo b/coccigrep/distinfo
index 1c230bf52d..8745ea062b 100644
--- a/coccigrep/distinfo
+++ b/coccigrep/distinfo
@@ -3,4 +3,3 @@ $NetBSD: distinfo,v 1.6 2017/05/05 11:04:15 leot Exp $
 RMD160 (coccigrep-1.20.tar.gz) = 01b955b84ebb8b284e227c57767ddea8e8f985c8
 SHA512 (coccigrep-1.20.tar.gz) = 35d6a43b515c261ba025b876a72566581f892624eb9f47cde4121f16b2922ead8cd94e2c0ea6e00e4c64a3fe0cdcc4aeadc4c49900a8de8cfc0b589208ecae9c
 Size (coccigrep-1.20.tar.gz) = 33027 bytes
-SHA1 (patch-setup.py) = 0353c852cd438fa275c4dca25514e8dd23789362
diff --git a/coccigrep/patches/patch-setup.py b/coccigrep/patches/patch-setup.py
deleted file mode 100644
index 1aab7828c6..0000000000
--- a/coccigrep/patches/patch-setup.py
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD$
-
-`encoding' argument is only available in Python 3.
-
---- setup.py.orig	2020-05-05 07:56:05.000000000 +0000
-+++ setup.py
-@@ -11,7 +11,7 @@ else:
-     pygments_deps = 'pygments<2.6.0'
- 
- here = path.abspath(path.dirname(__file__))
--with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
-+with open(path.join(here, 'README.rst'), **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})) as f:
-     long_description = f.read()
- setup(name='coccigrep',
-       version=COCCIGREP_VERSION,


Home | Main Index | Thread Index | Old Index