mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
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/
This commit is contained in:
31
dev-python/nose/patches/debian/no-google-analytics.diff
Normal file
31
dev-python/nose/patches/debian/no-google-analytics.diff
Normal file
@@ -0,0 +1,31 @@
|
||||
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 %}
|
||||
Reference in New Issue
Block a user