[pandas] 05/06: Complete Google Analytics patch

Andreas Tille tille at debian.org
Mon Oct 23 08:52:47 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch debian
in repository pandas.

commit e8b697b4c6c83f24421f8098b001027fe4421f9a
Author: Andreas Tille <tille at debian.org>
Date:   Mon Oct 23 08:56:54 2017 +0200

    Complete Google Analytics patch
---
 debian/changelog                           |  1 +
 debian/patches/deb_disable_googleanalytics | 25 +++++++++++++++++++++++--
 2 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4c61961..1bf8c5d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ pandas (0.20.3-6) UNRELEASED; urgency=medium
   * Remove __pycache__ remainings from testing
   * Standards-Version: 4.1.1
   * DEP3 for Google Analytics patch
+  * Complete Google Analytics patch
 
  -- Andreas Tille <tille at debian.org>  Mon, 23 Oct 2017 08:40:23 +0200
 
diff --git a/debian/patches/deb_disable_googleanalytics b/debian/patches/deb_disable_googleanalytics
index 76d9884..0e68af0 100644
--- a/debian/patches/deb_disable_googleanalytics
+++ b/debian/patches/deb_disable_googleanalytics
@@ -1,5 +1,6 @@
-Author: Yaroslav Halchenko
-Last-Update: 2014-05-27 10:24:57
+Author: Yaroslav Halchenko <debian at onerussian.com>
+        Andreas Tille <tille at debian.org>
+Last-Update: Mon, 23 Oct 2017 08:55:28 +0200
 Description: Avoid privacy breach by Google Analytics
 
 --- a/pandas/tests/io/data/macau.html
@@ -94,3 +95,23 @@ Description: Avoid privacy breach by Google Analytics
 -</html>
 \ No newline at end of file
 +</html>
+--- a/doc/source/themes/nature_with_gtoc/layout.html
++++ b/doc/source/themes/nature_with_gtoc/layout.html
+@@ -94,15 +94,4 @@ $(document).ready(function() {
+     });
+ });
+ </script>
+-<script type="text/javascript">
+-  var _gaq = _gaq || [];
+-  _gaq.push(['_setAccount', 'UA-27880019-2']);
+-  _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 %}
+\ No newline at end of file
++{% endblock %}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pandas.git



More information about the debian-science-commits mailing list