[Python-modules-commits] r33361 - in packages/circuits/trunk/debian (3 files)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Sun Jul 12 21:26:42 UTC 2015


    Date: Sunday, July 12, 2015 @ 21:26:41
  Author: eriol-guest
Revision: 33361

Remove Google AdSense tracking code

Added:
  packages/circuits/trunk/debian/patches/04_remove-google-adsense.patch
Modified:
  packages/circuits/trunk/debian/changelog
  packages/circuits/trunk/debian/patches/series

Modified: packages/circuits/trunk/debian/changelog
===================================================================
--- packages/circuits/trunk/debian/changelog	2015-07-12 21:16:46 UTC (rev 33360)
+++ packages/circuits/trunk/debian/changelog	2015-07-12 21:26:41 UTC (rev 33361)
@@ -16,11 +16,13 @@
     - Remove since it is not needed anymore.
   * debian/patches/05_fix-pil-import.patch
     - Remove since it is not needed anymore.
+  * debian/patches/04_remove-google-adsense.patch
+    - Remove Google AdSense tracking code.
   * debian/rules
     - Remove fabric scripts to not pollute namespace.
     - Remove Python implementation of htpasswd.
 
- -- Daniele Tricoli <eriol at mornie.org>  Sun, 12 Jul 2015 23:15:49 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Sun, 12 Jul 2015 23:25:04 +0200
 
 circuits (2.1.0-2) unstable; urgency=low
 

Added: packages/circuits/trunk/debian/patches/04_remove-google-adsense.patch
===================================================================
--- packages/circuits/trunk/debian/patches/04_remove-google-adsense.patch	                        (rev 0)
+++ packages/circuits/trunk/debian/patches/04_remove-google-adsense.patch	2015-07-12 21:26:41 UTC (rev 33361)
@@ -0,0 +1,27 @@
+Description: Remove Google AdSense tracking code.
+Author: Daniele Tricoli <eriol at mornie.org>
+Last-Update: 2015-07-12
+Forwarded: not-needed
+
+--- a/docs/source/_templates/layout.html
++++ b/docs/source/_templates/layout.html
+@@ -2,19 +2,6 @@
+ 
+ {%- block extrahead %}
+ {{ super() }}
+-<script type="text/javascript">
+-  var _gaq = _gaq || [];
+-  _gaq.push(['_setAccount', 'UA-18486793-1']);
+-  _gaq.push(['_setDomainName', '.fabfile.org']);
+-  _gaq.push(['_trackPageview']);
+-
+-  (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';
+-    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+-  })();
+-</script>
+-
+ {% endblock %}
+ 
+ 

Modified: packages/circuits/trunk/debian/patches/series
===================================================================
--- packages/circuits/trunk/debian/patches/series	2015-07-12 21:16:46 UTC (rev 33360)
+++ packages/circuits/trunk/debian/patches/series	2015-07-12 21:26:41 UTC (rev 33361)
@@ -1,3 +1,4 @@
 01_disable_sphinxcontrib_extensions.patch
 02_remove_templatebuiltins_js.patch
 03_disable-address-check.patch
+04_remove-google-adsense.patch




More information about the Python-modules-commits mailing list