summaryrefslogtreecommitdiff
path: root/dev-python/endesive/files
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-16 10:59:35 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-16 10:59:35 -0500
commita46f0ec88e6c7ea84ed2f67a40bbf89ef44bc6af (patch)
tree98303deb2a205a7f39cffa3a960c1762559c7a7d /dev-python/endesive/files
parent8e65dc62f3f9f6b8f7b890fefedbf4ac05dfde0b (diff)
downloadbaldeagleos-repo-a46f0ec88e6c7ea84ed2f67a40bbf89ef44bc6af.tar.gz
baldeagleos-repo-a46f0ec88e6c7ea84ed2f67a40bbf89ef44bc6af.tar.xz
baldeagleos-repo-a46f0ec88e6c7ea84ed2f67a40bbf89ef44bc6af.zip
Adding metadata
Diffstat (limited to 'dev-python/endesive/files')
-rw-r--r--dev-python/endesive/files/endesive-2.16-fontdir.patch22
-rw-r--r--dev-python/endesive/files/endesive-2.16-test-import.patch51
2 files changed, 73 insertions, 0 deletions
diff --git a/dev-python/endesive/files/endesive-2.16-fontdir.patch b/dev-python/endesive/files/endesive-2.16-fontdir.patch
new file mode 100644
index 000000000000..9777cca6c54b
--- /dev/null
+++ b/dev-python/endesive/files/endesive-2.16-fontdir.patch
@@ -0,0 +1,22 @@
+--- a/examples/pdf-sign-cms-hsm-signature_manual.py
++++ b/examples/pdf-sign-cms-hsm-signature_manual.py
+@@ -100,7 +100,7 @@ def main():
+ 'DancingScript', 7, 25, 270, 50, 12, True, 'left', 'top', 1.2],
+ ],
+ "manual_fonts": {
+- 'DancingScript': '/usr/share/fonts/truetype/dejavu/DejaVuSansCondensed-Bold.ttf'
++ 'DancingScript': '/usr/share/fonts/dejavu/DejaVuSansCondensed-Bold.ttf'
+ },
+ "contact": user.email,
+ "location": "Szczecin",
+--- a/tests/test_pdf.py
++++ b/tests/test_pdf.py
+@@ -190,7 +190,7 @@ class PDFTests(unittest.TestCase):
+ 'DancingScript', 7, 25, 270, 50, 12, True, 'left', 'top', 1.2],
+ ],
+ "manual_fonts": {
+- 'DancingScript': '/usr/share/fonts/truetype/dejavu/DejaVuSansCondensed-Bold.ttf'
++ 'DancingScript': '/usr/share/fonts/dejavu/DejaVuSansCondensed-Bold.ttf'
+ },
+ "contact": user.email,
+ "location": "Szczecin",
diff --git a/dev-python/endesive/files/endesive-2.16-test-import.patch b/dev-python/endesive/files/endesive-2.16-test-import.patch
new file mode 100644
index 000000000000..bb5ab20cbeaa
--- /dev/null
+++ b/dev-python/endesive/files/endesive-2.16-test-import.patch
@@ -0,0 +1,51 @@
+commit 69fbd966a54a5199c96ccead9035e64b53f8db0e
+Author: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
+Date: Mon Oct 23 00:16:27 2023 +0200
+Upstream: https://github.com/m32/endesive/pull/153
+
+ use relative imports for tests
+
+--- a/tests/test_email.py
++++ b/tests/test_email.py
+@@ -15,7 +15,7 @@ from endesive import email
+ import hashlib
+ from asn1crypto import cms, algos, core, pem
+
+-import test_cert
++from . import test_cert
+
+ tests_root = os.path.dirname(__file__)
+ fixtures_dir = os.path.join(tests_root, 'fixtures')
+--- a/tests/test_hsm.py
++++ b/tests/test_hsm.py
+@@ -20,7 +20,7 @@ from cryptography.hazmat.primitives.serialization import pkcs12
+ from endesive import hsm, signer, verifier
+ import PyKCS11 as PK11
+
+-import test_cert
++from . import test_cert
+
+ tests_root = os.path.dirname(__file__)
+ fixtures_dir = os.path.join(tests_root, 'fixtures')
+--- a/tests/test_pdf.py
++++ b/tests/test_pdf.py
+@@ -12,7 +12,7 @@ tests_root = os.path.dirname(__file__)
+ fixtures_dir = os.path.join(tests_root, 'fixtures')
+
+
+-import test_cert
++from . import test_cert
+
+ def fixture(fname):
+ return os.path.join(fixtures_dir, fname)
+--- a/tests/test_plain.py
++++ b/tests/test_plain.py
+@@ -10,7 +10,7 @@ from cryptography.hazmat import backends
+ from cryptography.hazmat.primitives.serialization import pkcs12
+ from endesive import plain
+
+-import test_cert
++from . import test_cert
+
+ tests_root = os.path.dirname(__file__)
+ fixtures_dir = os.path.join(tests_root, 'fixtures')