[Python-modules-commits] r14119 - in packages/py-postgresql/trunk/debian (control docs rules)

wgrz-guest at users.alioth.debian.org wgrz-guest at users.alioth.debian.org
Tue Aug 3 22:10:47 UTC 2010


    Date: Tuesday, August 3, 2010 @ 22:10:38
  Author: wgrz-guest
Revision: 14119

* Use of Vcs-{Svn,Browser}
* dh_installdocs for installing html documentation
* dh_compress do not compress .js files

Modified:
  packages/py-postgresql/trunk/debian/control
  packages/py-postgresql/trunk/debian/docs
  packages/py-postgresql/trunk/debian/rules

Modified: packages/py-postgresql/trunk/debian/control
===================================================================
--- packages/py-postgresql/trunk/debian/control	2010-08-03 20:48:48 UTC (rev 14118)
+++ packages/py-postgresql/trunk/debian/control	2010-08-03 22:10:38 UTC (rev 14119)
@@ -7,6 +7,8 @@
 Standards-Version: 3.9.1
 X-Python3-Version: >= 3.1
 Homepage: http://python.projects.postgresql.org/
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/py-postgresql/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/py-postgresql/trunk/
 
 Package: python3-postgresql
 Architecture: any

Modified: packages/py-postgresql/trunk/debian/docs
===================================================================
--- packages/py-postgresql/trunk/debian/docs	2010-08-03 20:48:48 UTC (rev 14118)
+++ packages/py-postgresql/trunk/debian/docs	2010-08-03 22:10:38 UTC (rev 14119)
@@ -1,2 +1,3 @@
 README
 AUTHORS
+html

Modified: packages/py-postgresql/trunk/debian/rules
===================================================================
--- packages/py-postgresql/trunk/debian/rules	2010-08-03 20:48:48 UTC (rev 14118)
+++ packages/py-postgresql/trunk/debian/rules	2010-08-03 22:10:38 UTC (rev 14119)
@@ -4,6 +4,7 @@
 build3vers := $(shell py3versions -rv)
 
 override_dh_auto_build:
+	set -e
 	for i in $(build3vers); do \
 		python$$i ./setup.py build;\
 	done
@@ -15,12 +16,13 @@
 
 override_dh_auto_install:
 	dh_install -ppython3-postgresql
+	set -e
 	for i in $(build3vers); do \
 		python$$i ./setup.py install --root $(CURDIR)/debian/python3-postgresql; \
 	done
 
-	mkdir -p $(CURDIR)/debian/python3-postgresql/usr/share/doc/python3-postgresql
-	cp -r html $(CURDIR)/debian/python3-postgresql/usr/share/doc/python3-postgresql
+override_dh_compress:
+	dh_compress -X.js
 
 override_dh_auto_clean:
 	dh_clean




More information about the Python-modules-commits mailing list