package/python-nfc: drop python2 specific package

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Peter Korsgaard 2022-02-09 17:51:59 +01:00 committed by Yann E. MORIN
parent 82e096a23e
commit 67aad59d5e
6 changed files with 6 additions and 35 deletions

View File

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

View File

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

View File

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

View File

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

View File

@ -1,3 +0,0 @@
# Locally computed:
sha256 7ff9265e393e9e70173ecef5a1f9124e67d3b6e481c2dc3a9537b6a769ebe16f python-nfc-0.13.5.tar.gz
sha256 0dc4b0a3362f197e250604567a6b4eb16bbc34c186425401e2201a193a82549f LICENSE

View File

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