Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-pylint-django Fix Python 3.6 build



details:   https://anonhg.NetBSD.org/pkgsrc/rev/165d3eb925b3
branches:  trunk
changeset: 437593:165d3eb925b3
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Aug 27 12:25:00 2020 +0000

description:
Fix Python 3.6 build

diffstat:

 www/py-pylint-django/distinfo               |   3 ++-
 www/py-pylint-django/patches/patch-setup.py |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r eaf39d972d05 -r 165d3eb925b3 www/py-pylint-django/distinfo
--- a/www/py-pylint-django/distinfo     Thu Aug 27 12:24:17 2020 +0000
+++ b/www/py-pylint-django/distinfo     Thu Aug 27 12:25:00 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.26 2020/08/07 08:20:08 adam Exp $
+$NetBSD: distinfo,v 1.27 2020/08/27 12:25:00 joerg Exp $
 
 SHA1 (pylint-django-2.3.0.tar.gz) = f2f475ada50992015eb23c1475c8434745ecaa0f
 RMD160 (pylint-django-2.3.0.tar.gz) = ee4da89b7f08297bb8f6c8cf07d8831669dca78c
 SHA512 (pylint-django-2.3.0.tar.gz) = 09ef4cd33b56d88f193fe2ec449a8c8a368cd8f0b1ef6f84e1e4b393de511f53dcbaec92e0f4e5ffdc3e22a77cbca08d43decedfcb8f8d701fccdb3e0f4f3328
 Size (pylint-django-2.3.0.tar.gz) = 55673 bytes
+SHA1 (patch-setup.py) = d03071292db59f9f0f9e0e1500d76e90aef29b84
diff -r eaf39d972d05 -r 165d3eb925b3 www/py-pylint-django/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-pylint-django/patches/patch-setup.py       Thu Aug 27 12:25:00 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.5 2020/08/27 12:25:00 joerg Exp $
+
+--- setup.py.orig      2020-08-26 11:51:51.672175441 +0000
++++ setup.py
+@@ -3,8 +3,9 @@
+ Setup module for Pylint plugin for Django.
+ """
+ from setuptools import setup, find_packages
++import sys
+ 
+-LONG_DESCRIPTION = open('README.rst').read() + "\n" + open('CHANGELOG.rst').read()
++LONG_DESCRIPTION = open('README.rst', **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})).read() + "\n" + open('CHANGELOG.rst', **({'encoding': 'UTF-8'} if sys.version_info.major>=3 
else {})).read()
+ 
+ setup(
+     name='pylint-django',



Home | Main Index | Thread Index | Old Index