blob: 72d8debcb5c02fca320f0dac2b9ff24870d82977 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001include $(TOPDIR)/rules.mk
2
3PKG_NAME:=python-pynacl
4PKG_VERSION:=1.5.0
5PKG_RELEASE:=3
6
7PYPI_NAME:=PyNaCl
8PKG_HASH:=8ac7448f09ab85811607bdd21ec2464495ac8b7c66d146bf545b0f08fb9220ba
9
10PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
11PKG_LICENSE:=Apache-2.0
12PKG_LICENSE_FILES:=LICENSE
13
14PKG_BUILD_DEPENDS:=libffi/host python-cffi/host # cffi>=1.4.1
15
16PYTHON3_PKG_BUILD_VARS:=SODIUM_INSTALL=system
17
18include ../pypi.mk
19include $(INCLUDE_DIR)/package.mk
20include ../python3-package.mk
21
22define Package/python3-pynacl
23 CATEGORY:=Languages
24 SECTION:=lang
25 SUBMENU:=Python
26 TITLE:=Python binding to the libsodium library
27 URL:=https://github.com/pyca/pynacl/
28 DEPENDS:=+libsodium +python3-light +python3-cffi +python3-six
29endef
30
31define Package/python3-pynacl/description
32 PyNaCl is a Python binding to libsodium, which is a fork of the Networking and Cryptography library.
33endef
34
35$(eval $(call Py3Package,python3-pynacl))
36$(eval $(call BuildPackage,python3-pynacl))
37$(eval $(call BuildPackage,python3-pynacl-src))