[Python-modules-commits] r5205 - in packages/webhelpers/trunk/debian (4 files)

malex at users.alioth.debian.org malex at users.alioth.debian.org
Thu May 1 00:27:50 UTC 2008


    Date: Thursday, May 1, 2008 @ 00:27:49
  Author: malex
Revision: 5205

use prototype.js from libjs-prototype

Added:
  packages/webhelpers/trunk/debian/links
Modified:
  packages/webhelpers/trunk/debian/changelog
  packages/webhelpers/trunk/debian/control
  packages/webhelpers/trunk/debian/rules

Modified: packages/webhelpers/trunk/debian/changelog
===================================================================
--- packages/webhelpers/trunk/debian/changelog	2008-04-30 22:24:11 UTC (rev 5204)
+++ packages/webhelpers/trunk/debian/changelog	2008-05-01 00:27:49 UTC (rev 5205)
@@ -1,3 +1,19 @@
+webhelpers (0.3.4-2) unstable; urgency=low
+
+  * Remove the javascript prototypes and link to and depend on libjs-prototype
+    (Closes: #475291).
+  * debian/rules:
+    - Removed dh_strip clause as it is not needed for .py files.
+    - Added a clause to remove prototype.js.
+    - Added a clause to create a link to prototype.js from libjs-prototype.
+  * debian/control:
+    - Updated Standards-Version to 3.7.3.
+    - Added a dependency on libjs-prototype.
+    - Changed section to python per lintian warning.
+    - Removed the -1 revision from dependency on python-setuptools.
+
+ -- Oleksandr Moskalenko <malex at debian.org>  Wed, 30 Apr 2008 16:59:12 -0600
+
 webhelpers (0.3.4-1) unstable; urgency=low
 
   Oleksandr Moskalenko:

Modified: packages/webhelpers/trunk/debian/control
===================================================================
--- packages/webhelpers/trunk/debian/control	2008-04-30 22:24:11 UTC (rev 5204)
+++ packages/webhelpers/trunk/debian/control	2008-05-01 00:27:49 UTC (rev 5205)
@@ -1,17 +1,17 @@
 Source: webhelpers
-Section: web
+Section: python
 Priority: optional
 Maintainer: Oleksandr Moskalenko <malex at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5), python (>= 2.3.3), python-all-dev, python-support (>= 0.6.4), python-setuptools (>= 0.6b3-1), dpatch
-Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 5), python (>= 2.3.3), python-all-dev, python-support (>= 0.6.4), python-setuptools (>= 0.6b3), dpatch
+Standards-Version: 3.7.3
 XS-Python-Version: all
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/webhelpers/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/webhelpers/trunk/?op=log
 
 Package: python-webhelpers
 Architecture: all
-Depends: ${python:Depends}, python, python-routes ( >= 1.1), python-simplejson ( >= 1.4)
+Depends: ${python:Depends}, python, python-routes ( >= 1.1), python-simplejson ( >= 1.4), libjs-prototype
 XB-Python-Version: ${python:Versions}
 Enhances: python-webhelpers
 Description: Library of helper functions to make writing web application templates easier

Added: packages/webhelpers/trunk/debian/links
===================================================================
--- packages/webhelpers/trunk/debian/links	                        (rev 0)
+++ packages/webhelpers/trunk/debian/links	2008-05-01 00:27:49 UTC (rev 5205)
@@ -0,0 +1 @@
+usr/share/javascript/prototype/prototype.js usr/share/python-support/python-webhelpers/webhelpers/rails/javascripts/prototype.js

Modified: packages/webhelpers/trunk/debian/rules
===================================================================
--- packages/webhelpers/trunk/debian/rules	2008-04-30 22:24:11 UTC (rev 5204)
+++ packages/webhelpers/trunk/debian/rules	2008-05-01 00:27:49 UTC (rev 5205)
@@ -3,6 +3,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 package=python-webhelpers
+PYDEFAULT=$(shell pyversions -d)
 
 unpatch:
 	dpatch deapply-all
@@ -37,6 +38,7 @@
 		--no-compile \
 		--single-version-externally-managed \
 		--root $(CURDIR)/debian/$(package)
+	rm -f $(CURDIR)/debian/$(package)/usr/lib/$(PYDEFAULT)/site-packages/webhelpers/rails/javascripts/prototype.js
 
 binary-indep: build install
 	dh_testdir
@@ -44,10 +46,10 @@
 	dh_installchangelogs
 	dh_installdocs
 	dh_installexamples
-	dh_strip
 	dh_compress -X.py
+	dh_link
+	dh_pysupport
 	dh_fixperms
-	dh_pysupport
 	dh_installdeb
 	dh_shlibdeps
 	dh_gencontrol




More information about the Python-modules-commits mailing list