summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python3-socksio/0001-Unpin-flit-core-dependency.patch21
-rw-r--r--meta-python/recipes-devtools/python/python3-socksio_1.0.0.bb10
2 files changed, 31 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-socksio/0001-Unpin-flit-core-dependency.patch b/meta-python/recipes-devtools/python/python3-socksio/0001-Unpin-flit-core-dependency.patch
new file mode 100644
index 000000000..75be61fc4
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-socksio/0001-Unpin-flit-core-dependency.patch
@@ -0,0 +1,21 @@
1From 5c50fd76e7459bb822ff8f712172a78e21b8dd04 Mon Sep 17 00:00:00 2001
2From: Theodore Ni <3806110+tjni@users.noreply.github.com>
3Date: Sun, 13 Aug 2023 09:21:49 -0700
4Subject: [PATCH] Unpin flit-core dependency
5
6Upstream-Status: Submitted [https://github.com/sethmlarson/socksio/pull/61]
7---
8 pyproject.toml | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/pyproject.toml b/pyproject.toml
12index 2d6c5a3..60c63ea 100644
13--- a/pyproject.toml
14+++ b/pyproject.toml
15@@ -1,5 +1,5 @@
16 [build-system]
17-requires = ["flit_core >=2,<3"]
18+requires = ["flit_core >=2"]
19 build-backend = "flit_core.buildapi"
20
21 [tool.flit.metadata]
diff --git a/meta-python/recipes-devtools/python/python3-socksio_1.0.0.bb b/meta-python/recipes-devtools/python/python3-socksio_1.0.0.bb
new file mode 100644
index 000000000..4353a52ee
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-socksio_1.0.0.bb
@@ -0,0 +1,10 @@
1SUMMARY = "Sans-I/O implementation of SOCKS4, SOCKS4A, and SOCKS5."
2SECTION = "devel/python"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=0b4dda8edb09eec767aaded3cbf8f6b1"
5
6inherit pypi python_flit_core
7
8SRC_URI += "file://0001-Unpin-flit-core-dependency.patch"
9
10SRC_URI[sha256sum] = "f88beb3da5b5c38b9890469de67d0cb0f9d494b78b106ca1845f96c10b91c4ac"