Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel Fix Python 3.6 build
details: https://anonhg.NetBSD.org/pkgsrc/rev/41c71f0fafae
branches: trunk
changeset: 437596:41c71f0fafae
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Aug 27 12:26:59 2020 +0000
description:
Fix Python 3.6 build
diffstat:
devel/py-curtsies/distinfo | 3 ++-
devel/py-curtsies/patches/patch-setup.py | 22 ++++++++++++++++++++++
devel/py-test-xdist/distinfo | 3 ++-
devel/py-test-xdist/patches/patch-setup.py | 16 ++++++++++++++++
4 files changed, 42 insertions(+), 2 deletions(-)
diffs (70 lines):
diff -r 15d407ac2d62 -r 41c71f0fafae devel/py-curtsies/distinfo
--- a/devel/py-curtsies/distinfo Thu Aug 27 12:26:13 2020 +0000
+++ b/devel/py-curtsies/distinfo Thu Aug 27 12:26:59 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2020/07/16 06:08:13 adam Exp $
+$NetBSD: distinfo,v 1.7 2020/08/27 12:26:59 joerg Exp $
SHA1 (curtsies-0.3.4.tar.gz) = 336b54a640a02d398ad7bfc8e93d6b8d0ae81be9
RMD160 (curtsies-0.3.4.tar.gz) = a9839baf73fe50b367899243ee22006cac16d5f1
SHA512 (curtsies-0.3.4.tar.gz) = 5f65af34f6dd13491acf65311516ed90e57d99f681032ab6b4753710953f5285b012a09de6c56d28ccd5bc942c9886076f04287cddf955ba424205a5c44785b2
Size (curtsies-0.3.4.tar.gz) = 52733 bytes
+SHA1 (patch-setup.py) = 1d1e21ac1bb8f3a308a1466a53d32c0c253d0515
diff -r 15d407ac2d62 -r 41c71f0fafae devel/py-curtsies/patches/patch-setup.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-curtsies/patches/patch-setup.py Thu Aug 27 12:26:59 2020 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-setup.py,v 1.3 2020/08/27 12:26:59 joerg Exp $
+
+--- setup.py.orig 2020-08-26 11:44:55.860904637 +0000
++++ setup.py
+@@ -2,7 +2,7 @@ from setuptools import setup
+ import ast
+ import os
+ import io
+-
++import sys
+
+ def version():
+ """Return version string."""
+@@ -16,7 +16,7 @@ setup(
+ name="curtsies",
+ version=version(),
+ description="Curses-like terminal wrapper, with colored strings!",
+- long_description=open("readme.md", encoding="utf-8").read(),
++ long_description=open("readme.md", **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})).read(),
+ long_description_content_type="text/markdown",
+ url="https://github.com/bpython/curtsies",
+ author="Thomas Ballinger",
diff -r 15d407ac2d62 -r 41c71f0fafae devel/py-test-xdist/distinfo
--- a/devel/py-test-xdist/distinfo Thu Aug 27 12:26:13 2020 +0000
+++ b/devel/py-test-xdist/distinfo Thu Aug 27 12:26:59 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.27 2020/07/29 14:36:47 adam Exp $
+$NetBSD: distinfo,v 1.28 2020/08/27 12:26:59 joerg Exp $
SHA1 (pytest-xdist-1.34.0.tar.gz) = 1a21d930c43d9b163a99d560e7169d0d4b6f88a1
RMD160 (pytest-xdist-1.34.0.tar.gz) = 035f6bfa33e2225fc4d4bdde5b21c02e7314e22f
SHA512 (pytest-xdist-1.34.0.tar.gz) = 69e9877ee0268d71d7c0ca202ccc46b3ba1a9271f0e6e4ac4b76602833f9b7012364eb6924ae994e76c1d48d63adf1702d4c5e6ed5b75c52ac7ebae958210e24
Size (pytest-xdist-1.34.0.tar.gz) = 66151 bytes
+SHA1 (patch-setup.py) = b04fc9f42ec7ec659b993d70760c981a5884e584
diff -r 15d407ac2d62 -r 41c71f0fafae devel/py-test-xdist/patches/patch-setup.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-xdist/patches/patch-setup.py Thu Aug 27 12:26:59 2020 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-setup.py,v 1.1 2020/08/27 12:27:00 joerg Exp $
+
+--- setup.py.orig 2020-08-26 11:53:27.731267998 +0000
++++ setup.py
+@@ -1,9 +1,10 @@
+ from setuptools import setup, find_packages
++import sys
+
+ install_requires = ["execnet>=1.1", "pytest>=4.4.0", "pytest-forked", "six"]
+
+
+-with open("README.rst") as f:
++with open("README.rst", **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})) as f:
+ long_description = f.read()
+
+ setup(
Home |
Main Index |
Thread Index |
Old Index