diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2019-05-29 23:08:19 +0800 |
|---|---|---|
| committer | Jeffery To <jeffery.to@gmail.com> | 2019-05-29 23:08:19 +0800 |
| commit | c94c98efcaa0d85aa74c3db1b8ef08978f84699d (patch) | |
| tree | 60ba123ff219bc95b2e8cb973c36b655d47b7726 /lang/python/python-cryptography | |
| parent | c83b8787a5f8137f520f9af62499782e2dbd333b (diff) | |
python-cffi,python-cryptography: Fix build depends
python-cryptography's build depends (host cffi, libffi) were transferred
to python-cffi at some point; this corrects the situation.
python-cryptography's host Python build depends is copied from its
setup.py[1].
[1]: https://github.com/pyca/cryptography/blob/2.6.1/setup.py#L47
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python-cryptography')
| -rw-r--r-- | lang/python/python-cryptography/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/python/python-cryptography/Makefile b/lang/python/python-cryptography/Makefile index 0fe610afe..0d21363d1 100644 --- a/lang/python/python-cryptography/Makefile +++ b/lang/python/python-cryptography/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-cryptography PKG_VERSION:=2.6.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=cryptography-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/c/cryptography @@ -20,6 +20,10 @@ PKG_LICENSE_FILES:=LICENSE.APACHE LICENSE.BSD PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>, Alexandru Ardelean <ardeleanalex@gmail.com> PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-cryptography-$(PKG_VERSION) +PKG_BUILD_DEPENDS:=libffi/host + +HOST_PYTHON_PACKAGE_BUILD_DEPENDS:="cffi>=1.8,!=1.11.3" +HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:="cffi>=1.8,!=1.11.3" include $(INCLUDE_DIR)/package.mk include ../python-package.mk |
