Commit Graph

4 Commits

Author SHA1 Message Date
Tim Orling
62a5f30896 python3-twofish: patch to use setuptools
setup.py bdist_wheel does not work with distutils (which is deprecated
anyway). Add a patch to switch to setuptools to allow wheel to be built.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-01 09:06:56 -08:00
Khem Raj
df5cf7197b Revert "python3-twofish: drop recipe"
This reverts commit 4ee3cc1ac5.
2022-02-28 08:38:31 -08:00
Tim Orling
4ee3cc1ac5 python3-twofish: drop recipe
The code has not been touched since 2013 and does not build with
bdist_wheel. If you depend upon this recipe, please work with upstream
to update the package to PEP-517 packaging.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-02-28 08:32:19 -08:00
Martin Jansa
8b4b7567a6 python3-twofish: Fix missing return statements in module stubs
* fixes build with -Werror=return-type
  twofish.c: In function 'init_twofish':
  twofish.c:45:1: error: control reaches end of non-void function [-Werror=return-type]
     45 | PyMODINIT_FUNC init_twofish(void) { }
        | ^~~~~~~~~~~~~~
  twofish.c: In function 'PyInit__twofish':
  twofish.c:46:1: error: control reaches end of non-void function [-Werror=return-type]
     46 | PyMODINIT_FUNC PyInit__twofish(void) { }
        | ^~~~~~~~~~~~~~
  cc1: some warnings being treated as errors

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-12 09:11:01 -07:00