[Python-modules-commits] r27986 - in packages/python-kajiki/trunk/debian (5 files)

zigo at users.alioth.debian.org zigo at users.alioth.debian.org
Sun Mar 2 12:05:33 UTC 2014


    Date: Sunday, March 2, 2014 @ 12:05:32
  Author: zigo
Revision: 27986

  * Team upload.
  * Added Python3 support.
  * Ran wrap-and-sort.
  * Standards-Version: is now 3.9.5.
  * Now packaging the sphinx doc in a python-kajiki-doc package.
  * Cleans correctly so the package can be built twice.
  * Runs the unit test at build time.

Added:
  packages/python-kajiki/trunk/debian/python-kajiki-doc.doc-base
Modified:
  packages/python-kajiki/trunk/debian/changelog
  packages/python-kajiki/trunk/debian/control
  packages/python-kajiki/trunk/debian/copyright
  packages/python-kajiki/trunk/debian/rules

Modified: packages/python-kajiki/trunk/debian/changelog
===================================================================
--- packages/python-kajiki/trunk/debian/changelog	2014-03-02 00:12:04 UTC (rev 27985)
+++ packages/python-kajiki/trunk/debian/changelog	2014-03-02 12:05:32 UTC (rev 27986)
@@ -1,3 +1,15 @@
+python-kajiki (0.4.4-2) unstable; urgency=medium
+
+  * Team upload.
+  * Added Python3 support.
+  * Ran wrap-and-sort.
+  * Standards-Version: is now 3.9.5.
+  * Now packaging the sphinx doc in a python-kajiki-doc package.
+  * Cleans correctly so the package can be built twice.
+  * Runs the unit test at build time.
+
+ -- Thomas Goirand <zigo at debian.org>  Sun, 02 Mar 2014 10:11:58 +0000
+
 python-kajiki (0.4.4-1) unstable; urgency=low
 
   * New upstream release

Modified: packages/python-kajiki/trunk/debian/control
===================================================================
--- packages/python-kajiki/trunk/debian/control	2014-03-02 00:12:04 UTC (rev 27985)
+++ packages/python-kajiki/trunk/debian/control	2014-03-02 12:05:32 UTC (rev 27986)
@@ -3,21 +3,62 @@
 Priority: extra
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: TANIGUCHI Takaki <takaki at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), python-all, python-setuptools
-Standards-Version: 3.9.4
+Build-Depends: debhelper (>= 7.0.50~),
+               python-all,
+               python-babel,
+               python-nine,
+               python-nose,
+               python-setuptools,
+               python-sphinx,
+               python3-all (>= 3.2),
+               python3-babel,
+               python3-nine,
+               python3-nose,
+               python3-setuptools
+Standards-Version: 3.9.5
 Homepage: http://sourceforge.net/p/kajiki/home/
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-kajiki/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-kajiki/trunk/
 
 Package: python-kajiki
 Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}
+Depends: ${misc:Depends}, ${python:Depends}
 Provides: ${python:Provides}
-Description: Really fast well-formed xml templates
- Are you tired of the slow performance of Genshi? But you still long for
- the assurance that your output is well-formed that you miss from all
- those other templating engines? Do you wish you had Jinja's
- blocks with Genshi's syntax? Then look  no further, Kajiki is for you!
- Kajiki quickly compiles Genshi-like syntax to *real python bytecode*
- that renders with blazing-fast speed! Don't delay! Pick up your
- copy of Kajiki today!
+Description: Really fast well-formed xml templates - Python 2.x
+ Are you tired of the slow performance of Genshi? But you still long for the
+ assurance that your output is well-formed that you miss from all those other
+ templating engines? Do you wish you had Jinja's blocks with Genshi's syntax?
+ Then look  no further, Kajiki is for you! Kajiki quickly compiles Genshi-like
+ syntax to *real Python bytecode* that renders with blazing-fast speed! Don't
+ delay! Pick up your copy of Kajiki today!
+ .
+ This package provides the Python 2.x module.
+
+Package: python3-kajiki
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Provides: ${python3:Provides}
+Description: Really fast well-formed xml templates - Python 3.x
+ Are you tired of the slow performance of Genshi? But you still long for the
+ assurance that your output is well-formed that you miss from all those other
+ templating engines? Do you wish you had Jinja's blocks with Genshi's syntax?
+ Then look  no further, Kajiki is for you! Kajiki quickly compiles Genshi-like
+ syntax to *real Python bytecode* that renders with blazing-fast speed! Don't
+ delay! Pick up your copy of Kajiki today!
+ .
+ This package provides the Python 3.x module.
+
+Package: python-kajiki-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Provides: ${python3:Provides}
+Description: Really fast well-formed xml templates - doc
+ Are you tired of the slow performance of Genshi? But you still long for the
+ assurance that your output is well-formed that you miss from all those other
+ templating engines? Do you wish you had Jinja's blocks with Genshi's syntax?
+ Then look  no further, Kajiki is for you! Kajiki quickly compiles Genshi-like
+ syntax to *real Python bytecode* that renders with blazing-fast speed! Don't
+ delay! Pick up your copy of Kajiki today!
+ .
+ This package provides the documentation.

