From 67aad59d5eebd9150d5787780f754df9703eff84 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 9 Feb 2022 17:51:59 +0100 Subject: [PATCH] package/python-nfc: drop python2 specific package Signed-off-by: Peter Korsgaard Signed-off-by: Yann E. MORIN --- Config.in.legacy | 6 ++++++ DEVELOPERS | 1 - package/Config.in | 1 - package/python-nfc/Config.in | 16 ---------------- package/python-nfc/python-nfc.hash | 3 --- package/python-nfc/python-nfc.mk | 14 -------------- 6 files changed, 6 insertions(+), 35 deletions(-) delete mode 100644 package/python-nfc/Config.in delete mode 100644 package/python-nfc/python-nfc.hash delete mode 100644 package/python-nfc/python-nfc.mk diff --git a/Config.in.legacy b/Config.in.legacy index f6607deeeb..80adf521f8 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.02" +config BR2_PACKAGE_PYTHON_NFC + bool "python-nfc removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + config BR2_PACKAGE_PYTHON_MAD bool "python-mad removed" select BR2_LEGACY diff --git a/DEVELOPERS b/DEVELOPERS index 9fb51b4481..d661693e4d 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2598,7 +2598,6 @@ F: package/nanocom/ F: package/neard/ F: package/neardal/ F: package/owl-linux/ -F: package/python-nfc/ F: package/rapidjson/ F: package/sconeserver/ F: package/sound-theme-borealis/ diff --git a/package/Config.in b/package/Config.in index d5c46ef997..8dc91becb0 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1110,7 +1110,6 @@ menu "External python modules" source "package/python-netifaces/Config.in" source "package/python-networkmanager/Config.in" source "package/python-networkx/Config.in" - source "package/python-nfc/Config.in" source "package/python-numpy/Config.in" source "package/python-oauthlib/Config.in" source "package/python-opcua-asyncio/Config.in" diff --git a/package/python-nfc/Config.in b/package/python-nfc/Config.in deleted file mode 100644 index 7008723f60..0000000000 --- a/package/python-nfc/Config.in +++ /dev/null @@ -1,16 +0,0 @@ -config BR2_PACKAGE_PYTHON_NFC - bool "python-nfc" - depends on BR2_PACKAGE_PYTHON - depends on BR2_TOOLCHAIN_HAS_THREADS # libusb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb - select BR2_PACKAGE_LIBUSB - select BR2_PACKAGE_LIBUSB_COMPAT - help - Python module for near field communication. - - https://launchpad.net/nfcpy - -comment "python-nfc needs a toolchain w/ threads, gcc >= 4.9" - depends on BR2_PACKAGE_PYTHON - depends on !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/package/python-nfc/python-nfc.hash b/package/python-nfc/python-nfc.hash deleted file mode 100644 index 6514973f53..0000000000 --- a/package/python-nfc/python-nfc.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 7ff9265e393e9e70173ecef5a1f9124e67d3b6e481c2dc3a9537b6a769ebe16f python-nfc-0.13.5.tar.gz -sha256 0dc4b0a3362f197e250604567a6b4eb16bbc34c186425401e2201a193a82549f LICENSE diff --git a/package/python-nfc/python-nfc.mk b/package/python-nfc/python-nfc.mk deleted file mode 100644 index f5417410c9..0000000000 --- a/package/python-nfc/python-nfc.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-nfc -# -################################################################################ - -PYTHON_NFC_VERSION = 0.13.5 -PYTHON_NFC_SITE = $(call github,nfcpy,nfcpy,v$(PYTHON_NFC_VERSION)) -PYTHON_NFC_DEPENDENCIES = libusb libusb-compat -PYTHON_NFC_SETUP_TYPE = setuptools -PYTHON_NFC_LICENSE = EUPL-1.1+ -PYTHON_NFC_LICENSE_FILES = LICENSE - -$(eval $(python-package))