Browse Source

Merge pull request #9102 from jefferyto/python-cffi-cryptography-build-depends

python-cffi,python-cryptography: Fix build depends
lilik-openwrt-22.03
Hannu Nyman 6 years ago
committed by GitHub
parent
commit
9d65877b5c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 6 deletions
  1. +0
    -5
      lang/python/python-cffi/Makefile
  2. +5
    -1
      lang/python/python-cryptography/Makefile

+ 0
- 5
lang/python/python-cffi/Makefile View File

@ -21,11 +21,6 @@ PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>, Alexandru Ardelean <ardeleanalex@gmail.com>
PKG_BUILD_DEPENDS:=libffi/host
HOST_PYTHON_PACKAGE_BUILD_DEPENDS:="cffi==$(PKG_VERSION)"
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:="cffi==$(PKG_VERSION)"
include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk


+ 5
- 1
lang/python/python-cryptography/Makefile View File

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


Loading…
Cancel
Save