pkgsrc-WIP-changes archive

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

py-stem: add upstream fix for compatibility with python 3.6+



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Mon Aug 20 21:27:40 2018 +0200
Changeset:	d2de6f21bbef33cfb116cd16586183c97549ff2f

Modified Files:
	py-stem/PLIST
	py-stem/distinfo
Added Files:
	py-stem/patches/patch-stem_util_test__tools.py

Log Message:
py-stem: add upstream fix for compatibility with python 3.6+

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d2de6f21bbef33cfb116cd16586183c97549ff2f

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

diffstat:
 py-stem/PLIST                                  |  2 ++
 py-stem/distinfo                               |  1 +
 py-stem/patches/patch-stem_util_test__tools.py | 15 +++++++++++++++
 3 files changed, 18 insertions(+)

diffs:
diff --git a/py-stem/PLIST b/py-stem/PLIST
index 13800d4e65..caec5d0bf7 100644
--- a/py-stem/PLIST
+++ b/py-stem/PLIST
@@ -139,6 +139,8 @@ ${PYSITELIB}/stem/util/term.py
 ${PYSITELIB}/stem/util/term.pyc
 ${PYSITELIB}/stem/util/term.pyo
 ${PYSITELIB}/stem/util/test_tools.py
+${PYSITELIB}/stem/util/test_tools.pyc
+${PYSITELIB}/stem/util/test_tools.pyo
 ${PYSITELIB}/stem/util/tor_tools.py
 ${PYSITELIB}/stem/util/tor_tools.pyc
 ${PYSITELIB}/stem/util/tor_tools.pyo
diff --git a/py-stem/distinfo b/py-stem/distinfo
index 0065a0eedc..ed5ae45950 100644
--- a/py-stem/distinfo
+++ b/py-stem/distinfo
@@ -4,3 +4,4 @@ SHA1 (stem-1.6.0.tar.gz) = 1590ee340a3b321d8e51cfd6e9fb2c6637b93fee
 RMD160 (stem-1.6.0.tar.gz) = 9b61f9e8659b056a23e2d4f77027ef6dc2a84bc2
 SHA512 (stem-1.6.0.tar.gz) = 499a15b1cbd12d75865c93e253e797507564d5b5f2a9a0f021107d89c85db040e050944a9ac69b629f74e265d350467bef9d36ec52f7ef2e6a97180a7b93e94c
 Size (stem-1.6.0.tar.gz) = 2049999 bytes
+SHA1 (patch-stem_util_test__tools.py) = b8056fb8a16c0d833224a70f3e7a1747a4a76013
diff --git a/py-stem/patches/patch-stem_util_test__tools.py b/py-stem/patches/patch-stem_util_test__tools.py
new file mode 100644
index 0000000000..a1ddc21c64
--- /dev/null
+++ b/py-stem/patches/patch-stem_util_test__tools.py
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Fix build with python-3.6+
+https://gitweb.torproject.org/stem.git/commit/?id=6c677b6
+
+--- stem/util/test_tools.py.orig	2017-11-02 17:11:48.000000000 +0000
++++ stem/util/test_tools.py
+@@ -148,7 +148,6 @@ class AsyncTest(object):
+     self._threaded = threaded
+ 
+     self.method = lambda test: self.result(test)  # method that can be mixed into TestCases
+-    self.method.async = self
+ 
+     self._process = None
+     self._process_pipe = None


Home | Main Index | Thread Index | Old Index