[Python-modules-commits] r28742 - in packages/python-psutil/trunk/debian (4 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Fri May 2 19:30:18 UTC 2014


    Date: Friday, May 2, 2014 @ 19:30:17
  Author: morph
Revision: 28742

* debian/patches/remove-google-analytics.patch
  - remove Google Analytics tracking from documentation

Added:
  packages/python-psutil/trunk/debian/patches/
  packages/python-psutil/trunk/debian/patches/remove-google-analytics.patch
  packages/python-psutil/trunk/debian/patches/series
Modified:
  packages/python-psutil/trunk/debian/changelog

Modified: packages/python-psutil/trunk/debian/changelog
===================================================================
--- packages/python-psutil/trunk/debian/changelog	2014-05-02 19:08:07 UTC (rev 28741)
+++ packages/python-psutil/trunk/debian/changelog	2014-05-02 19:30:17 UTC (rev 28742)
@@ -13,8 +13,10 @@
     - build and install documentation
   * debian/python-psutil.doc-base
     - added Doc base registration
+  * debian/patches/remove-google-analytics.patch
+    - remove Google Analytics tracking from documentation
 
- -- Sandro Tosi <morph at debian.org>  Fri, 02 May 2014 21:07:50 +0200
+ -- Sandro Tosi <morph at debian.org>  Fri, 02 May 2014 21:16:57 +0200
 
 python-psutil (1.2.1-1) unstable; urgency=low
 

Added: packages/python-psutil/trunk/debian/patches/remove-google-analytics.patch
===================================================================
--- packages/python-psutil/trunk/debian/patches/remove-google-analytics.patch	                        (rev 0)
+++ packages/python-psutil/trunk/debian/patches/remove-google-analytics.patch	2014-05-02 19:30:17 UTC (rev 28742)
@@ -0,0 +1,18 @@
+Description: remove Google Analytics tracking from documentation
+Author: Sandro Tosi <morph at debian.org>
+Origin: vendor
+Forwarded: not-needed
+Last-Update: 2014-05-02
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/docs/_template/page.html
++++ b/docs/_template/page.html
+@@ -42,7 +42,7 @@
+ 
+   (function() {
+     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
++    ga.src = '';
+     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+   })();
+ 

Added: packages/python-psutil/trunk/debian/patches/series
===================================================================
--- packages/python-psutil/trunk/debian/patches/series	                        (rev 0)
+++ packages/python-psutil/trunk/debian/patches/series	2014-05-02 19:30:17 UTC (rev 28742)
@@ -0,0 +1 @@
+remove-google-analytics.patch




More information about the Python-modules-commits mailing list