diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-12 00:33:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-12 00:33:29 +0100 |
commit | 3a6d209caa07e3be8e8423251b70c8bbeeedb17f (patch) | |
tree | aa94c255fa1bd982214ca518fb93d674cc253101 /dev-tex/rubber/files/rubber-1.6.4-pythontex.patch | |
parent | 1f43daba2fbe6f53e67c63944941dc645657c5b3 (diff) |
gentoo auto-resync : 12:04:2024 - 00:33:28
Diffstat (limited to 'dev-tex/rubber/files/rubber-1.6.4-pythontex.patch')
-rw-r--r-- | dev-tex/rubber/files/rubber-1.6.4-pythontex.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-tex/rubber/files/rubber-1.6.4-pythontex.patch b/dev-tex/rubber/files/rubber-1.6.4-pythontex.patch new file mode 100644 index 000000000000..2befc0e54ea5 --- /dev/null +++ b/dev-tex/rubber/files/rubber-1.6.4-pythontex.patch @@ -0,0 +1,30 @@ +From 9915f94d320662a719802e32763a7f4e2e4045c7 Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping <sebastian@pipping.org> +Date: Thu, 11 Apr 2024 20:25:55 +0200 +Subject: [PATCH] Invoke PythonTeX as "pythontex.py" in Gentoo + +In Gentoo: +> /usr/bin/pythontex.py + +In Debian: +> /usr/bin/pythontex +--- + rubber/latex_modules/pythontex.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/rubber/latex_modules/pythontex.py b/rubber/latex_modules/pythontex.py +index 3c5675b..b0bb535 100644 +--- a/rubber/latex_modules/pythontex.py ++++ b/rubber/latex_modules/pythontex.py +@@ -20,7 +20,7 @@ class PythonTeXDep(rubber.depend.Shell): + def __init__(self, document): + self.doc = document + basename = self.doc.basename() +- super().__init__(('pythontex', basename)) ++ super().__init__(('pythontex.py', basename)) + self.pythontex_files = 'pythontex-files-' + basename + + pytxcode = basename + '.pytxcode' +-- +2.44.0 + |