diff mbox series

[1/5] package/python3-cffi: drop unused host package

Message ID 20220210224047.11992-1-peter@korsgaard.com
State Accepted
Headers show
Series [1/5] package/python3-cffi: drop unused host package | expand

Commit Message

Peter Korsgaard Feb. 10, 2022, 10:40 p.m. UTC
Commit d9bf97cf16fa6945466a67 (package/python-cryptography: drop host
variant) dropped the dependency on host-python3-cffi, so it is now unused.
Drop it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/python-cffi/python-cffi.mk     |  1 -
 package/python3-cffi/python3-cffi.hash |  1 -
 package/python3-cffi/python3-cffi.mk   | 29 --------------------------
 3 files changed, 31 deletions(-)
 delete mode 120000 package/python3-cffi/python3-cffi.hash
 delete mode 100644 package/python3-cffi/python3-cffi.mk

Comments

Peter Korsgaard Feb. 11, 2022, 7:08 p.m. UTC | #1
>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

 > Commit d9bf97cf16fa6945466a67 (package/python-cryptography: drop host
 > variant) dropped the dependency on host-python3-cffi, so it is now unused.
 > Drop it.

 > Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Committed, thanks.
diff mbox series

Patch

diff --git a/package/python-cffi/python-cffi.mk b/package/python-cffi/python-cffi.mk
index b14dce8225..83a21cb75a 100644
--- a/package/python-cffi/python-cffi.mk
+++ b/package/python-cffi/python-cffi.mk
@@ -4,7 +4,6 @@ 
 #
 ################################################################################
 
-# Please keep in sync with package/python3-cffi/python3-cffi.mk
 PYTHON_CFFI_VERSION = 1.15.0
 PYTHON_CFFI_SOURCE = cffi-$(PYTHON_CFFI_VERSION).tar.gz
 PYTHON_CFFI_SITE = https://files.pythonhosted.org/packages/00/9e/92de7e1217ccc3d5f352ba21e52398372525765b2e0c4530e6eb2ba9282a
diff --git a/package/python3-cffi/python3-cffi.hash b/package/python3-cffi/python3-cffi.hash
deleted file mode 120000
index 1f98d8df9c..0000000000
--- a/package/python3-cffi/python3-cffi.hash
+++ /dev/null
@@ -1 +0,0 @@ 
-../python-cffi/python-cffi.hash
\ No newline at end of file
diff --git a/package/python3-cffi/python3-cffi.mk b/package/python3-cffi/python3-cffi.mk
deleted file mode 100644
index 2770eda93e..0000000000
--- a/package/python3-cffi/python3-cffi.mk
+++ /dev/null
@@ -1,29 +0,0 @@ 
-################################################################################
-#
-# python3-cffi
-#
-################################################################################
-
-# Please keep in sync with package/python-cffi/python-cffi.mk
-PYTHON3_CFFI_VERSION = 1.15.0
-PYTHON3_CFFI_SOURCE = cffi-$(PYTHON3_CFFI_VERSION).tar.gz
-PYTHON3_CFFI_SITE = https://files.pythonhosted.org/packages/00/9e/92de7e1217ccc3d5f352ba21e52398372525765b2e0c4530e6eb2ba9282a
-PYTHON3_CFFI_SETUP_TYPE = setuptools
-PYTHON3_CFFI_LICENSE = MIT
-PYTHON3_CFFI_LICENSE_FILES = LICENSE
-
-# This host package uses pkg-config to find libffi, so we have to
-# provide the proper hints for pkg-config to behave properly for host
-# packages.
-HOST_PYTHON3_CFFI_ENV = \
-	PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \
-	PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \
-	PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
-	PKG_CONFIG_SYSROOT_DIR="/" \
-	PKG_CONFIG_LIBDIR="$(HOST_DIR)/lib/pkgconfig:$(HOST_DIR)/share/pkgconfig"
-HOST_PYTHON3_CFFI_DEPENDENCIES = host-pkgconf host-python3-pycparser host-libffi
-
-HOST_PYTHON3_CFFI_DL_SUBDIR = python-cffi
-HOST_PYTHON3_CFFI_NEEDS_HOST_PYTHON = python3
-
-$(eval $(host-python-package))