[Python-modules-commits] r14120 - in packages/py-postgresql/trunk/debian (3 files)

wgrz-guest at users.alioth.debian.org wgrz-guest at users.alioth.debian.org
Wed Aug 4 02:05:34 UTC 2010


    Date: Wednesday, August 4, 2010 @ 02:04:39
  Author: wgrz-guest
Revision: 14120

* Use of libjs-query instead of bundled jquery.js
* New description
* Doc-base entry

Added:
  packages/py-postgresql/trunk/debian/python3-postgresql.doc-base
Modified:
  packages/py-postgresql/trunk/debian/control
  packages/py-postgresql/trunk/debian/rules

Modified: packages/py-postgresql/trunk/debian/control
===================================================================
--- packages/py-postgresql/trunk/debian/control	2010-08-03 22:10:38 UTC (rev 14119)
+++ packages/py-postgresql/trunk/debian/control	2010-08-04 02:04:39 UTC (rev 14120)
@@ -12,12 +12,13 @@
 
 Package: python3-postgresql
 Architecture: any
-Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends}
+Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends},
+ libjs-jquery
 Description: pgsql driver, cluster management tools, and client tools
  py-postgresql is a python3 driver, cluster management tools and client
  development tools written in pure Python 3 with optional optimizations
- made in C.
+ written in C.
  .
- Has support for protocol-level prepared statements, COPY interface,
- arrays and composite types and a Python console with connection to
- PostgreSQL for quick tests and simple scripts called pg_python.
+ Provides support for protocol-level prepared statements, COPY interface,
+ arrays and composite types, and a console to run quick tests and simple 
+ scripts in PostgreSQL called pg_python.

Added: packages/py-postgresql/trunk/debian/python3-postgresql.doc-base
===================================================================
--- packages/py-postgresql/trunk/debian/python3-postgresql.doc-base	                        (rev 0)
+++ packages/py-postgresql/trunk/debian/python3-postgresql.doc-base	2010-08-04 02:04:39 UTC (rev 14120)
@@ -0,0 +1,10 @@
+Document: python3-postgresql
+Title: Python3-postgresql Manual
+Author: James Willian Pye
+Abstract: This manual describes how to use
+ py-postgresql and its API.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python3-postgresql/html/index.html
+Files: /usr/share/doc/python3-postgresql/html/*.html

Modified: packages/py-postgresql/trunk/debian/rules
===================================================================
--- packages/py-postgresql/trunk/debian/rules	2010-08-03 22:10:38 UTC (rev 14119)
+++ packages/py-postgresql/trunk/debian/rules	2010-08-04 02:04:39 UTC (rev 14120)
@@ -4,7 +4,7 @@
 build3vers := $(shell py3versions -rv)
 
 override_dh_auto_build:
-	set -e
+	set -e ; \
 	for i in $(build3vers); do \
 		python$$i ./setup.py build;\
 	done
@@ -13,13 +13,16 @@
 	cp postgresql/documentation/*.txt postgresql/documentation/sphinx/
 	cp postgresql/documentation/sphinx/index.rst postgresql/documentation/sphinx/index.txt
 	sphinx-build -E -b html -d html/doctrees  postgresql/documentation/sphinx/ html
+	rm -rf html/_static/jquery.js
 
 override_dh_auto_install:
 	dh_install -ppython3-postgresql
-	set -e
+	set -e ; \
 	for i in $(build3vers); do \
 		python$$i ./setup.py install --root $(CURDIR)/debian/python3-postgresql; \
+		rm -rf $(CURDIR)/debian/python3-postgresql/usr/lib/python$$i/dist-packages/documentation; \
 	done
+	dh_link usr/share/javascript/jquery/jquery.js usr/share/doc/python3-postgresql/html/_static/jquery.js
 
 override_dh_compress:
 	dh_compress -X.js




More information about the Python-modules-commits mailing list