package/python-idna: bump to version 3.2

- Python 2 is not supported since version 3.0 so update all reverse
  dependencies and remove python-coherence
- License file name and its hash is updated due to:
  e7338bce90
  537aa99d44

https://github.com/kjd/idna/blob/v3.2/HISTORY.rst

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Fabrice Fontaine 2021-07-10 23:55:32 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent fb58ce9735
commit 0c7e30b43a
24 changed files with 37 additions and 85 deletions

View File

@ -154,6 +154,13 @@ config BR2_PACKAGE_KODI_LIBVA
the kodi-specific dependencies limiting libva support to non-
OPENGLES platforms were removed including this option.
config BR2_PACKAGE_PYTHON_COHERENCE
bool "python-coherence package removed"
select BR2_LEGACY
help
This package has been removed as it can't be built anymore due
to python-twisted being now incompatible with python 2.
config BR2_PACKAGE_PHP_EXT_XMLRPC
bool "PHP XMLRPC extension removed"
select BR2_LEGACY

View File

@ -948,7 +948,6 @@ menu "External python modules"
source "package/python-cheroot/Config.in"
source "package/python-cherrypy/Config.in"
source "package/python-click/Config.in"
source "package/python-coherence/Config.in"
source "package/python-colorama/Config.in"
source "package/python-colorlog/Config.in"
source "package/python-colorzero/Config.in"

View File

@ -1,29 +0,0 @@
From 3cf8d89cbb44b5c7a0693d0b5d665e68acc3927c Mon Sep 17 00:00:00 2001
From: Thomas Klausner <wiz@NetBSD.org>
Date: Tue, 10 May 2016 00:14:33 +0200
Subject: [PATCH] Fix twisted detection.
Addresses https://github.com/coherence-project/Coherence/issues/25
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
coherence/__init__.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/coherence/__init__.py b/coherence/__init__.py
index 2e4e8f1..4c4d73d 100644
--- a/coherence/__init__.py
+++ b/coherence/__init__.py
@@ -24,8 +24,6 @@ try:
if twisted_version < Version("twisted", 2, 5, 0):
raise ImportError("Twisted >= 2.5 is required. Please install it.")
- if twisted_web_version < Version("twisted.web", 2, 5, 0):
- raise ImportError("Twisted.Web >= 2.5 is required. Please install it")
except ImportError, exc:
# log error to stderr, might be useful for debugging purpose
for arg in exc.args:
--
2.8.1

View File

@ -1,10 +0,0 @@
config BR2_PACKAGE_PYTHON_COHERENCE
bool "python-coherence"
depends on BR2_PACKAGE_PYTHON
select BR2_PACKAGE_PYTHON_TWISTED
select BR2_PACKAGE_PYTHON_ZOPE_INTERFACE
select BR2_PACKAGE_PYTHON_PYASN1
help
A DLNA/UPnP Media Server and Framework for the Digital Living.
https://github.com/coherence-project/Coherence

View File

@ -1,3 +0,0 @@
# Locally computed:
sha256 97c8b700b3fe73d48eacb259008f410d6567e5d7d1b8e96386f8cc2422135ca5 python-coherence-b7856985fd496689ca1f9024925ae737297c00d1.tar.gz
sha256 7713ed8484b4d3364c7f6f2c02aed427b06a0159b1f77aecf907d47016812e81 LICENCE

View File

@ -1,13 +0,0 @@
################################################################################
#
# python-coherence
#
################################################################################
PYTHON_COHERENCE_VERSION = b7856985fd496689ca1f9024925ae737297c00d1
PYTHON_COHERENCE_SITE = $(call github,coherence-project,Coherence,$(PYTHON_COHERENCE_VERSION))
PYTHON_COHERENCE_SETUP_TYPE = setuptools
PYTHON_COHERENCE_LICENSE = MIT
PYTHON_COHERENCE_LICENSE_FILES = LICENCE
$(eval $(python-package))

View File

@ -1,19 +1,15 @@
config BR2_PACKAGE_PYTHON_CRYPTOGRAPHY
bool "python-cryptography"
depends on BR2_PACKAGE_PYTHON3 # python-idna
depends on BR2_INSTALL_LIBSTDCPP # python-pyasn
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_PYTHON_CFFI # runtime
select BR2_PACKAGE_PYTHON_ENUM34 if BR2_PACKAGE_PYTHON # runtime
select BR2_PACKAGE_PYTHON_HASHLIB if BR2_PACKAGE_PYTHON # runtime
select BR2_PACKAGE_PYTHON_IDNA # runtime
select BR2_PACKAGE_PYTHON_IPADDRESS if BR2_PACKAGE_PYTHON # runtime
select BR2_PACKAGE_PYTHON_ASN1CRYPTO # runtime
select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime
select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime
select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime
select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
select BR2_PACKAGE_PYTHON_SIX # runtime
select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime
select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime
select BR2_PACKAGE_PYTHON3_SSL # runtime
help
cryptography is a package designed to expose cryptographic
primitives and recipes to Python developers.

