File:
[cvs.NetBSD.org] /
pkgsrc /
devel /
py-test-xdist /
patches /
Attic /
patch-setup.py
Revision
1.1:
download - view:
text,
annotated -
select for diffs
Thu Aug 27 12:27:00 2020 UTC (4 years, 2 months ago) by
joerg
Branches:
MAIN
CVS tags:
pkgsrc-2021Q4-base,
pkgsrc-2021Q4,
pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
HEAD
Fix Python 3.6 build
$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(
CVSweb <webmaster@jp.NetBSD.org>