File: 003-fix-privacy-breach-generic.patch

package info (click to toggle)
scikit-optimize 0.10.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,672 kB
  • sloc: python: 10,659; javascript: 438; makefile: 136; sh: 6
file content (75 lines) | stat: -rw-r--r-- 4,667 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
Description: Fix privacy-breach-generic
 Replace css and js external URLs with local file URLs
 to avoid any privacy breach.
Forwarded: not-needed
Author: Yogeswaran Umasankar <yogu@debian.org>
Last-Update: 2024-07-28

--- a/doc/sg_execution_times.rst
+++ b/doc/sg_execution_times.rst
@@ -14,11 +14,11 @@ Computation times
 
     <style scoped>
     <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet" />
-    <link href="https://cdn.datatables.net/1.13.6/css/dataTables.bootstrap5.min.css" rel="stylesheet" />
+    <link href="/usr/share/javascript/jquery-datatables/css/dataTables.bootstrap5.min.css" rel="stylesheet" />
     </style>
     <script src="https://code.jquery.com/jquery-3.7.0.js"></script>
-    <script src="https://cdn.datatables.net/1.13.6/js/jquery.dataTables.min.js"></script>
-    <script src="https://cdn.datatables.net/1.13.6/js/dataTables.bootstrap5.min.js"></script>
+    <script src="/usr/share/javascript/jquery-datatables/jquery.dataTables.min.js"></script>
+    <script src="/usr/share/javascript/jquery-datatables/dataTables.bootstrap5.min.js"></script>
     <script type="text/javascript" class="init">
     $(document).ready( function () {
         $('table.sg-datatable').DataTable({order: [[1, 'desc']]});
--- a/doc/auto_examples/sg_execution_times.rst
+++ b/doc/auto_examples/sg_execution_times.rst
@@ -14,11 +14,11 @@ Computation times
 
     <style scoped>
     <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet" />
-    <link href="https://cdn.datatables.net/1.13.6/css/dataTables.bootstrap5.min.css" rel="stylesheet" />
+    <link href="/usr/share/javascript/jquery-datatables/css/dataTables.bootstrap5.min.css" rel="stylesheet" />
     </style>
     <script src="https://code.jquery.com/jquery-3.7.0.js"></script>
-    <script src="https://cdn.datatables.net/1.13.6/js/jquery.dataTables.min.js"></script>
-    <script src="https://cdn.datatables.net/1.13.6/js/dataTables.bootstrap5.min.js"></script>
+    <script src="/usr/share/javascript/jquery-datatables/jquery.dataTables.min.js"></script>
+    <script src="/usr/share/javascript/jquery-datatables/dataTables.bootstrap5.min.js"></script>
     <script type="text/javascript" class="init">
     $(document).ready( function () {
         $('table.sg-datatable').DataTable({order: [[1, 'desc']]});
--- a/doc/auto_examples/sampler/sg_execution_times.rst
+++ b/doc/auto_examples/sampler/sg_execution_times.rst
@@ -14,11 +14,11 @@ Computation times
 
     <style scoped>
     <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet" />
-    <link href="https://cdn.datatables.net/1.13.6/css/dataTables.bootstrap5.min.css" rel="stylesheet" />
+    <link href="/usr/share/javascript/jquery-datatables/css/dataTables.bootstrap5.min.css" rel="stylesheet" />
     </style>
     <script src="https://code.jquery.com/jquery-3.7.0.js"></script>
-    <script src="https://cdn.datatables.net/1.13.6/js/jquery.dataTables.min.js"></script>
-    <script src="https://cdn.datatables.net/1.13.6/js/dataTables.bootstrap5.min.js"></script>
+    <script src="/usr/share/javascript/jquery-datatables/jquery.dataTables.min.js"></script>
+    <script src="/usr/share/javascript/jquery-datatables/dataTables.bootstrap5.min.js"></script>
     <script type="text/javascript" class="init">
     $(document).ready( function () {
         $('table.sg-datatable').DataTable({order: [[1, 'desc']]});
--- a/doc/auto_examples/plots/sg_execution_times.rst
+++ b/doc/auto_examples/plots/sg_execution_times.rst
@@ -14,11 +14,11 @@ Computation times
 
     <style scoped>
     <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet" />
-    <link href="https://cdn.datatables.net/1.13.6/css/dataTables.bootstrap5.min.css" rel="stylesheet" />
+    <link href="/usr/share/javascript/jquery-datatables/css/dataTables.bootstrap5.min.css" rel="stylesheet" />
     </style>
     <script src="https://code.jquery.com/jquery-3.7.0.js"></script>
-    <script src="https://cdn.datatables.net/1.13.6/js/jquery.dataTables.min.js"></script>
-    <script src="https://cdn.datatables.net/1.13.6/js/dataTables.bootstrap5.min.js"></script>
+    <script src="/usr/share/javascript/jquery-datatables/jquery.dataTables.min.js"></script>
+    <script src="/usr/share/javascript/jquery-datatables/dataTables.bootstrap5.min.js"></script>
     <script type="text/javascript" class="init">
     $(document).ready( function () {
         $('table.sg-datatable').DataTable({order: [[1, 'desc']]});