View File

@ -1,10 +1,8 @@
config BR2_PACKAGE_PYTHON_DOCKER
bool "python-docker"
# docker-engine may be running on another host, so no dependency
select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime
select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime
select BR2_PACKAGE_PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME \
if BR2_PACKAGE_PYTHON # runtime
depends on BR2_PACKAGE_PYTHON3 # python-requests -> python-idna
# docker-engine may be running on another host, so no other dependency
select BR2_PACKAGE_PYTHON3_SSL # runtime
select BR2_PACKAGE_PYTHON_REQUESTS # runtime
select BR2_PACKAGE_PYTHON_SIX # runtime
select BR2_PACKAGE_PYTHON_WEBSOCKET_CLIENT # runtime

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_PYTHON_HYPERLINK
bool "python-hyperlink"
depends on BR2_PACKAGE_PYTHON3 # python-idna
select BR2_PACKAGE_PYTHON_IDNA # runtime
help
A featureful, correct URL for Python.

View File

@ -1,12 +1,12 @@
config BR2_PACKAGE_PYTHON_IBMIOTF
bool "python-ibmiotf"
depends on BR2_PACKAGE_PYTHON3 # python-requests -> python-idna
select BR2_PACKAGE_PYTHON_ISO8601 # runtime
select BR2_PACKAGE_PYTHON_PAHO_MQTT # runtime
select BR2_PACKAGE_PYTHON_PYTZ # runtime
select BR2_PACKAGE_PYTHON_REQUESTS # runtime
select BR2_PACKAGE_PYTHON_REQUESTS_TOOLBELT # runtime
select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime
select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime
select BR2_PACKAGE_PYTHON3_SSL # runtime
help
Python Client for IBM Watson IoT Platform.

View File

@ -1,7 +1,7 @@
config BR2_PACKAGE_PYTHON_IDNA
bool "python-idna"
select BR2_PACKAGE_PYTHON_UNICODEDATA if BR2_PACKAGE_PYTHON
select BR2_PACKAGE_PYTHON3_UNICODEDATA if BR2_PACKAGE_PYTHON3
depends on BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_PYTHON3_UNICODEDATA
help
A library to support the Internationalised Domain Names in
Applications (IDNA) protocol as specified in RFC 5891. This

View File

@ -1,5 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/idna/json
md5 7a910c706db30d758f377db2762c0f9a idna-2.10.tar.gz
sha256 b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6 idna-2.10.tar.gz
md5 08ea8e2ce09e522424e872409c221138 idna-3.2.tar.gz
sha256 467fbad99067910785144ce333826c71fb0e63a425657295239737f7ecd125f3 idna-3.2.tar.gz
# Locally computed sha256 checksums
sha256 412014420d2473dba06117c3d4d9e0eecaa6dde0ca30cd951f4ec2be39426f32 LICENSE.rst
sha256 a2d6e4d940bd24dbe7b9645cde19a9792cc51db7ae0d5acd301ac860caa3e836 LICENSE.md

View File

