diff options
author | 2018-03-24 04:43:56 -0400 | |
---|---|---|
committer | 2018-03-24 04:46:12 -0400 | |
commit | 466d1ab1a0f249640f16151c535fc307eb6019c1 (patch) | |
tree | 8afc077056e3bdf6541a4c8513e273cd7c925a4e /dev-python/twine/files/twine-1.11.0-tests.patch | |
parent | dev-lang/swi-prolog: bump 7.7 development version (diff) | |
download | gentoo-466d1ab1a0f249640f16151c535fc307eb6019c1.tar.gz gentoo-466d1ab1a0f249640f16151c535fc307eb6019c1.tar.bz2 gentoo-466d1ab1a0f249640f16151c535fc307eb6019c1.zip |
dev-python/twine: initial import
Closes: https://bugs.gentoo.org/567064
Diffstat (limited to 'dev-python/twine/files/twine-1.11.0-tests.patch')
-rw-r--r-- | dev-python/twine/files/twine-1.11.0-tests.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-python/twine/files/twine-1.11.0-tests.patch b/dev-python/twine/files/twine-1.11.0-tests.patch new file mode 100644 index 000000000000..386a4ebcf3ab --- /dev/null +++ b/dev-python/twine/files/twine-1.11.0-tests.patch @@ -0,0 +1,18 @@ +Check for python2 support first, then python3. This should help avoid importing +the wrong module for python2 where the builtins module can be provided by the +futures package. + +--- twine-1.11.0/tests/test_utils.py ++++ twine-1.11.0/tests/test_utils.py +@@ -19,9 +19,9 @@ + import textwrap + + try: +- import builtins +-except ImportError: + import __builtin__ as builtins ++except ImportError: ++ import builtins + + import pytest + |