[Python-apps-commits] r12931 - in packages/pybtex/trunk/debian (changelog control rules)

danstender-guest at users.alioth.debian.org danstender-guest at users.alioth.debian.org
Mon Mar 14 14:10:20 UTC 2016


    Date: Monday, March 14, 2016 @ 14:10:18
  Author: danstender-guest
Revision: 12931

deb/rules: installed overrides for installdocs (Sphinx build) and dh_compress (save examples)

Modified:
  packages/pybtex/trunk/debian/changelog
  packages/pybtex/trunk/debian/control
  packages/pybtex/trunk/debian/rules

Modified: packages/pybtex/trunk/debian/changelog
===================================================================
--- packages/pybtex/trunk/debian/changelog	2016-03-14 13:52:28 UTC (rev 12930)
+++ packages/pybtex/trunk/debian/changelog	2016-03-14 14:10:18 UTC (rev 12931)
@@ -9,6 +9,7 @@
       * added dh-python to build deps.
       * don't depend on python-all (not needed).
       * dropped dep on pyparsing (obsolete).
+      * added dep for Sphinx, dropped Jinja2 and Docutils.
       * moved pyyaml from Recommends to Depends (is now install_requires).
     + removed X-Python-Version (not needed).
     + bumped Standards-Version to 3.9.7 (no changes needed).
@@ -22,9 +23,11 @@
     + build with Pybuild.
     + use Pybuild customization for dh_auto_test, moved override up.
     + update and cosmectics in dh_auto_install override.
+    + install override to dh_installdocs to build docs with Sphinx.
+    + install override for dh_compress to save examples from compressing.
   * deb/watch: watch pypi.debian.net.
 
- -- Daniel Stender <stender at debian.org>  Mon, 14 Mar 2016 14:49:16 +0100
+ -- Daniel Stender <stender at debian.org>  Mon, 14 Mar 2016 15:06:45 +0100
 
 pybtex (0.18-1) unstable; urgency=low
 

Modified: packages/pybtex/trunk/debian/control
===================================================================
--- packages/pybtex/trunk/debian/control	2016-03-14 13:52:28 UTC (rev 12930)
+++ packages/pybtex/trunk/debian/control	2016-03-14 14:10:18 UTC (rev 12931)
@@ -7,8 +7,7 @@
  debhelper (>= 9),
  dh-python,
  python (>= 2.6.6-3~),
- python-docutils,
- python-jinja2,
+ python-sphinx,
  python-nose,
  python-pygments,
  python-setuptools,
@@ -24,6 +23,7 @@
  python-pkg-resources,
  ${misc:Depends},
  ${python:Depends},
+ ${sphinxdocs:Depends},
  python-yaml
 Description: BibTeX-compatible bibliography processor
  Pybtex reads citation information from a file and produces a formatted

Modified: packages/pybtex/trunk/debian/rules
===================================================================
--- packages/pybtex/trunk/debian/rules	2016-03-14 13:52:28 UTC (rev 12930)
+++ packages/pybtex/trunk/debian/rules	2016-03-14 14:10:18 UTC (rev 12931)
@@ -16,8 +16,16 @@
 	mv debian/pybtex/usr/bin/pybtex debian/pybtex/usr/bin/bibtex.pybtex
 	rm -rf debian/pybtex/usr/lib/python*/*-packages/pybtex/tests/
 
+.PHONY: override_dh_installdocs
+override_dh_installdocs:
+	dh_installdocs
+	PYTHONPATH=. sphinx-build -N -bhtml docs/source debian/pybtex/usr/share/doc/pybtex/html
+
 .PHONY: override_dh_installman
 override_dh_installman:
 	dh_installman
 	cd debian/pybtex/ && rename.ul pybtex bibtex.pybtex usr/share/man/man*/pybtex.[0-9]
 
+.PHONY: override_dh_compress
+override_dh_compress:
+	dh_compress -X.bib -X.bibtexml -X.yaml -X.aux -X.bib # save examples




More information about the Python-apps-commits mailing list