@ -4,11 +4,11 @@
#
################################################################################
PYTHON_IDNA_VERSION = 2.10
PYTHON_IDNA_VERSION = 3.2
PYTHON_IDNA_SOURCE = idna-$(PYTHON_IDNA_VERSION).tar.gz
PYTHON_IDNA_SITE = https://files.pythonhosted.org/packages/ea/b7/e0e3c1c467636186c39925827be42f16fee389dc404ac29e930e9136be70
PYTHON_IDNA_SITE = https://files.pythonhosted.org/packages/cb/38/4c4d00ddfa48abe616d7e572e02a04273603db446975ab46bbcd36552005
PYTHON_IDNA_LICENSE = BSD-3-Clause
PYTHON_IDNA_LICENSE_FILES = LICENSE.rst
PYTHON_IDNA_LICENSE_FILES = LICENSE.md
PYTHON_IDNA_SETUP_TYPE = setuptools
$(eval $(python-package))

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_PYTHON_INFLUXDB
bool "python-influxdb"
depends on BR2_PACKAGE_PYTHON3 # python-requests -> python-idna
select BR2_PACKAGE_PYTHON_DATEUTIL # runtime
select BR2_PACKAGE_PYTHON_MSGPACK # runtime
select BR2_PACKAGE_PYTHON_PYTZ # runtime

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_PYTHON_MWCLIENT
bool "python-mwclient"
depends on BR2_PACKAGE_PYTHON3 # python-requests-oauthlib -> python-requests -> python-idna
select BR2_PACKAGE_PYTHON_REQUESTS_OAUTHLIB # runtime
select BR2_PACKAGE_PYTHON_SIX # runtime
help

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_PYTHON_PYOPENSSL
bool "python-pyopenssl"
depends on BR2_PACKAGE_PYTHON3 # python-cryptography -> python-idna
depends on BR2_INSTALL_LIBSTDCPP # python-cryptography
select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime
select BR2_PACKAGE_PYTHON_SIX # runtime

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_PYTHON_REQUESTS_OAUTHLIB
bool "python-requests-oauthlib"
depends on BR2_PACKAGE_PYTHON3 # python-requests -> python-idna
select BR2_PACKAGE_PYTHON_OAUTHLIB # runtime
select BR2_PACKAGE_PYTHON_REQUESTS # runtime
help

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_PYTHON_REQUESTS_TOOLBELT
bool "python-requests-toolbelt"
depends on BR2_PACKAGE_PYTHON3 # python-requests -> python-idna
select BR2_PACKAGE_PYTHON_REQUESTS # runtime
help
A utility belt for advanced users of python-requests.

View File

@ -1,14 +1,12 @@
config BR2_PACKAGE_PYTHON_REQUESTS
bool "python-requests"
depends on BR2_PACKAGE_PYTHON3 # python-idna
select BR2_PACKAGE_PYTHON_CERTIFI # runtime
select BR2_PACKAGE_PYTHON_CHARDET # runtime
select BR2_PACKAGE_PYTHON_IDNA # runtime
select BR2_PACKAGE_PYTHON_URLLIB3 # runtime
select BR2_PACKAGE_PYTHON_HASHLIB if BR2_PACKAGE_PYTHON # runtime
select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime
select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime
select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime
select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime
select BR2_PACKAGE_PYTHON3_SSL # runtime
select BR2_PACKAGE_PYTHON3_ZLIB # runtime
help
Requests is an Apache2 Licensed HTTP library, written in
Python, for human beings.

View File

@ -1,9 +1,9 @@
config BR2_PACKAGE_PYTHON_SERVICE_IDENTITY
bool "python-service-identity"
depends on BR2_PACKAGE_PYTHON3 # python-pyopenssl -> python-cryptography -> python-idna
depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl
select BR2_PACKAGE_PYTHON_ATTRS # runtime
select BR2_PACKAGE_PYTHON_CHARACTERISTIC # runtime
select BR2_PACKAGE_PYTHON_IPADDRESS if BR2_PACKAGE_PYTHON # runtime
select BR2_PACKAGE_PYTHON_PYASN1 # runtime
select BR2_PACKAGE_PYTHON_PYASN1_MODULES # runtime
select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_PYTHON_TREQ
bool "python-treq"
depends on BR2_PACKAGE_PYTHON3 # python-idna
depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl
select BR2_PACKAGE_PYTHON_ATTRS # runtime
select BR2_PACKAGE_PYTHON_IDNA # runtime

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_PYTHON_TWISTED
bool "python-twisted"
depends on BR2_PACKAGE_PYTHON3 # python-hyperlink -> python-idna
select BR2_PACKAGE_PYTHON_INCREMENTAL
select BR2_PACKAGE_PYTHON_ATTRS # runtime
select BR2_PACKAGE_PYTHON_AUTOMAT # runtime

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_PYTHON_TXDBUS
bool "python-txdbus"
depends on BR2_PACKAGE_PYTHON3 # python-twisted -> python-cryptography -> python-idna
select BR2_PACKAGE_PYTHON_TWISTED # runtime
select BR2_PACKAGE_PYTHON_SIX # runtime
help

View File

@ -1,10 +1,10 @@
config BR2_PACKAGE_PYTHON_TXTORCON
bool "python-txtorcon"
depends on BR2_PACKAGE_PYTHON3 # python-idna
depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl, python-service-identity
select BR2_PACKAGE_PYTHON_AUTOMAT # runtime
select BR2_PACKAGE_PYTHON_IDNA # runtime
select BR2_PACKAGE_PYTHON_INCREMENTAL # runtime
select BR2_PACKAGE_PYTHON_IPADDRESS if BR2_PACKAGE_PYTHON # runtime
select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime
select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY # runtime
select BR2_PACKAGE_PYTHON_TWISTED # runtime