summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2023-09-27 05:35:18 +0000
committerKhem Raj <raj.khem@gmail.com>2023-09-27 12:05:45 -0700
commite594a784351916aa0a798d4007d00fb4d3bee165 (patch)
tree010bdfb5b3859aa0c49decb221e09d65c313022b /meta-python/recipes-devtools/python
parent9600507356208eccfc4b874ab072e28935b06b8d (diff)
downloadmeta-openembedded-e594a784351916aa0a798d4007d00fb4d3bee165.tar.gz
python3-idna-ssl: Fix upstream check by specifying the UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX
Consolidated inc into the recipe to remove a unneeded layer of indirection Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python-idna-ssl.inc15
-rw-r--r--meta-python/recipes-devtools/python/python3-idna-ssl_1.1.0.bb19
2 files changed, 17 insertions, 17 deletions
diff --git a/meta-python/recipes-devtools/python/python-idna-ssl.inc b/meta-python/recipes-devtools/python/python-idna-ssl.inc
deleted file mode 100644
index 356a3873ee..0000000000
--- a/meta-python/recipes-devtools/python/python-idna-ssl.inc
+++ /dev/null
@@ -1,15 +0,0 @@
1SUMMARY = "Patch ssl.match_hostname for Unicode(idna) domains support"
2HOMEPAGE = "https://github.com/aio-libs/idna-ssl"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=a61b9c5aec8796b64a6bf15d42605073"
5
6SRC_URI[md5sum] = "dd44ec53bac36e68446766fd8d3835bd"
7SRC_URI[sha256sum] = "a933e3bb13da54383f9e8f35dc4f9cb9eb9b3b78c6b36f311254d6d0d92c6c7c"
8
9PYPI_PACKAGE = "idna-ssl"
10inherit pypi
11
12RDEPENDS:${PN} += " \
13 python3-idna \
14 python3-io \
15"
diff --git a/meta-python/recipes-devtools/python/python3-idna-ssl_1.1.0.bb b/meta-python/recipes-devtools/python/python3-idna-ssl_1.1.0.bb
index 3643fcfd30..503b79d667 100644
--- a/meta-python/recipes-devtools/python/python3-idna-ssl_1.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-idna-ssl_1.1.0.bb
@@ -1,2 +1,17 @@
1inherit setuptools3 1SUMMARY = "Patch ssl.match_hostname for Unicode(idna) domains support"
2require python-idna-ssl.inc 2HOMEPAGE = "https://github.com/aio-libs/idna-ssl"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=a61b9c5aec8796b64a6bf15d42605073"
5
6SRC_URI[sha256sum] = "a933e3bb13da54383f9e8f35dc4f9cb9eb9b3b78c6b36f311254d6d0d92c6c7c"
7
8PYPI_PACKAGE = "idna-ssl"
9inherit pypi setuptools3
10
11UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/idna_ssl/"
12UPSTREAM_CHECK_REGEX = "/idna_ssl/(?P<pver>(\d+[\.\-_]*)+)"
13
14RDEPENDS:${PN} += " \
15 python3-idna \
16 python3-io \
17"