pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-pylint-django



Module Name:    pkgsrc
Committed By:   joerg
Date:           Thu Aug 27 12:25:00 UTC 2020

Modified Files:
        pkgsrc/www/py-pylint-django: distinfo
Added Files:
        pkgsrc/www/py-pylint-django/patches: patch-setup.py

Log Message:
Fix Python 3.6 build


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/www/py-pylint-django/distinfo
cvs rdiff -u -r0 -r1.5 pkgsrc/www/py-pylint-django/patches/patch-setup.py

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

Modified files:

Index: pkgsrc/www/py-pylint-django/distinfo
diff -u pkgsrc/www/py-pylint-django/distinfo:1.26 pkgsrc/www/py-pylint-django/distinfo:1.27
--- pkgsrc/www/py-pylint-django/distinfo:1.26   Fri Aug  7 08:20:08 2020
+++ pkgsrc/www/py-pylint-django/distinfo        Thu Aug 27 12:25:00 2020
@@ -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

Added files:

Index: pkgsrc/www/py-pylint-django/patches/patch-setup.py
diff -u /dev/null pkgsrc/www/py-pylint-django/patches/patch-setup.py:1.5
--- /dev/null   Thu Aug 27 12:25:00 2020
+++ pkgsrc/www/py-pylint-django/patches/patch-setup.py  Thu Aug 27 12:25:00 2020
@@ -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