strip the shortbread javascript component from the source tarball
shortbreadv1.js is distributed as minimized javascript with no copyright or license information and no links to the original source. So we remove it from the orig tarball and remove references
This commit is contained in:
parent
cb361a3ba1
commit
6f03c00d6f
2
debian/copyright
vendored
2
debian/copyright
vendored
|
@ -1,6 +1,8 @@
|
||||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
Upstream-Name: python-boto3
|
Upstream-Name: python-boto3
|
||||||
Source: https://github.com/boto/boto3
|
Source: https://github.com/boto/boto3
|
||||||
|
Files-Excluded:
|
||||||
|
docs/source/_static/shortbreadv1.js
|
||||||
|
|
||||||
Files: *
|
Files: *
|
||||||
Copyright: 2013-2015 Amazon.com, Inc.
|
Copyright: 2013-2015 Amazon.com, Inc.
|
||||||
|
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
|
@ -1 +1,2 @@
|
||||||
do-not-use-vendored-code.patch
|
do-not-use-vendored-code.patch
|
||||||
|
strip-shortbread-js
|
||||||
|
|
33
debian/patches/strip-shortbread-js
vendored
Normal file
33
debian/patches/strip-shortbread-js
vendored
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
Description: strip shortbreadv1.js from source tarball
|
||||||
|
shortbreadv1.js is distributed as minimized javascript with no
|
||||||
|
copyright or license information and no links to the original
|
||||||
|
source. So we remove it from the orig tarball and remove references
|
||||||
|
to it from the rest of the package contents.
|
||||||
|
.
|
||||||
|
The javascript in quesetion is related to interactive questions about
|
||||||
|
affermative cookie consent as required by GDPR and other
|
||||||
|
regulations. Since we are not building HTML docs at all as part of
|
||||||
|
this package, removing this file has no material impact on the
|
||||||
|
packages we build.
|
||||||
|
Author: Noah Meyerhans <noahm@debian.org>
|
||||||
|
Forwarded: not-needed
|
||||||
|
---
|
||||||
|
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
||||||
|
Index: python-boto3/docs/source/_templates/layout.html
|
||||||
|
===================================================================
|
||||||
|
--- python-boto3.orig/docs/source/_templates/layout.html
|
||||||
|
+++ python-boto3/docs/source/_templates/layout.html
|
||||||
|
@@ -7,13 +7,6 @@
|
||||||
|
|
||||||
|
{%- block footer %}
|
||||||
|
<div class="footer">
|
||||||
|
- <script type="text/javascript" src="{{ pathto('_static/shortbreadv1.js',1 ) }}"></script>
|
||||||
|
- <script type="text/javascript">
|
||||||
|
- const shortbread = AWSCShortbread({
|
||||||
|
- domain: ".amazonaws.com",
|
||||||
|
-});
|
||||||
|
- shortbread.checkForCookieConsent();
|
||||||
|
- </script>
|
||||||
|
<a href="http://aws.amazon.com/privacy">Privacy</a> | <a href="http://aws.amazon.com/terms">Site Terms</a> | <a
|
||||||
|
href="#" onclick="shortbread.customizeCookies();">Cookie preferences</a> |
|
||||||
|
© Copyright {{ copyright }}. Created using <a href="https://www.sphinx-doc.org/">Sphinx</a>.
|
1
debian/watch
vendored
1
debian/watch
vendored
|
@ -1,2 +1,3 @@
|
||||||
version=3
|
version=3
|
||||||
|
opts="repacksuffix=+dfsg,dversionmangle=s/\+dfsg//g,repack" \
|
||||||
https://github.com/boto/boto3/tags .*/(\d[\d\.]*)\.tar\.gz
|
https://github.com/boto/boto3/tags .*/(\d[\d\.]*)\.tar\.gz
|
||||||
|
|
Loading…
Reference in a new issue