pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-feedgenerator



Module Name:    pkgsrc
Committed By:   joerg
Date:           Tue Aug 11 18:41:55 UTC 2020

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

Log Message:
Fix build with Python 3.6.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/py-feedgenerator/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-feedgenerator/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-feedgenerator/distinfo
diff -u pkgsrc/www/py-feedgenerator/distinfo:1.3 pkgsrc/www/py-feedgenerator/distinfo:1.4
--- pkgsrc/www/py-feedgenerator/distinfo:1.3    Mon Aug  3 13:51:29 2020
+++ pkgsrc/www/py-feedgenerator/distinfo        Tue Aug 11 18:41:55 2020
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2020/08/03 13:51:29 adam Exp $
+$NetBSD: distinfo,v 1.4 2020/08/11 18:41:55 joerg Exp $
 
 SHA1 (feedgenerator-1.9.1.tar.gz) = 0cb4303452a8642285a1742ed709bf0677c436c2
 RMD160 (feedgenerator-1.9.1.tar.gz) = 2a70254c854d03acee0437b9b600fa7191f202b1
 SHA512 (feedgenerator-1.9.1.tar.gz) = db3642acb8f0c9fd692f37a79cf5862e60687a1745afbc6593d37a0372adb994de603238a17a8eae95ffcc993195f63037f16122a3cf8771e6922dea492fb5d5
 Size (feedgenerator-1.9.1.tar.gz) = 25677 bytes
+SHA1 (patch-setup.py) = 9e95c78d37aa8500eeb635a7e47dc3b2c18fdffc

Added files:

Index: pkgsrc/www/py-feedgenerator/patches/patch-setup.py
diff -u /dev/null pkgsrc/www/py-feedgenerator/patches/patch-setup.py:1.1
--- /dev/null   Tue Aug 11 18:41:55 2020
+++ pkgsrc/www/py-feedgenerator/patches/patch-setup.py  Tue Aug 11 18:41:55 2020
@@ -0,0 +1,20 @@
+$NetBSD: patch-setup.py,v 1.1 2020/08/11 18:41:55 joerg Exp $
+
+--- setup.py.orig      2020-02-09 10:45:34.000000000 +0000
++++ setup.py
+@@ -2,13 +2,13 @@
+ 
+ # Using setuptools rather than distutils to get the `develop` command
+ from setuptools import setup
+-
++import sys
+ 
+ NAME = 'feedgenerator'
+ PACKAGES = ['feedgenerator', 'feedgenerator.django',
+             'feedgenerator.django.utils']
+ DESCRIPTION = 'Standalone version of django.utils.feedgenerator'
+-LONG_DESCRIPTION = open('README.rst').read()
++LONG_DESCRIPTION = open('README.rst', **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})).read()
+ 
+ URL = "https://github.com/getpelican/feedgenerator";
+ 



Home | Main Index | Thread Index | Old Index