[Python-modules-commits] r25164 - in packages/paste/trunk/debian (8 files)

xnox at users.alioth.debian.org xnox at users.alioth.debian.org
Fri Jul 12 23:22:09 UTC 2013


    Date: Friday, July 12, 2013 @ 23:22:07
  Author: xnox
Revision: 25164

* Add python3 package (Closes: #714787)
* Bump debhelper to 9
* Bump standards to 3.9.4

Added:
  packages/paste/trunk/debian/python-paste.dirs
    (from rev 25066, packages/paste/trunk/debian/dirs)
  packages/paste/trunk/debian/python3-paste.dirs
    (from rev 25066, packages/paste/trunk/debian/dirs)
  packages/paste/trunk/debian/python3-paste.doc-base
Modified:
  packages/paste/trunk/debian/changelog
  packages/paste/trunk/debian/compat
  packages/paste/trunk/debian/control
  packages/paste/trunk/debian/rules
Deleted:
  packages/paste/trunk/debian/dirs

Modified: packages/paste/trunk/debian/changelog
===================================================================
--- packages/paste/trunk/debian/changelog	2013-07-12 22:17:33 UTC (rev 25163)
+++ packages/paste/trunk/debian/changelog	2013-07-12 23:22:07 UTC (rev 25164)
@@ -1,7 +1,13 @@
 paste (1.7.5.1-5) UNRELEASED; urgency=low
 
+  [ Jakub Wilk ]
   * Use canonical URIs for Vcs-* fields.
 
+  [ Dmitrijs Ledkovs ]
+  * Add python3 package (Closes: #714787)
+  * Bump debhelper to 9
+  * Bump standards to 3.9.4
+
  -- Jakub Wilk <jwilk at debian.org>  Sun, 05 May 2013 16:01:27 +0200
 
 paste (1.7.5.1-4) unstable; urgency=low

Modified: packages/paste/trunk/debian/compat
===================================================================
--- packages/paste/trunk/debian/compat	2013-07-12 22:17:33 UTC (rev 25163)
+++ packages/paste/trunk/debian/compat	2013-07-12 23:22:07 UTC (rev 25164)
@@ -1 +1 @@
-5
+9

Modified: packages/paste/trunk/debian/control
===================================================================
--- packages/paste/trunk/debian/control	2013-07-12 22:17:33 UTC (rev 25163)
+++ packages/paste/trunk/debian/control	2013-07-12 23:22:07 UTC (rev 25164)
@@ -3,14 +3,16 @@
 Priority: optional
 Maintainer: Piotr Ożarowski <piotr at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5)
-Build-Depends-Indep: python-all (>= 2.6.6-3),
- python-setuptools (>= 0.6b3-1~), python-sphinx (>= 1.0.7+dfsg-1~)
+Build-Depends: debhelper (>= 9)
+Build-Depends-Indep: python-all (>= 2.6.6-3), python3-all,
+ python-setuptools (>= 0.6b3-1~), python-sphinx (>= 1.0.7+dfsg-1~),
+ python3-setuptools, python3-sphinx
 Standards-Version: 3.9.2
 Homepage: http://pythonpaste.org/
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/paste/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/paste/trunk/
 X-Python-Version: >= 2.4
+X-Python3-Version: >= 3.2
 
 Package: python-paste
 Architecture: all
@@ -37,3 +39,30 @@
   * Attention payed to the full development cycle -- starting projects,
     converting old projects, updating and deploying projects -- using a set of
     complementary packages and tools
+
+Package: python3-paste
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}, python3-pkg-resources
+Recommends: python3-openssl, libjs-mochikit
+Suggests: libapache2-mod-wsgi, libapache2-mod-python (>= 3.2.8-3), libapache2-mod-scgi,
+ ${sphinxdoc:Depends}
+Description: tools for using a Web Server Gateway Interface stack with Python 3
+ Python Paste brings consistency to Python web development and web application
+ installation, providing tools for both developers and system administrators.
+ .
+ Paste for Administrators:
+  * Easily install, run, and configure multiple Paste-enabled web
+    applications at once, and integrate them into your website how
+    you want (SCGI, FCGI, AJP, WSGI)
+  * Manage and install web applications system-wide for easy maintenance
+ .
+ Paste for Web Developers:
+  * Increase your web application's audience
+  * Provide starter templates and custom commands for using your web framework
+  * Keep your development and deployment straightened out, and your automated
+    testing streamlined
+  * Attention payed to the full development cycle -- starting projects,
+    converting old projects, updating and deploying projects -- using a set of
+    complementary packages and tools
+ .
+ This is the Python3 version of the package.

Deleted: packages/paste/trunk/debian/dirs
===================================================================
--- packages/paste/trunk/debian/dirs	2013-07-12 22:17:33 UTC (rev 25163)
+++ packages/paste/trunk/debian/dirs	2013-07-12 23:22:07 UTC (rev 25164)
@@ -1,2 +0,0 @@
-/usr/share/doc/python-paste/docs
-/usr/share/lintian/overrides

