python-pynacl: fix build with new libsodium patch
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Wed, 5 Aug 2020 05:39:50 +0000 (08:39 +0300)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Wed, 5 Aug 2020 05:39:51 +0000 (08:39 +0300)
commit79dfbd80168108750697e79b3470f916f85a8f01
tree6f9f21088c9aa547a12ef9e647118a1f998dbed0
parent7f620401afb185abac26e5e186150f5b53ea6ed0
python-pynacl: fix build with new libsodium patch

Fixes https://github.com/openwrt/packages/issues/13016
Patch [1] broke compilation for python-pynacl.

The fix is to patch PyNaCl to consider that
PYNACL_HAS_CRYPTO_SCALARMULT_ED25519 is always available.

[1] https://github.com/openwrt/packages/commit/3ef28a4ab0cb60877c4ec68f5ba8c276021a1ab6

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lang/python/python-pynacl/Makefile
lang/python/python-pynacl/patches/001-always-compile-scalar-mult-ed25519.patch [new file with mode: 0644]