You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.0 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=python-pynacl
  3. PKG_VERSION:=1.4.0
  4. PKG_RELEASE:=5
  5. PYPI_NAME:=PyNaCl
  6. PKG_HASH:=54e9a2c849c742006516ad56a88f5c74bf2ce92c9f67435187c3c5953b346505
  7. PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
  8. PKG_LICENSE:=Apache-2.0
  9. PKG_LICENSE_FILES:=LICENSE
  10. PKG_BUILD_DEPENDS:=libffi/host
  11. HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=cffi # cffi>=1.4.1
  12. PYTHON3_PKG_SETUP_VARS:= SODIUM_INSTALL=system
  13. include ../pypi.mk
  14. include $(INCLUDE_DIR)/package.mk
  15. include ../python3-package.mk
  16. define Package/python3-pynacl
  17. CATEGORY:=Languages
  18. SECTION:=lang
  19. SUBMENU:=Python
  20. TITLE:=Python binding to the libsodium library
  21. URL:=https://github.com/pyca/pynacl/
  22. DEPENDS:=+libsodium +python3-light +python3-cffi +python3-six
  23. endef
  24. define Package/python3-pynacl/description
  25. PyNaCl is a Python binding to libsodium, which is a fork of the Networking and Cryptography library.
  26. endef
  27. $(eval $(call Py3Package,python3-pynacl))
  28. $(eval $(call BuildPackage,python3-pynacl))
  29. $(eval $(call BuildPackage,python3-pynacl-src))