pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/time/py-iso8601
Module Name: pkgsrc
Committed By: gutteridge
Date: Wed Sep 16 03:00:37 UTC 2020
Modified Files:
pkgsrc/time/py-iso8601: distinfo
Added Files:
pkgsrc/time/py-iso8601/patches: patch-setup.py
Log Message:
py-iso8601: fix Python 3.6 build
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/time/py-iso8601/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/time/py-iso8601/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/time/py-iso8601/distinfo
diff -u pkgsrc/time/py-iso8601/distinfo:1.5 pkgsrc/time/py-iso8601/distinfo:1.6
--- pkgsrc/time/py-iso8601/distinfo:1.5 Mon Sep 14 07:36:25 2020
+++ pkgsrc/time/py-iso8601/distinfo Wed Sep 16 03:00:37 2020
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2020/09/14 07:36:25 adam Exp $
+$NetBSD: distinfo,v 1.6 2020/09/16 03:00:37 gutteridge Exp $
SHA1 (iso8601-0.1.13.tar.gz) = afae97b918ae0d3714dac485ddad822d3c693955
RMD160 (iso8601-0.1.13.tar.gz) = af366917acf562295251bf6775d0c3acffb75844
SHA512 (iso8601-0.1.13.tar.gz) = 0a16e2699ba3f33cec57acdd2be70c64d0e2655f08d30581f56997992945b700e6bfb14164f1f422e073eefeaefab4377a56ec6b3800156347e1568172c32737
Size (iso8601-0.1.13.tar.gz) = 12205 bytes
+SHA1 (patch-setup.py) = b481fec7957732797c377880a585dd8d146e51da
Added files:
Index: pkgsrc/time/py-iso8601/patches/patch-setup.py
diff -u /dev/null pkgsrc/time/py-iso8601/patches/patch-setup.py:1.1
--- /dev/null Wed Sep 16 03:00:37 2020
+++ pkgsrc/time/py-iso8601/patches/patch-setup.py Wed Sep 16 03:00:37 2020
@@ -0,0 +1,16 @@
+$NetBSD: patch-setup.py,v 1.1 2020/09/16 03:00:37 gutteridge Exp $
+
+Fix packaging with Python 3.6. Taken from upstream commit:
+https://github.com/micktwomey/pyiso8601/commit/b5544878bc799bdd77d63d3c9e78c4fcc4e018ad
+
+--- setup.py.orig 2020-09-11 17:04:56.000000000 +0000
++++ setup.py
+@@ -5,7 +5,7 @@ try:
+ except ImportError:
+ from distutils import setup
+
+-long_description = open(os.path.join(os.path.dirname(__file__), "README.rst")).read()
++long_description = open(os.path.join(os.path.dirname(__file__), "README.rst"), "rb").read().decode("UTF-8")
+
+ setup(
+ name="iso8601",
Home |
Main Index |
Thread Index |
Old Index