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

@@ -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))