python-pynacl: new package

Signed-off-by: Mauro Condarelli <mc5686@mclink.it>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas:
 - remove python-six from the build dependencies, it is only a runtime
   dependency
 - add host-python-cffi in the build dependencies.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Mauro Condarelli 2016-02-06 23:59:51 +01:00 committed by Thomas Petazzoni
parent ddb8ff9d95
commit b3258b7535
4 changed files with 29 additions and 0 deletions

View File

@ -691,6 +691,7 @@ menu "External python modules"
source "package/python-pygame/Config.in"
source "package/python-pygments/Config.in"
source "package/python-pyinotify/Config.in"
source "package/python-pynacl/Config.in"
source "package/python-pyopenssl/Config.in"
source "package/python-pyparsing/Config.in"
source "package/python-pyparted/Config.in"

View File

@ -0,0 +1,9 @@
config BR2_PACKAGE_PYTHON_PYNACL
bool "python-pynacl"
select BR2_PACKAGE_LIBSODIUM
select BR2_PACKAGE_PYTHON_SIX # runtime
select BR2_PACKAGE_PYTHON_CFFI # runtime
help
Python binding to the Networking and Cryptography (NaCl) library.
https://pypi.python.org/pypi/PyNaCl

View File

@ -0,0 +1,3 @@
# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=12fd03d8ce64e0318cb1c69272f17704, sha256 locally computed.
md5 12fd03d8ce64e0318cb1c69272f17704 PyNaCl-1.0.1.tar.gz
sha256 d21d7a7358a85fb9b9ddadfbd1176c40fe199334fe2202881255e77f6d3773f4 PyNaCl-1.0.1.tar.gz

View File

@ -0,0 +1,16 @@
################################################################################
#
# python-pynacl
#
################################################################################
PYTHON_PYNACL_VERSION = 1.0.1
PYTHON_PYNACL_SOURCE = PyNaCl-$(PYTHON_PYNACL_VERSION).tar.gz
PYTHON_PYNACL_SITE = http://pypi.python.org/packages/source/P/PyNaCl
PYTHON_PYNACL_LICENSE = Apache-2.0
PYTHON_PYNACL_LICENSE_FILES = LICENSE
PYTHON_PYNACL_SETUP_TYPE = setuptools
PYTHON_PYNACL_DEPENDENCIES = libsodium host-python-cffi
PYTHON_PYNACL_ENV = SODIUM_INSTALL=system
$(eval $(python-package))