[Python-modules-commits] [sphinx-rtd-theme] 01/01: Convert to the new team workflow using gbp pq.

Dmitry Shachnev mitya57 at moszumanska.debian.org
Sun Aug 20 15:28:38 UTC 2017


This is an automated email from the git hooks/post-receive script.

mitya57 pushed a commit to branch debian/master
in repository sphinx-rtd-theme.

commit 5f370573d97e5befed4840af081a3ab03e582053
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Sun Aug 20 18:26:51 2017 +0300

    Convert to the new team workflow using gbp pq.
---
 debian/gbp.conf                 |  2 ++
 debian/patches/theme-path.patch | 36 ++++++++++++++++++++++--------------
 2 files changed, 24 insertions(+), 14 deletions(-)

diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..3879982
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+debian-branch=debian/master
diff --git a/debian/patches/theme-path.patch b/debian/patches/theme-path.patch
index f4e2ab8..86ae1e6 100644
--- a/debian/patches/theme-path.patch
+++ b/debian/patches/theme-path.patch
@@ -1,20 +1,17 @@
-Description: use /usr/share/ as theme path
-Author: Dmitry Shachnev <mitya57 at debian.org>
-Forwarded: not-needed
-Last-Update: 2017-06-20
+From: Dmitry Shachnev <mitya57 at debian.org>
+Date: Sun, 20 Aug 2017 18:25:17 +0300
+Subject: Use /usr/share/ as theme path
 
---- a/sphinx_rtd_theme/__init__.py
-+++ b/sphinx_rtd_theme/__init__.py
-@@ -11,5 +11,4 @@
- 
- def get_html_theme_path():
-     """Return list of HTML theme paths."""
--    cur_dir = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
--    return cur_dir
-+    return "/usr/share/"
+---
+ setup.py                     | 8 --------
+ sphinx_rtd_theme/__init__.py | 3 +--
+ 2 files changed, 1 insertion(+), 10 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index e6c0a69..095e0fa 100644
 --- a/setup.py
 +++ b/setup.py
-@@ -19,14 +19,6 @@
+@@ -19,14 +19,6 @@ setup(
      long_description=open('README.rst').read(),
      zip_safe=False,
      packages=['sphinx_rtd_theme'],
@@ -29,3 +26,14 @@ Last-Update: 2017-06-20
      classifiers=[
          'Development Status :: 5 - Production/Stable',
          'License :: OSI Approved :: MIT License',
+diff --git a/sphinx_rtd_theme/__init__.py b/sphinx_rtd_theme/__init__.py
+index ad08a7f..4710b7c 100644
+--- a/sphinx_rtd_theme/__init__.py
++++ b/sphinx_rtd_theme/__init__.py
+@@ -11,5 +11,4 @@ __version_full__ = __version__
+ 
+ def get_html_theme_path():
+     """Return list of HTML theme paths."""
+-    cur_dir = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
+-    return cur_dir
++    return "/usr/share/"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/sphinx-rtd-theme.git



More information about the Python-modules-commits mailing list