r2767 - in python-chameleon/trunk/debian (7 files)

barry at users.alioth.debian.org barry at users.alioth.debian.org
Mon Jun 16 18:01:50 UTC 2014


    Date: Monday, June 16, 2014 @ 18:01:49
  Author: barry
Revision: 2767

* Team upload.
* New upstream release.
* debian/patches/do_not_download_distribute.patch: Removed; obsolete.
* debian/control:
  - Added python3-chameleon and python-chameleon-doc binary packages.
  - Added necessary Build-Depends for Python 3.
  - Added X-Python3-Version header.
  - Removed build dependency on python-van.pydeb (which isn't available
    for Python 3) and switched it to dh-python (for pybuild).
  - Updated python-chameleon binary package headers for better
    compatibility with pybuild.
* debian/install -> debian/python-chameleon-doc.install
* debian/rules: Convert to pybuild build system and add Python 3 support.

Added:
  python-chameleon/trunk/debian/python-chameleon-doc.install
Modified:
  python-chameleon/trunk/debian/changelog
  python-chameleon/trunk/debian/control
  python-chameleon/trunk/debian/patches/series
  python-chameleon/trunk/debian/rules
Deleted:
  python-chameleon/trunk/debian/install
  python-chameleon/trunk/debian/patches/do_not_download_distribute.patch

Modified: python-chameleon/trunk/debian/changelog
===================================================================
--- python-chameleon/trunk/debian/changelog	2014-06-11 05:17:52 UTC (rev 2766)
+++ python-chameleon/trunk/debian/changelog	2014-06-16 18:01:49 UTC (rev 2767)
@@ -1,9 +1,26 @@
-python-chameleon (2.6.1-2ubuntu1) UNRELEASED; urgency=medium
+python-chameleon (2.16-1) UNRELEASED; urgency=medium
 
+  * Team upload.
+
+  [ Gediminas Paulauskas ]
   * debian/tests/control: correctly spell python-zope.i18n. Closes: #747388
 
- -- Gediminas Paulauskas <menesis at pov.lt>  Fri, 09 May 2014 18:53:38 +0300
+  [ Barry Warsaw ]
+  * New upstream release.
+  * debian/patches/do_not_download_distribute.patch: Removed; obsolete.
+  * debian/control:
+    - Added python3-chameleon and python-chameleon-doc binary packages.
+    - Added necessary Build-Depends for Python 3.
+    - Added X-Python3-Version header.
+    - Removed build dependency on python-van.pydeb (which isn't available
+      for Python 3) and switched it to dh-python (for pybuild).
+    - Updated python-chameleon binary package headers for better
+      compatibility with pybuild.
+  * debian/install -> debian/python-chameleon-doc.install
+  * debian/rules: Convert to pybuild build system and add Python 3 support.
 
+ -- Barry Warsaw <barry at debian.org>  Mon, 16 Jun 2014 18:24:02 -0500
+
 python-chameleon (2.6.1-2) unstable; urgency=medium
 
   * Team upload.

Modified: python-chameleon/trunk/debian/control
===================================================================
--- python-chameleon/trunk/debian/control	2014-06-11 05:17:52 UTC (rev 2766)
+++ python-chameleon/trunk/debian/control	2014-06-16 18:01:49 UTC (rev 2767)
@@ -5,11 +5,14 @@
 Uploaders: Brian Sutherland <brian at vanguardistas.net>,
            Fabio Tranchitella <kobold at debian.org>
 Build-Depends: debhelper (>= 7.0.50~),
+               dh-python,
                python-all (>= 2.6.6-3~),
                python-setuptools,
-               python-van.pydeb (>= 1.3.0-4)
+               python3-all,
+               python3-setuptools
 Standards-Version: 3.9.5
 X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.2
 XS-Testsuite: autopkgtest
 Vcs-Svn: svn://anonscm.debian.org/pkg-zope/python-chameleon/trunk
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-zope/python-chameleon/trunk
@@ -17,10 +20,9 @@
 
 Package: python-chameleon
 Architecture: all
-Depends: ${pydeb:Depends}, ${python:Depends}, ${misc:Depends}
-Recommends: ${pydeb:Recommends}
-Provides: ${pydeb:Provides}, ${python:Provides}
-Suggests: ${pydeb:Suggests}
+Depends: python-pkg-resources, ${misc:Depends}, ${python:Depends}
+Provides: ${python:Provides}
+Recommends: python-chameleon-doc
 Description: XML-based template compiler
  Chameleon compiles templates to Python byte-code. It includes a complete
  implementation of the Zope Page Templates (ZPT) language.
