forked from eli-schwartz/pkgbuilds
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgpkg: fanficfare-git 4.2.0.r0.g6d6f2737-1
Include the glue for fanficfare to run as a calibre plugin, now that: - calibre supports a system plugin directory - fanficfare plugin's import mechanism handles importing the fanficfare module from site-packages
- Loading branch information
1 parent
aa925e3
commit e08b856
Showing
3 changed files
with
62 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
fanficfare-git/0001-makeplugin-do-not-bundle-system-dependencies.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
From a483e39777470538e2e94cb5048b3dc370a35e83 Mon Sep 17 00:00:00 2001 | ||
From: Eli Schwartz <[email protected]> | ||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters