summarylogtreecommitdiffstats
path: root/0001-fix-compatibility-with-py3-when-installed-as-system-.patch
diff options
context:
space:
mode:
authorMelvin Vermeeren2018-05-04 19:44:00 +0200
committerMelvin Vermeeren2018-05-04 19:44:00 +0200
commita3924ccdee201b49ddb3050312138a798f3cb1b1 (patch)
treeba62983a857414623c8b193f02ae0c86234a0e3c /0001-fix-compatibility-with-py3-when-installed-as-system-.patch
parentb9c52ae23790e76d00c5f3c51f2f65a60b28dfdf (diff)
downloadaur-python-sphinx-multibuild.tar.gz
fix python 3 module import, PR will be sent upstream
Diffstat (limited to '0001-fix-compatibility-with-py3-when-installed-as-system-.patch')
-rw-r--r--0001-fix-compatibility-with-py3-when-installed-as-system-.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/0001-fix-compatibility-with-py3-when-installed-as-system-.patch b/0001-fix-compatibility-with-py3-when-installed-as-system-.patch
new file mode 100644
index 000000000000..02c993488b6b
--- /dev/null
+++ b/0001-fix-compatibility-with-py3-when-installed-as-system-.patch
@@ -0,0 +1,23 @@
+From d21363d3e37a25c41dbb5c3441bdf6b201d52477 Mon Sep 17 00:00:00 2001
+From: Melvin Vermeeren <mail@mel.vin>
+Date: Fri, 4 May 2018 19:27:16 +0200
+Subject: [PATCH 1/2] fix compatibility with py3 when installed as system
+ module
+
+---
+ sphinx_multibuild/__init__.py | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/sphinx_multibuild/__init__.py b/sphinx_multibuild/__init__.py
+index fc0553f..6617ae0 100644
+--- a/sphinx_multibuild/__init__.py
++++ b/sphinx_multibuild/__init__.py
+@@ -1,3 +1,4 @@
+ #!/bin/env python
+ # -*- coding: utf-8 -*-
+-from sphinx_multibuild import SphinxMultiBuilder
++from __future__ import absolute_import
++from .sphinx_multibuild import SphinxMultiBuilder
+--
+2.17.0
+