Copied: packages/paste/trunk/debian/python-paste.dirs (from rev 25066, packages/paste/trunk/debian/dirs)
===================================================================
--- packages/paste/trunk/debian/python-paste.dirs	                        (rev 0)
+++ packages/paste/trunk/debian/python-paste.dirs	2013-07-12 23:22:07 UTC (rev 25164)
@@ -0,0 +1,2 @@
+/usr/share/doc/python-paste/docs
+/usr/share/lintian/overrides

Copied: packages/paste/trunk/debian/python3-paste.dirs (from rev 25066, packages/paste/trunk/debian/dirs)
===================================================================
--- packages/paste/trunk/debian/python3-paste.dirs	                        (rev 0)
+++ packages/paste/trunk/debian/python3-paste.dirs	2013-07-12 23:22:07 UTC (rev 25164)
@@ -0,0 +1,2 @@
+/usr/share/doc/python3-paste/docs
+/usr/share/lintian/overrides

Added: packages/paste/trunk/debian/python3-paste.doc-base
===================================================================
--- packages/paste/trunk/debian/python3-paste.doc-base	                        (rev 0)
+++ packages/paste/trunk/debian/python3-paste.doc-base	2013-07-12 23:22:07 UTC (rev 25164)
@@ -0,0 +1,10 @@
+Document: python3-paste
+Title: Python Paste documentation
+Author: Ian Bicking 
+Abstract: Python Paste brings consistency to Python 3 web development and web application
+ installation, providing tools for both developers and system administrators.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python3-paste/docs/index.html
+Files: /usr/share/doc/python3-paste/docs/*.html

Modified: packages/paste/trunk/debian/rules
===================================================================
--- packages/paste/trunk/debian/rules	2013-07-12 22:17:33 UTC (rev 25163)
+++ packages/paste/trunk/debian/rules	2013-07-12 23:22:07 UTC (rev 25164)
@@ -4,7 +4,9 @@
 
 DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
 PYVERS=$(shell pyversions -vr)
+PY3VERS=$(shell py3versions -vr)
 PKGDIR=$(CURDIR)/debian/python-paste
+PKG3DIR=$(CURDIR)/debian/python3-paste
 
 include /usr/share/python/python.mk
 clean:
@@ -12,7 +14,7 @@
 	dh_testroot
 	rm -rf dist build
 	find . -name *\.py[co] -delete
-	dh_clean build-docs* $(PYVERS:%=install-python%)
+	dh_clean build-docs* $(PYVERS:%=install-python%) $(PY3VERS:%=install3-python%)
 
 build: build-indep
 build-indep: build-docs
@@ -22,19 +24,30 @@
 	dh_testdir
 	dh_installdirs
 	PYTHONPATH=. sphinx-build -N -q -E -b html docs/ $(PKGDIR)/usr/share/doc/python-paste/docs/
+	PYTHONPATH=. sphinx-build -N -q -E -b html docs/ $(PKG3DIR)/usr/share/doc/python3-paste/docs/
 	touch $@
 
-install: $(PYVERS:%=install-python%)
+install: $(PYVERS:%=install-python%) $(PY3VERS:%=install3-python%)
 install-python%:
 	python$* setup.py install --root $(PKGDIR) \
-		--single-version-externally-managed $(py_setup_install_args)
+		--install-layout=deb $(py_setup_install_args)
 	# pth file is not needed since all paste* packages are installed in same directory
 	find $(PKGDIR) \( -name '*.pth' -or -name 'namespace_packages.txt' \) -delete
 	touch $(PKGDIR)$(call py_libdir,$*)/paste/__init__.py
-	dh_link /usr/share/javascript/mochikit/MochiKit.js \
+	dh_link -ppython-paste /usr/share/javascript/mochikit/MochiKit.js \
 		$(call py_libdir,$*)/paste/evalexception/media/MochiKit.packed.js
 	touch $@
 
+install3-python%:
+	python$* setup.py install --root $(PKG3DIR) \
+		--install-layout=deb $(py_setup_install_args)
+	# pth file is not needed since all paste* packages are installed in same directory
+	find $(PKG3DIR) \( -name '*.pth' -or -name 'namespace_packages.txt' \) -delete
+	touch $(PKG3DIR)$(call py_libdir,$*)/paste/__init__.py
+	dh_link -ppython3-paste /usr/share/javascript/mochikit/MochiKit.js \
+		$(call py_libdir,$*)/paste/evalexception/media/MochiKit.packed.js
+	touch $@
+
 binary-indep: build install
 	dh_testdir -i
 	dh_testroot -i
@@ -42,9 +55,12 @@
 	dh_installdocs -i
 	dh_sphinxdoc -i
 	dh_python2 -i
+	dh_python3 -i
 	# it's not an extra license file
 	echo "python-paste: extra-license-file usr/share/doc/python-paste/docs/_sources/license.txt" \
 		>> $(PKGDIR)/usr/share/lintian/overrides/python-paste
+	echo "python3-paste: extra-license-file usr/share/doc/python3-paste/docs/_sources/license.txt" \
+		>> $(PKG3DIR)/usr/share/lintian/overrides/python3-paste
 	dh_compress -i -X.py -X.js -Xobjects.inv
 	dh_fixperms -i
 	dh_installdeb -i




More information about the Python-modules-commits mailing list