[Python-modules-commits] r27525 - in packages/breathe/trunk (18 files)

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Mon Feb 3 00:40:31 UTC 2014


    Date: Monday, February 3, 2014 @ 00:40:30
  Author: sramacher
Revision: 27525

[svn-inject] Applying Debian modifications (1.2.0-1) to trunk

Added:
  packages/breathe/trunk/debian/
  packages/breathe/trunk/debian/breathe-doc.doc-base
  packages/breathe/trunk/debian/breathe-doc.docs
  packages/breathe/trunk/debian/changelog
  packages/breathe/trunk/debian/clean
  packages/breathe/trunk/debian/compat
  packages/breathe/trunk/debian/control
  packages/breathe/trunk/debian/copyright
  packages/breathe/trunk/debian/patches/
  packages/breathe/trunk/debian/patches/packaged-mathjax.patch
  packages/breathe/trunk/debian/patches/series
  packages/breathe/trunk/debian/patches/undefined-names.patch
  packages/breathe/trunk/debian/python-breathe.install
  packages/breathe/trunk/debian/python3-breathe.install
  packages/breathe/trunk/debian/rules
  packages/breathe/trunk/debian/source/
  packages/breathe/trunk/debian/source/format
  packages/breathe/trunk/debian/watch


Property changes on: packages/breathe/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/breathe/trunk/debian/breathe-doc.doc-base
===================================================================
--- packages/breathe/trunk/debian/breathe-doc.doc-base	                        (rev 0)
+++ packages/breathe/trunk/debian/breathe-doc.doc-base	2014-02-03 00:40:30 UTC (rev 27525)
@@ -0,0 +1,11 @@
+Document: breathe
+Title: Breathe documentation
+Author: Michael Jones
+Abstract:
+ Breathe provides an easy way to include Doxygen information in documentation
+ generated by Sphinx.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/breathe-doc/html/index.html
+Files: /usr/share/doc/breathe-doc/html/*.html

Added: packages/breathe/trunk/debian/breathe-doc.docs
===================================================================
--- packages/breathe/trunk/debian/breathe-doc.docs	                        (rev 0)
+++ packages/breathe/trunk/debian/breathe-doc.docs	2014-02-03 00:40:30 UTC (rev 27525)
@@ -0,0 +1 @@
+html

Added: packages/breathe/trunk/debian/changelog
===================================================================
--- packages/breathe/trunk/debian/changelog	                        (rev 0)
+++ packages/breathe/trunk/debian/changelog	2014-02-03 00:40:30 UTC (rev 27525)
@@ -0,0 +1,5 @@
+breathe (1.2.0-1) unstable; urgency=low
+
+  * Initial release. (Closes: #736990)
+
+ -- Sebastian Ramacher <sramacher at debian.org>  Mon, 03 Feb 2014 01:35:25 +0100

Added: packages/breathe/trunk/debian/clean
===================================================================
--- packages/breathe/trunk/debian/clean	                        (rev 0)
+++ packages/breathe/trunk/debian/clean	2014-02-03 00:40:30 UTC (rev 27525)
@@ -0,0 +1,5 @@
+*.egg-info/*
+examples/doxygen/example.tag
+examples/specific/*/xml/*.xml
+examples/specific/*/xml/*.xsd
+examples/specific/*/xml/*.xslt

Added: packages/breathe/trunk/debian/compat
===================================================================
--- packages/breathe/trunk/debian/compat	                        (rev 0)
+++ packages/breathe/trunk/debian/compat	2014-02-03 00:40:30 UTC (rev 27525)
@@ -0,0 +1 @@
+9

Added: packages/breathe/trunk/debian/control
===================================================================
--- packages/breathe/trunk/debian/control	                        (rev 0)
+++ packages/breathe/trunk/debian/control	2014-02-03 00:40:30 UTC (rev 27525)
@@ -0,0 +1,68 @@
+Source: breathe
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Sebastian Ramacher <sramacher at debian.org>
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ python-all,
+ python3-all,
+ python-setuptools,
+ python3-setuptools,
+ python-docutils,
+ python3-docutils,
+ python-sphinx,
+ python3-sphinx,
+ doxygen
+Standards-Version: 3.9.5
+Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/breathe/trunk/
+Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/breathe/trunk/
+Homepage: http://michaeljones.github.io/breathe/
+
+Package: python-breathe
+Architecture: all
+Depends:
+ ${python:Depends},
+ ${misc:Depends},
+ doxygen
+Enhances:
+ python-sphinx
+Description: Sphinx autodox support for languages other than Python (Python 2)
+ Breathe provides a bridge between the Sphinx and doxygen documentation
+ systems. It enables Sphinx to generate autodoc for languages other than Python
+ with the help of doxygen. It also allows one to embed reStructuredText in
+ doxygen markup.
+ .
+ This package provides the module for Python 2.
+
+Package: python3-breathe
+Architecture: all
+Depends:
+ ${python3:Depends},
+ ${misc:Depends},
+ doxygen
+Enhances:
+ python3-sphinx
+Description: Sphinx autodox support for languages other than Python (Python 3)
+ Breathe provides a bridge between the Sphinx and doxygen documentation
+ systems. It enables Sphinx to generate autodoc for languages other than Python
+ with the help of doxygen. It also allows one to embed reStructuredText in
+ doxygen markup.
+ .
+ This package provides the module for Python 3.
+
+Package: breathe-doc
+Architecture: all
+Depends:
+ ${sphinxdoc:Depends},
+ ${misc:Depends},
+ libjs-mathjax
+Section: doc
+Description: Sphinx autodox support for languages other than Python (documentation)
+ Breathe provides a bridge between the Sphinx and doxygen documentation
+ systems. It enables Sphinx to generate autodoc for languages other than Python
+ with the help of doxygen. It also allows one to embed reStructuredText in
+ doxygen markup.
+ .
+ This package contains the documentation.

Added: packages/breathe/trunk/debian/copyright
===================================================================
--- packages/breathe/trunk/debian/copyright	                        (rev 0)
+++ packages/breathe/trunk/debian/copyright	2014-02-03 00:40:30 UTC (rev 27525)
@@ -0,0 +1,58 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: breathe
+Upstream-Contact: Michael Jones <m.pricejones at gmail.com>
+Source: https://github.com/michaeljones/breathe
+
+Files: *
+Copyright: 2009 Michael Jones <m.pricejones at gmail.com>
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2014 Sebastian Ramacher <sramacher at debian.org>
+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:
+ .
+  * Redistributions of source code must retain the above copyright notice,
+    this list of conditions and the following disclaimer.
+  * 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.
+  * The names of its contributors may not 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 COPYRIGHT HOLDER 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: examples/tinyxml/tinyxml.h
+Copyright: 2000-2006 Lee Thomason
+License: Zlib
+ This software is provided 'as-is', without any express or implied
+ warranty. In no event will the authors be held liable for any
+ damages arising from the use of this software.
+ .
+ Permission is granted to anyone to use this software for any
+ purpose, including commercial applications, and to alter it and
+ redistribute it freely, subject to the following restrictions:
+ .
+ 1. The origin of this software must not be misrepresented; you must
+ not claim that you wrote the original software. If you use this
+ software in a product, an acknowledgment in the product documentation
+ would be appreciated but is not required.
+ .
+ 2. Altered source versions must be plainly marked as such, and
+ must not be misrepresented as being the original software.
+ .
+ 3. This notice may not be removed or altered from any source
+ distribution.

Added: packages/breathe/trunk/debian/patches/packaged-mathjax.patch
===================================================================
--- packages/breathe/trunk/debian/patches/packaged-mathjax.patch	                        (rev 0)
+++ packages/breathe/trunk/debian/patches/packaged-mathjax.patch	2014-02-03 00:40:30 UTC (rev 27525)
@@ -0,0 +1,14 @@
+Description: Use packaged copy of MathJax
+Author: Sebastian Ramacher <sramacher at debian.org>
+Forwarded: not-needed
+Last-Update: 2014-02-02
+
+--- a/testsuite/source/conf.py
++++ b/testsuite/source/conf.py
+@@ -237,4 +237,5 @@
+                              objname='configuration value',
+                              indextemplate='pair: %s; configuration value')
+ 
+-
++# Use the packaged copy of MathJax
++mathjax_path = '/usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'

Added: packages/breathe/trunk/debian/patches/series
===================================================================
--- packages/breathe/trunk/debian/patches/series	                        (rev 0)
+++ packages/breathe/trunk/debian/patches/series	2014-02-03 00:40:30 UTC (rev 27525)
@@ -0,0 +1,2 @@
+undefined-names.patch
+packaged-mathjax.patch

Added: packages/breathe/trunk/debian/patches/undefined-names.patch
===================================================================
--- packages/breathe/trunk/debian/patches/undefined-names.patch	                        (rev 0)
+++ packages/breathe/trunk/debian/patches/undefined-names.patch	2014-02-03 00:40:30 UTC (rev 27525)
@@ -0,0 +1,37 @@
+Description: Fix undefined names
+Author: Sebastian Ramacher <sramacher at debian.org>
+Bug: https://github.com/michaeljones/breathe/issues/80
+Forwarded: https://github.com/michaeljones/breathe/pull/82
+Last-Update: 2014-02-02
+
+--- a/breathe/directives.py
++++ b/breathe/directives.py
+@@ -16,7 +16,7 @@
+ from sphinx.domains.cpp import DefinitionParser
+ 
+ from breathe.finder import FinderFactory, NoMatchesError, MultipleMatchesError
+-from breathe.parser import DoxygenParserFactory, CacheFactory, ParserError
++from breathe.parser import DoxygenParserFactory, CacheFactory, ParserError, FileIOError
+ from breathe.renderer.rst.doxygen import DoxygenToRstRendererFactoryCreatorConstructor, RstContentCreator
+ from breathe.renderer.rst.doxygen import format_parser_error
+ from breathe.renderer.rst.doxygen.domain import DomainHandlerFactoryCreator, NullDomainHandler
+@@ -51,6 +51,8 @@
+ class NoDefaultProjectError(ProjectError):
+     pass
+ 
++class NodeNotFoundError(BreatheError):
++    pass
+ 
+ class BaseDirective(rst.Directive):
+ 
+--- a/breathe/parser/doxygen/index.py
++++ b/breathe/parser/doxygen/index.py
+@@ -5,7 +5,7 @@
+ """
+ 
+ from xml.dom import minidom
+-
++from xml.parsers.expat import ExpatError
+ 
+ import indexsuper as supermod
+ 

Added: packages/breathe/trunk/debian/python-breathe.install
===================================================================
--- packages/breathe/trunk/debian/python-breathe.install	                        (rev 0)
+++ packages/breathe/trunk/debian/python-breathe.install	2014-02-03 00:40:30 UTC (rev 27525)
@@ -0,0 +1 @@
+usr/lib/python2*

Added: packages/breathe/trunk/debian/python3-breathe.install
===================================================================
--- packages/breathe/trunk/debian/python3-breathe.install	                        (rev 0)
+++ packages/breathe/trunk/debian/python3-breathe.install	2014-02-03 00:40:30 UTC (rev 27525)
@@ -0,0 +1 @@
+usr/lib/python3*

Added: packages/breathe/trunk/debian/rules
===================================================================
--- packages/breathe/trunk/debian/rules	                        (rev 0)
+++ packages/breathe/trunk/debian/rules	2014-02-03 00:40:30 UTC (rev 27525)
@@ -0,0 +1,31 @@
+#!/usr/bin/make -f
+
+PY3DEF=$(shell py3versions -vd)
+PYDEF=$(shell pyversions -vd)
+SPHINXBUILD="/usr/share/sphinx/scripts/python{version.major}/sphinx-build"
+
+%:
+	dh $@ --with=python2,python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_clean:
+	dh_auto_clean
+	$(MAKE) distclean
+	rm -rf html
+
+override_dh_auto_build:
+	dh_auto_build
+	pybuild --system=custom -p $(PY3DEF) --build \
+		--build-args="env PYTHONPATH={build_dir} $(MAKE) SPHINXBUILD=$(SPHINXBUILD)"
+	mv testsuite/build/html html
+
+override_dh_auto_test:
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+	# We test breathe by building the documention. The documentation has already
+	# been built for the default Python 3 version, so we do not need to do this
+	# again. We just test with the default Python 2 version here.
+	pybuild --system=custom -p $(PY3DEF) --build \
+		--build-args="env PYTHONPATH={build_dir} $(MAKE) SPHINXBUILD=$(SPHINXBUILD)"
+endif
+
+override_dh_sphinxdoc:
+	dh_sphinxdoc -X/usr/share/javascript/mathjax/MathJax.js


Property changes on: packages/breathe/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/breathe/trunk/debian/source/format
===================================================================
--- packages/breathe/trunk/debian/source/format	                        (rev 0)
+++ packages/breathe/trunk/debian/source/format	2014-02-03 00:40:30 UTC (rev 27525)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/breathe/trunk/debian/watch
===================================================================
--- packages/breathe/trunk/debian/watch	                        (rev 0)
+++ packages/breathe/trunk/debian/watch	2014-02-03 00:40:30 UTC (rev 27525)
@@ -0,0 +1,5 @@
+version=3
+https://github.com/michaeljones/breathe/releases .*/v(\d+.*)\.tar\.gz
+# The tarball on pypi is missing a bunch of files (LICENSE, all the examples),
+# so we take the one from github for now.
+# https://pypi.python.org/packages/source/b/breathe/breathe-(\d+.*)\.tar\.gz




More information about the Python-modules-commits mailing list