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

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Tue Jun 14 21:26:22 UTC 2011


    Date: Tuesday, June 14, 2011 @ 21:26:21
  Author: piotr
Revision: 17460

* New upstream release (closes: #599645)
  - add python3-tempita binary package
  - no longer ships documentation
* Switch from dh_pysupport to dh_python2
* Source format changed to 3.0 (quilt)
* Bump Standards-Version to 3.9.2 (no changes needed)

Modified:
  packages/python-tempita/trunk/debian/changelog
  packages/python-tempita/trunk/debian/control
  packages/python-tempita/trunk/debian/dirs
  packages/python-tempita/trunk/debian/rules
  packages/python-tempita/trunk/debian/source/format

Modified: packages/python-tempita/trunk/debian/changelog
===================================================================
--- packages/python-tempita/trunk/debian/changelog	2011-06-14 20:24:16 UTC (rev 17459)
+++ packages/python-tempita/trunk/debian/changelog	2011-06-14 21:26:21 UTC (rev 17460)
@@ -1,3 +1,14 @@
+python-tempita (0.5.1-1) unstable; urgency=low
+
+  * New upstream release (closes: #599645)
+    - add python3-tempita binary package
+    - no longer ships documentation
+  * Switch from dh_pysupport to dh_python2
+  * Source format changed to 3.0 (quilt)
+  * Bump Standards-Version to 3.9.2 (no changes needed)
+
+ -- Piotr Ożarowski <piotr at debian.org>  Tue, 14 Jun 2011 22:08:22 +0200
+
 python-tempita (0.4-1) unstable; urgency=low
 
   * New upstream release

Modified: packages/python-tempita/trunk/debian/control
===================================================================
--- packages/python-tempita/trunk/debian/control	2011-06-14 20:24:16 UTC (rev 17459)
+++ packages/python-tempita/trunk/debian/control	2011-06-14 21:26:21 UTC (rev 17460)
@@ -4,16 +4,25 @@
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Christoph Haas <haas at debian.org>, Piotr Ożarowski <piotr at debian.org>
 Build-Depends: debhelper (>= 5)
-Build-Depends-Indep: python (>= 2.3.3), python-all-dev, python-support (>= 0.6.4), python-setuptools (>= 0.6b3-1~), python-sphinx
-Standards-Version: 3.8.1
-XS-Python-Version: all
+Build-Depends-Indep: python (>= 2.6.6-3), python-setuptools (>= 0.6b3-1~),
+ python3, python3-setuptools
+#, python-sphinx
+Standards-Version: 3.9.2
+X-Python-Version: >= 2.5
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-tempita/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-tempita/trunk/
 
 Package: python-tempita
 Architecture: all
-Depends: ${python:Depends}, python
-Suggests: libjs-jquery
+Depends: ${python:Depends}, ${misc:Depends}
+#Suggests: libjs-jquery
 Description: very small text templating language
  Tempita is a small and simple Python text templating language mainly used
  by Paster (python-pastescript) to roll out new projects.
+
+Package: python3-tempita
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Description: very small text templating language
+ Tempita is a small and simple Python text templating language mainly used
+ by Paster (python-pastescript) to roll out new projects.

Modified: packages/python-tempita/trunk/debian/dirs
===================================================================
--- packages/python-tempita/trunk/debian/dirs	2011-06-14 20:24:16 UTC (rev 17459)
+++ packages/python-tempita/trunk/debian/dirs	2011-06-14 21:26:21 UTC (rev 17460)
@@ -1,2 +1,2 @@
-/usr/share/doc/python-tempita/docs
+#/usr/share/doc/python-tempita/docs
 /usr/share/lintian/overrides

Modified: packages/python-tempita/trunk/debian/rules
===================================================================
--- packages/python-tempita/trunk/debian/rules	2011-06-14 20:24:16 UTC (rev 17459)
+++ packages/python-tempita/trunk/debian/rules	2011-06-14 21:26:21 UTC (rev 17460)
@@ -12,19 +12,19 @@
 	find . -name *\.py[co] -exec rm -f {} \;
 	dh_clean build-docs
 
-build: build-docs
+build:
 
-build-docs:
-	dh_testdir
-	dh_installdirs
-	mkdir docs/_static # Sphinx needs it
-	PYTHONPATH=. sphinx-build -N -q -E -b html docs/ debian/$(package)/usr/share/doc/$(package)/docs/
-	rm -rf debian/$(package)/usr/share/doc/$(package)/docs/.doctrees
-	dh_link /usr/share/javascript/jquery/jquery.js \
-		/usr/share/doc/$(package)/docs/_static/jquery.js
-	echo "$(package): extra-license-file usr/share/doc/$(package)/docs/_sources/license.txt" \
-		>> debian/$(package)/usr/share/lintian/overrides/$(package)
-	touch $@
+# build-docs:
+#         dh_testdir
+#         dh_installdirs
+#         mkdir docs/_static # Sphinx needs it
+#         PYTHONPATH=. sphinx-build -N -q -E -b html docs/ debian/$(package)/usr/share/doc/$(package)/docs/
+#         rm -rf debian/$(package)/usr/share/doc/$(package)/docs/.doctrees
+#         dh_link /usr/share/javascript/jquery/jquery.js \
+#                 /usr/share/doc/$(package)/docs/_static/jquery.js
+#         echo "$(package): extra-license-file usr/share/doc/$(package)/docs/_sources/license.txt" \
+#                 >> debian/$(package)/usr/share/lintian/overrides/$(package)
+#         touch $@
 
 install: build
 	dh_testdir
@@ -34,6 +34,8 @@
 		--no-compile \
 		--single-version-externally-managed \
 		--root $(CURDIR)/debian/$(package)
+	python3 setup.py install \
+		--root $(CURDIR)/debian/python3-tempita
 
 binary-indep: build install
 	dh_testdir
@@ -42,7 +44,8 @@
 	dh_installdocs
 	dh_compress -X.py -X.js
 	dh_fixperms
-	dh_pysupport
+	dh_python2
+	dh_python3
 	dh_installdeb
 	dh_gencontrol
 	dh_md5sums

Modified: packages/python-tempita/trunk/debian/source/format
===================================================================
--- packages/python-tempita/trunk/debian/source/format	2011-06-14 20:24:16 UTC (rev 17459)
+++ packages/python-tempita/trunk/debian/source/format	2011-06-14 21:26:21 UTC (rev 17460)
@@ -1 +1 @@
-1.0
+3.0 (quilt)




More information about the Python-modules-commits mailing list