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