[pycsw] 06/06: Use debian versions of jquery and underscore js
Johan Van de Wauw
johanvdw-guest at moszumanska.debian.org
Tue Oct 7 07:16:58 UTC 2014
This is an automated email from the git hooks/post-receive script.
johanvdw-guest pushed a commit to branch master
in repository pycsw.
commit 7e99ed4abb7954b6eaa0c248f53b74502606ba3c
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date: Tue Oct 7 08:53:59 2014 +0200
Use debian versions of jquery and underscore js
---
debian/control | 6 ++++--
debian/rules | 5 +++++
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index eee049c..67dadb2 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,9 @@ Build-Depends: debhelper (>= 9),
python-all,
python-sphinx,
dh-apache2,
- apache2-dev
+ apache2-dev,
+ libjs-jquery,
+ libjs-underscore
Standards-Version: 3.9.6
Homepage: http://pycsw.org
X-Python-Version: >= 2.5
@@ -57,7 +59,7 @@ Description: CGI apache CSW service based on python-pycsw.
Package: python-pycsw-doc
Architecture: all
Section: doc
-Depends: ${sphinxdoc:Depends}, ${misc:Depends}
+Depends: ${sphinxdoc:Depends}, ${misc:Depends}, libjs-jquery, libjs-underscore
Description: OGC compliant metadata (catalog service for web) server
pycsw is an OGC CSW server implementation written in Python. Started in 2010
(more formally announced in 2011), pycsw allows for the publishing and
diff --git a/debian/rules b/debian/rules
index aeaf9c0..c3f4526 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,3 +7,8 @@
override_dh_auto_build:
dh_auto_build
PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html # HTML generator
+ #replace javascript with debian version
+ rm -rf build/html/_static/underscore.js
+ ln -s /usr/share/javasript/underscore/underscore.min.js build/html/_static/underscore.js
+ rm -rf build/html/_static/jquery.js
+ ln -s /usr/share/javasript/jquery/jquery-min.js build/html/_static/jquery.js
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pycsw.git
More information about the Pkg-grass-devel
mailing list