[Python-modules-commits] [sphinx-gallery] 02/02: Import Debian changes 0.1.13-1

Sandro Tosi morph at moszumanska.debian.org
Sun Nov 26 21:57:40 UTC 2017


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

morph pushed a commit to branch master
in repository sphinx-gallery.

commit 2bc5dbb6eb95dc82f83cdfc58e74cc8e4706fd86
Author: Sandro Tosi <morph at debian.org>
Date:   Sun Nov 26 16:08:30 2017 -0500

    Import Debian changes 0.1.13-1
    
    sphinx-gallery (0.1.13-1) unstable; urgency=medium
    
      * Initial release; Closes: #882800
---
 debian/changelog     |  5 +++++
 debian/compat        |  1 +
 debian/control       | 43 +++++++++++++++++++++++++++++++++++++++++++
 debian/copyright     | 36 ++++++++++++++++++++++++++++++++++++
 debian/rules         | 31 +++++++++++++++++++++++++++++++
 debian/source/format |  1 +
 debian/watch         |  4 ++++
 7 files changed, 121 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3b202aa
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+sphinx-gallery (0.1.13-1) unstable; urgency=medium
+
+  * Initial release; Closes: #882800
+
+ -- Sandro Tosi <morph at debian.org>  Sun, 26 Nov 2017 16:08:30 -0500
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..2f93699
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,43 @@
+Source: sphinx-gallery
+Section: python
+Priority: optional
+Maintainer: Sandro Tosi <morph at debian.org>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 9), dh-python, python-all, python3-all, python-sphinx, python3-sphinx, python-matplotlib, python3-matplotlib, python-pil, python3-pil, python-seaborn, python3-seaborn
+Standards-Version: 4.1.1
+Homepage: https://sphinx-gallery.github.io/
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/sphinx-gallery.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/sphinx-gallery.git
+
+Package: python-sphinx-gallery
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Suggests: python-sphinx-gallery-doc
+Description: extension that builds an HTML gallery of examples from Python scripts
+ * Simple examples that run out of the box are the best way to learn a library
+ * Pleasing, organized, visual layouts
+ * Links, searching, backlinks throughout examples and documentation
+ .
+ This package contains the Python 2 version of sphinx-gallery.
+
+Package: python3-sphinx-gallery
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Suggests: python-sphinx-gallery-doc
+Description: extension that builds an HTML gallery of examples from Python scripts (Python 3)
+ * Simple examples that run out of the box are the best way to learn a library
+ * Pleasing, organized, visual layouts
+ * Links, searching, backlinks throughout examples and documentation
+ .
+ This package contains the Python 3 version of sphinx-gallery.
+
+Package: python-sphinx-gallery-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: extension that builds an HTML gallery of examples from Python scripts (Doc)
+ * Simple examples that run out of the box are the best way to learn a library
+ * Pleasing, organized, visual layouts
+ * Links, searching, backlinks throughout examples and documentation
+ .
+ This package contains documentation for sphinx-gallery.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e6cfbc2
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,36 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: sphinx-gallery
+Source: https://github.com/sphinx-gallery/sphinx-gallery
+
+Files: *
+Copyright: Copyright (c) 2015, Óscar Nájera, All rights reserved.
+License: BSD-3-clause
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ a. Redistributions of source code must retain the above copyright notice,
+    this list of conditions and the following disclaimer.
+ b. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ c. Neither the name of mpmath nor the names of its contributors
+    may be used to endorse or promote products derived from this software
+    without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+ DAMAGE.
+
+Files: debian/*
+Copyright: 2017 Sandro Tosi <morph at debian.org>
+License: BSD-3-clause
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..f861db5
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,31 @@
+#!/usr/bin/make -f
+
+PY2VERS := $(shell pyversions -s)
+PY3VERS := $(shell py3versions -s)
+
+%:
+	dh $@ --with sphinxdoc,python2,python3
+
+override_dh_auto_build:
+	set -e ; \
+	for python in $(PY2VERS) $(PY3VERS); do \
+		$$python setup.py build; \
+	done
+
+	PYTHONPATH=../build/lib/ $(MAKE) -C doc html
+
+override_dh_auto_install:
+	set -e ; \
+	for python in $(PY2VERS); do \
+		$$python setup.py install --root=debian/python-sphinx-gallery --install-layout=deb; \
+	done
+	set -e ; \
+	for python in $(PY3VERS); do \
+		$$python setup.py install --root=debian/python3-sphinx-gallery --install-layout=deb; \
+	done
+
+override_dh_installchangelogs:
+	dh_installchangelogs -A CHANGES.rst
+
+override_dh_installdocs:
+	dh_installdocs -ppython-sphinx-gallery-doc examples/ mayavi_examples/ tutorials/
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..e775fb6
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%sphinx-gallery-$1.tar.gz%" \
+https://github.com/sphinx-gallery/sphinx-gallery/tags (?:.*?/)?v?(\d[\d.]*)\.tar\.gz

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



More information about the Python-modules-commits mailing list