summarylogtreecommitdiffstats
path: root/0001-makeplugin-do-not-bundle-system-dependencies.patch
diff options
context:
space:
mode:
authorAntonio Rojas2022-04-01 19:15:52 +0200
committerAntonio Rojas2022-04-01 19:15:52 +0200
commit8d7fcc2bad5ced45a2ac4b0180e5b2c4cf997e94 (patch)
tree62f65a9e9bd6cbbb630f60fe27c513c366aa020c /0001-makeplugin-do-not-bundle-system-dependencies.patch
parent65db4d844dc27a0c135570b04e141ad4c094c712 (diff)
downloadaur-8d7fcc2bad5ced45a2ac4b0180e5b2c4cf997e94.tar.gz
import from community
Diffstat (limited to '0001-makeplugin-do-not-bundle-system-dependencies.patch')
-rw-r--r--0001-makeplugin-do-not-bundle-system-dependencies.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/0001-makeplugin-do-not-bundle-system-dependencies.patch b/0001-makeplugin-do-not-bundle-system-dependencies.patch
new file mode 100644
index 000000000000..af1ef325178d
--- /dev/null
+++ b/0001-makeplugin-do-not-bundle-system-dependencies.patch
@@ -0,0 +1,37 @@
+From a483e39777470538e2e94cb5048b3dc370a35e83 Mon Sep 17 00:00:00 2001
+From: Eli Schwartz <eschwartz@archlinux.org>
+Date: Sun, 18 Apr 2021 15:35:15 -0400
+Subject: [PATCH] makeplugin: do not bundle system dependencies
+
+---
+ makeplugin.py | 12 +-----------
+ 1 file changed, 1 insertion(+), 11 deletions(-)
+
+diff --git a/makeplugin.py b/makeplugin.py
+index 6ee101fb..e6f7c20c 100644
+--- a/makeplugin.py
++++ b/makeplugin.py
+@@ -34,19 +34,9 @@ if __name__=="__main__":
+ files,
+ exclude=exclude)
+
+- os.chdir('../included_dependencies')
+- files=['bs4','chardet','html2text','soupsieve','backports',
+- 'cloudscraper','requests','requests_toolbelt',
+- 'requests_file.py','urllib3','certifi','idna','brotlidecpy']
+- ## Kept only for v2.85.1 support now.
+- createZipFile("../"+filename,"a",
+- files,
+- exclude=exclude)
+-
+ os.chdir('..')
+ # 'a' for append
+ files=['fanficfare']
+ createZipFile(filename,"a",
+ files,
+- exclude=exclude)
+-
++ exclude=exclude + ['*.py'])
+--
+2.31.1
+