@@ -28,3 +30,34 @@
  The engine itself performs 10-15 times better than the reference
  implementation and real-world benchmarks show an overall performance
  improvement in complex applications of 30-50%.
+ .
+ This is the Python 2 version of the package.
+
+Package: python3-chameleon
+Architecture: all
+Depends: python3-pkg-resources, ${misc:Depends}, ${python3:Depends}
+Provides: ${python3:Provides}
+Recommends: python-chameleon-doc
+Description: XML-based template compiler
+ Chameleon compiles templates to Python byte-code. It includes a complete
+ implementation of the Zope Page Templates (ZPT) language.
+ .
+ The engine itself performs 10-15 times better than the reference
+ implementation and real-world benchmarks show an overall performance
+ improvement in complex applications of 30-50%.
+ .
+ This is the Python 2 version of the package.
+
+Package: python-chameleon-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: XML-based template compiler
+ Chameleon compiles templates to Python byte-code. It includes a complete
+ implementation of the Zope Page Templates (ZPT) language.
+ .
+ The engine itself performs 10-15 times better than the reference
+ implementation and real-world benchmarks show an overall performance
+ improvement in complex applications of 30-50%.
+ .
+ This is the common documentation package.

Deleted: python-chameleon/trunk/debian/install
===================================================================
--- python-chameleon/trunk/debian/install	2014-06-11 05:17:52 UTC (rev 2766)
+++ python-chameleon/trunk/debian/install	2014-06-16 18:01:49 UTC (rev 2767)
@@ -1 +0,0 @@
-docs/*		usr/share/doc/python-chameleon/manual/

Deleted: python-chameleon/trunk/debian/patches/do_not_download_distribute.patch
===================================================================
--- python-chameleon/trunk/debian/patches/do_not_download_distribute.patch	2014-06-11 05:17:52 UTC (rev 2766)
+++ python-chameleon/trunk/debian/patches/do_not_download_distribute.patch	2014-06-16 18:01:49 UTC (rev 2767)
@@ -1,23 +0,0 @@
-Description: Do not download distribute from the internet
- Not needed with latest upstream release as distribute_setup has been dropped.
-Author: Sebastian Ramacher <sramacher at debian.org>
-Bug-Debian: http://bugs.debian.org/733431
-Reviewed-by: Arnaud Fontaine <arnau at debian.org>
-Forwarded: not-needed
-Last-Update: 2014-02-05
-
---- python-chameleon-2.6.1.orig/setup.py
-+++ python-chameleon-2.6.1/setup.py
-@@ -3,12 +3,6 @@ __version__ = '2.6.1'
- import os
- import sys
- 
--try:
--    from distribute_setup import use_setuptools
--    use_setuptools()
--except: # doesn't work under tox/pip
--    pass
--
- from setuptools import setup, find_packages
- from setuptools.command.test import test
- 

Modified: python-chameleon/trunk/debian/patches/series
===================================================================
--- python-chameleon/trunk/debian/patches/series	2014-06-11 05:17:52 UTC (rev 2766)
+++ python-chameleon/trunk/debian/patches/series	2014-06-16 18:01:49 UTC (rev 2767)
@@ -1 +0,0 @@
-do_not_download_distribute.patch

Added: python-chameleon/trunk/debian/python-chameleon-doc.install
===================================================================
--- python-chameleon/trunk/debian/python-chameleon-doc.install	                        (rev 0)
+++ python-chameleon/trunk/debian/python-chameleon-doc.install	2014-06-16 18:01:49 UTC (rev 2767)
@@ -0,0 +1 @@
+docs/*		usr/share/doc/python-chameleon/manual/

Modified: python-chameleon/trunk/debian/rules
===================================================================
--- python-chameleon/trunk/debian/rules	2014-06-11 05:17:52 UTC (rev 2766)
+++ python-chameleon/trunk/debian/rules	2014-06-16 18:01:49 UTC (rev 2767)
@@ -1,11 +1,11 @@
 #!/usr/bin/make -f
 
-# next lines required until van.pydeb 1.3.1
-export PYDEB_PY_PACKAGE=Chameleon
-export PYDEB_BIN_PACKAGE=python-chameleon
+#export DH_VERBOSE=1
+export PYBUILD_NAME=chameleon
 
 %:
-	dh --with pydeb --with python2 --buildsystem=python_distutils $@
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
+
 override_dh_installchangelogs:
 	dh_installchangelogs CHANGES.rst




More information about the pkg-zope-developers mailing list