diff options
Diffstat (limited to 'security/py-ed25519ll/files')
-rw-r--r-- | security/py-ed25519ll/files/patch-ed25519ll__ed25519ct.py | 13 | ||||
-rw-r--r-- | security/py-ed25519ll/files/patch-setup.py | 20 |
2 files changed, 33 insertions, 0 deletions
diff --git a/security/py-ed25519ll/files/patch-ed25519ll__ed25519ct.py b/security/py-ed25519ll/files/patch-ed25519ll__ed25519ct.py new file mode 100644 index 000000000000..1cb59515b2e0 --- /dev/null +++ b/security/py-ed25519ll/files/patch-ed25519ll__ed25519ct.py @@ -0,0 +1,13 @@ +--- ./ed25519ll/ed25519ct.py.orig 2013-07-26 11:26:29.000000000 +0200 ++++ ./ed25519ll/ed25519ct.py 2013-07-26 11:26:43.000000000 +0200 +@@ -15,9 +15,8 @@ + __all__ = ['crypto_sign', 'crypto_sign_open', 'crypto_sign_keypair', 'Keypair', + 'PUBLICKEYBYTES', 'SECRETKEYBYTES', 'SIGNATUREBYTES'] + +-plat_name = get_platform().replace('-', '_') + so_suffix = sysconfig.get_config_var('SO') +-lib_filename = '_ed25519_%s%s' % (plat_name, so_suffix) ++lib_filename = '_ed25519%s' % (so_suffix) + + try: + _ed25519 = ctypes.cdll.LoadLibrary( diff --git a/security/py-ed25519ll/files/patch-setup.py b/security/py-ed25519ll/files/patch-setup.py new file mode 100644 index 000000000000..617640bac1f4 --- /dev/null +++ b/security/py-ed25519ll/files/patch-setup.py @@ -0,0 +1,20 @@ +--- ./setup.py.orig 2013-07-26 11:26:23.000000000 +0200 ++++ ./setup.py 2013-07-26 11:27:07.000000000 +0200 +@@ -10,8 +10,6 @@ + README = open(os.path.join(here, 'README.txt')).read() + CHANGES = open(os.path.join(here, 'CHANGES.txt')).read() + +-plat_name = get_platform().replace('-', '_') +- + setup(name='ed25519ll', + version='0.6', + description='A low-level ctypes wrapper for Ed25519 digital signatures.', +@@ -33,7 +31,7 @@ + tests_require=['nose'], + test_suite='nose.collector', + ext_modules=[ +- Extension('ed25519ll._ed25519_%s' % plat_name, ++ Extension('ed25519ll._ed25519', + sources=[ + 'ed25519-supercop-ref10/ge_frombytes.c', + 'ed25519-supercop-ref10/fe_frombytes.c', |