package/python-mad: 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:58 +01:00 committed by Yann E. MORIN
parent e990a92679
commit 82e096a23e
6 changed files with 6 additions and 43 deletions

View File

@ -146,6 +146,12 @@ endif
comment "Legacy options removed in 2022.02"
config BR2_PACKAGE_PYTHON_MAD
bool "python-mad removed"
select BR2_LEGACY
help
Package was removed together with python 2.7 support.
config BR2_PACKAGE_PYTHON_IPADDRESS
bool "python-ipaddress removed"
select BR2_LEGACY

View File

@ -2804,7 +2804,6 @@ F: package/python3/
F: package/python-augeas/
F: package/python-flask-expects-json/
F: package/python-git/
F: package/python-mad/
F: package/python-serial/
F: package/python-unittest-xml-reporting/
F: package/qextserialport/

View File

@ -1086,7 +1086,6 @@ menu "External python modules"
source "package/python-lxml/Config.in"
source "package/python-m2crypto/Config.in"
source "package/python-m2r/Config.in"
source "package/python-mad/Config.in"
source "package/python-mako/Config.in"
source "package/python-markdown/Config.in"
source "package/python-markdown2/Config.in"

View File

@ -1,9 +0,0 @@
config BR2_PACKAGE_PYTHON_MAD
bool "python-mad"
depends on BR2_PACKAGE_PYTHON
select BR2_PACKAGE_LIBMAD
help
python-mad is a Python binding for the MAD library, a
high-quality integer-only MPEG decoder.
http://spacepants.org/src/pymad/

View File

@ -1,3 +0,0 @@
# locally computed
sha256 1c9fc529b78de7d26e9e47cf182c9f8bf43838d8f62a9c1773540d57f5ebc522 pymad-0.6.tar.gz
sha256 d245807f90032872d1438d741ed21e2490e1175dc8aa3afa5ddb6c8e529b58e5 COPYING

View File

@ -1,29 +0,0 @@
################################################################################
#
# python-mad
#
################################################################################
PYTHON_MAD_VERSION = 0.6
PYTHON_MAD_SOURCE = pymad-$(PYTHON_MAD_VERSION).tar.gz
PYTHON_MAD_SITE = http://spacepants.org/src/pymad/download
PYTHON_MAD_SETUP_TYPE = distutils
PYTHON_MAD_LICENSE = GPL-2.0+
PYTHON_MAD_LICENSE_FILES = COPYING
PYTHON_MAD_DEPENDENCIES = libmad
ifeq ($(BR2_ENDIAN),"LITTLE")
PYTHON_MAD_ENDIAN = little
else
PYTHON_MAD_ENDIAN = big
endif
define PYTHON_MAD_CONFIGURE_CMDS
echo "endian = $(PYTHON_MAD_ENDIAN)" > $(@D)/Setup
echo "mad_libs = mad" >> $(@D)/Setup
echo "mad_lib_dir = $(STAGING_DIR)/usr/lib" >> $(@D)/Setup
echo "mad_include_dir = $(STAGING_DIR)/usr/include" >> $(@D)/Setup
endef
$(eval $(python-package))