Files
haikuports/dev-python/nose/patches/debian/no-google-analytics.diff
OscarL 988d5a67e6 nose: clean up, support Python 3.10. (#8825)
Due to changes in setuptools, we need to run 2to3 ourselves.
While we're at it, lets apply relevant patches from Debian.

https://salsa.debian.org/python-team/packages/nose/
2023-06-09 08:57:39 +02:00

32 lines
816 B
Diff

From: Stefano Rivera <stefanor@debian.org>
Date: Thu, 8 Oct 2015 10:01:58 -0700
Subject: Remove Google Analytics tracking JS
Forwarded: not-needed
Last-Update: 2013-03-04
---
doc/.templates/layout.html | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/doc/.templates/layout.html b/doc/.templates/layout.html
index 2d961b0..4237ef7 100644
--- a/doc/.templates/layout.html
+++ b/doc/.templates/layout.html
@@ -3,16 +3,3 @@
{%- block relbar1 %}
{% if pagename != 'index' %}{{ super() }}{% endif %}
{% endblock %}
-
-{%- block footer %}
-{{ super() }}
-{% if not embedded %}
-<script src="http://www.google-analytics.com/urchin.js"
- type="text/javascript">
-</script>
-<script type="text/javascript">
- _uacct = "UA-2236166-1";
- urchinTracker();
-</script>
-{% endif %}
-{%- endblock %}