Modified: packages/python-kajiki/trunk/debian/copyright
===================================================================
--- packages/python-kajiki/trunk/debian/copyright	2014-03-02 00:12:04 UTC (rev 27985)
+++ packages/python-kajiki/trunk/debian/copyright	2014-03-02 12:05:32 UTC (rev 27986)
@@ -2,7 +2,7 @@
 Upstream-Name: Kajiki
 Source: http://pypi.python.org/pypi/Kajiki
 
-Files: * 
+Files: *
 Copyright: Rick Copeland <rick446 at usa.net>
 License: MIT
  Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -11,10 +11,10 @@
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  copies of the Software, and to permit persons to whom the Software is
  furnished to do so, subject to the following conditions:
- . 
+ .
  The above copyright notice and this permission notice shall be included in
  all copies or substantial portions of the Software.
- . 
+ .
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@@ -41,4 +41,3 @@
  .
  On Debian systems, the complete text of the GNU General
  Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
-

Added: packages/python-kajiki/trunk/debian/python-kajiki-doc.doc-base
===================================================================
--- packages/python-kajiki/trunk/debian/python-kajiki-doc.doc-base	                        (rev 0)
+++ packages/python-kajiki/trunk/debian/python-kajiki-doc.doc-base	2014-03-02 12:05:32 UTC (rev 27986)
@@ -0,0 +1,9 @@
+Document: python-kajiki-doc
+Title: Kajiki Documentation
+Author: N/A
+Abstract: Sphinx documentation for Kajiki
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-kajiki-doc/html/index.html
+Files: /usr/share/doc/python-kajiki-doc/html/*

Modified: packages/python-kajiki/trunk/debian/rules
===================================================================
--- packages/python-kajiki/trunk/debian/rules	2014-03-02 00:12:04 UTC (rev 27985)
+++ packages/python-kajiki/trunk/debian/rules	2014-03-02 12:05:32 UTC (rev 27986)
@@ -1,4 +1,33 @@
 #!/usr/bin/make -f
 
+PYTHONS:=$(shell pyversions -vr)
+PYTHON3S:=$(shell py3versions -vr)
+
 %:
-	dh $@ --with python2
+	dh $@ --buildsystem=python_distutils --with python2,python3,sphinxdoc
+
+override_dh_auto_install:
+	set -e && for pyvers in $(PYTHONS); do \
+		python$$pyvers setup.py install --install-layout=deb \
+			--root $(CURDIR)/debian/python-kajiki; \
+	done
+	set -e && for pyvers in $(PYTHON3S); do \
+		python$$pyvers setup.py install --install-layout=deb \
+			--root $(CURDIR)/debian/python3-kajiki; \
+	done
+
+override_dh_clean:
+	dh_clean -O--buildsystem=python_distutils
+	rm -rf build
+
+override_dh_sphinxdoc:
+ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
+	PYTHONPATH=. sphinx-build -b html docs $(CURDIR)/debian/python-kajiki-doc/usr/share/doc/python-kajiki-doc/html
+	dh_sphinxdoc -O--buildsystem=python_distutils
+endif
+
+override_dh_auto_test:
+ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
+	nosetests
+	nosetests3
+endif




More information about the Python-modules-commits mailing list