* [PR PATCH] python3-socks: update to 2.6.1.
@ 2025-01-05 15:11 ar-jan
2025-01-05 15:39 ` [PR PATCH] [Updated] " ar-jan
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: ar-jan @ 2025-01-05 15:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 848 bytes --]
There is a new pull request by ar-jan against master on the void-packages repository
https://github.com/ar-jan/void-packages python3-socks
https://github.com/void-linux/void-packages/pull/53858
python3-socks: update to 2.6.1.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
`python3-tiny-proxy` is now needed for the tests to run. I considered `make_check=no`, but well, it's tiny, and this way we can also enable tests for `python3-aiohttp_socks`.
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/53858.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-socks-53858.patch --]
[-- Type: text/x-diff, Size: 2948 bytes --]
From dd01efa3276db9cb6038770146c451fbc22dfcb4 Mon Sep 17 00:00:00 2001
From: Arjan Mossel <arjanmossel@gmail.com>
Date: Sun, 5 Jan 2025 15:36:11 +0100
Subject: [PATCH 1/2] New package: python3-tiny-proxy-0.2.1
---
srcpkgs/python3-tiny-proxy/template | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 srcpkgs/python3-tiny-proxy/template
diff --git a/srcpkgs/python3-tiny-proxy/template b/srcpkgs/python3-tiny-proxy/template
new file mode 100644
index 00000000000000..100d3ac35934bb
--- /dev/null
+++ b/srcpkgs/python3-tiny-proxy/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-tiny-proxy'
+pkgname=python3-tiny-proxy
+version=0.2.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-anyio"
+short_desc="SOCKS5/SOCKS4/HTTP proxy server"
+maintainer="Arjan Mossel <arjanmossel@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/romis2012/tiny-proxy"
+distfiles="https://github.com/romis2012/tiny-proxy/archive/v${version}.tar.gz"
+checksum=d816f9c26cf8d6e7cf735f75ed9604d211a78fb4aa9fef35bb103d52b33cfb4f
+make_check=no # Depends on httpx-socks
From 4d9d2390c4b455daf0fbf7ad348d9c99bafdb6da Mon Sep 17 00:00:00 2001
From: Arjan Mossel <arjanmossel@gmail.com>
Date: Sun, 5 Jan 2025 14:54:32 +0100
Subject: [PATCH 2/2] python3-socks: update to 2.6.1.
---
srcpkgs/python3-socks/template | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/python3-socks/template b/srcpkgs/python3-socks/template
index ff300cd5279cb0..6e3f88441f0965 100644
--- a/srcpkgs/python3-socks/template
+++ b/srcpkgs/python3-socks/template
@@ -1,16 +1,18 @@
# Template file for 'python3-socks'
pkgname=python3-socks
-version=2.4.3
-revision=3
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=2.6.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
-checkdepends="python3-async-timeout python3-curio python3-trio python3-attrs
- python3-async_generator python3-sniffio python3-sortedcontainers
- python3-anyio python3-outcome python3-idna"
+checkdepends="python3-anyio python3-async_generator python3-attrs python3-curio
+ python3-Flask python3-idna python3-outcome python3-pytest-asyncio
+ python3-pytest-cov python3-pytest-flake8 python3-pytest-trio python3-sniffio
+ python3-sortedcontainers python3-tiny-proxy python3-trio python3-trustme
+ python3-yarl"
short_desc="Core proxy client functionality for Python"
maintainer="Arjan Mossel <arjanmossel@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/romis2012/python-socks"
-distfiles="${PYPI_SITE}/p/python-socks/python-socks-${version}.tar.gz"
-checksum=135430ae36d582dc834c983696c5f66177aa5b587407f540985d616ef2e0c701
+distfiles="${PYPI_SITE}/p/python-socks/python_socks-${version}.tar.gz"
+checksum=9743929aab6ffe0bab640ecfbbee7130af92408ad86e4aa2984789f742f3ec9e
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] python3-socks: update to 2.6.1.
2025-01-05 15:11 [PR PATCH] python3-socks: update to 2.6.1 ar-jan
@ 2025-01-05 15:39 ` ar-jan
2025-01-05 15:40 ` ar-jan
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: ar-jan @ 2025-01-05 15:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 853 bytes --]
There is an updated pull request by ar-jan against master on the void-packages repository
https://github.com/ar-jan/void-packages python3-socks
https://github.com/void-linux/void-packages/pull/53858
python3-socks: update to 2.6.1.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
`python3-tiny-proxy` is now needed for the tests to run. I considered `make_check=no`, but well, it's tiny, and this way we can also enable tests for `python3-aiohttp_socks`.
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/53858.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-socks-53858.patch --]
[-- Type: text/x-diff, Size: 2989 bytes --]
From dd01efa3276db9cb6038770146c451fbc22dfcb4 Mon Sep 17 00:00:00 2001
From: Arjan Mossel <arjanmossel@gmail.com>
Date: Sun, 5 Jan 2025 15:36:11 +0100
Subject: [PATCH 1/2] New package: python3-tiny-proxy-0.2.1
---
srcpkgs/python3-tiny-proxy/template | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 srcpkgs/python3-tiny-proxy/template
diff --git a/srcpkgs/python3-tiny-proxy/template b/srcpkgs/python3-tiny-proxy/template
new file mode 100644
index 00000000000000..100d3ac35934bb
--- /dev/null
+++ b/srcpkgs/python3-tiny-proxy/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-tiny-proxy'
+pkgname=python3-tiny-proxy
+version=0.2.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-anyio"
+short_desc="SOCKS5/SOCKS4/HTTP proxy server"
+maintainer="Arjan Mossel <arjanmossel@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/romis2012/tiny-proxy"
+distfiles="https://github.com/romis2012/tiny-proxy/archive/v${version}.tar.gz"
+checksum=d816f9c26cf8d6e7cf735f75ed9604d211a78fb4aa9fef35bb103d52b33cfb4f
+make_check=no # Depends on httpx-socks
From 0bf9ac69ab4ccf96ac5e1c41168671df809d989e Mon Sep 17 00:00:00 2001
From: Arjan Mossel <arjanmossel@gmail.com>
Date: Sun, 5 Jan 2025 14:54:32 +0100
Subject: [PATCH 2/2] python3-socks: update to 2.6.1.
---
srcpkgs/python3-socks/template | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/srcpkgs/python3-socks/template b/srcpkgs/python3-socks/template
index ff300cd5279cb0..159019ec13da2d 100644
--- a/srcpkgs/python3-socks/template
+++ b/srcpkgs/python3-socks/template
@@ -1,16 +1,18 @@
-# Template file for 'python3-socks'
+# Template file for 'python3-socks'.
pkgname=python3-socks
-version=2.4.3
-revision=3
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=2.6.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
-checkdepends="python3-async-timeout python3-curio python3-trio python3-attrs
- python3-async_generator python3-sniffio python3-sortedcontainers
- python3-anyio python3-outcome python3-idna"
+checkdepends="python3-anyio python3-async_generator python3-attrs python3-curio
+ python3-Flask python3-idna python3-outcome python3-pytest-asyncio
+ python3-pytest-cov python3-pytest-flake8 python3-pytest-trio python3-sniffio
+ python3-sortedcontainers python3-tiny-proxy python3-trio python3-trustme
+ python3-yarl"
short_desc="Core proxy client functionality for Python"
maintainer="Arjan Mossel <arjanmossel@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/romis2012/python-socks"
-distfiles="${PYPI_SITE}/p/python-socks/python-socks-${version}.tar.gz"
-checksum=135430ae36d582dc834c983696c5f66177aa5b587407f540985d616ef2e0c701
+distfiles="${PYPI_SITE}/p/python-socks/python_socks-${version}.tar.gz"
+checksum=9743929aab6ffe0bab640ecfbbee7130af92408ad86e4aa2984789f742f3ec9e
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] python3-socks: update to 2.6.1.
2025-01-05 15:11 [PR PATCH] python3-socks: update to 2.6.1 ar-jan
2025-01-05 15:39 ` [PR PATCH] [Updated] " ar-jan
@ 2025-01-05 15:40 ` ar-jan
2025-01-05 15:52 ` ar-jan
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: ar-jan @ 2025-01-05 15:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 853 bytes --]
There is an updated pull request by ar-jan against master on the void-packages repository
https://github.com/ar-jan/void-packages python3-socks
https://github.com/void-linux/void-packages/pull/53858
python3-socks: update to 2.6.1.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
`python3-tiny-proxy` is now needed for the tests to run. I considered `make_check=no`, but well, it's tiny, and this way we can also enable tests for `python3-aiohttp_socks`.
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/53858.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-socks-53858.patch --]
[-- Type: text/x-diff, Size: 2948 bytes --]
From dd01efa3276db9cb6038770146c451fbc22dfcb4 Mon Sep 17 00:00:00 2001
From: Arjan Mossel <arjanmossel@gmail.com>
Date: Sun, 5 Jan 2025 15:36:11 +0100
Subject: [PATCH 1/2] New package: python3-tiny-proxy-0.2.1
---
srcpkgs/python3-tiny-proxy/template | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 srcpkgs/python3-tiny-proxy/template
diff --git a/srcpkgs/python3-tiny-proxy/template b/srcpkgs/python3-tiny-proxy/template
new file mode 100644
index 00000000000000..100d3ac35934bb
--- /dev/null
+++ b/srcpkgs/python3-tiny-proxy/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-tiny-proxy'
+pkgname=python3-tiny-proxy
+version=0.2.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-anyio"
+short_desc="SOCKS5/SOCKS4/HTTP proxy server"
+maintainer="Arjan Mossel <arjanmossel@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/romis2012/tiny-proxy"
+distfiles="https://github.com/romis2012/tiny-proxy/archive/v${version}.tar.gz"
+checksum=d816f9c26cf8d6e7cf735f75ed9604d211a78fb4aa9fef35bb103d52b33cfb4f
+make_check=no # Depends on httpx-socks
From 31f79778bbd66d54679e006b911b19d3eae023ce Mon Sep 17 00:00:00 2001
From: Arjan Mossel <arjanmossel@gmail.com>
Date: Sun, 5 Jan 2025 14:54:32 +0100
Subject: [PATCH 2/2] python3-socks: update to 2.6.1.
---
srcpkgs/python3-socks/template | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/python3-socks/template b/srcpkgs/python3-socks/template
index ff300cd5279cb0..6e3f88441f0965 100644
--- a/srcpkgs/python3-socks/template
+++ b/srcpkgs/python3-socks/template
@@ -1,16 +1,18 @@
# Template file for 'python3-socks'
pkgname=python3-socks
-version=2.4.3
-revision=3
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=2.6.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
-checkdepends="python3-async-timeout python3-curio python3-trio python3-attrs
- python3-async_generator python3-sniffio python3-sortedcontainers
- python3-anyio python3-outcome python3-idna"
+checkdepends="python3-anyio python3-async_generator python3-attrs python3-curio
+ python3-Flask python3-idna python3-outcome python3-pytest-asyncio
+ python3-pytest-cov python3-pytest-flake8 python3-pytest-trio python3-sniffio
+ python3-sortedcontainers python3-tiny-proxy python3-trio python3-trustme
+ python3-yarl"
short_desc="Core proxy client functionality for Python"
maintainer="Arjan Mossel <arjanmossel@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/romis2012/python-socks"
-distfiles="${PYPI_SITE}/p/python-socks/python-socks-${version}.tar.gz"
-checksum=135430ae36d582dc834c983696c5f66177aa5b587407f540985d616ef2e0c701
+distfiles="${PYPI_SITE}/p/python-socks/python_socks-${version}.tar.gz"
+checksum=9743929aab6ffe0bab640ecfbbee7130af92408ad86e4aa2984789f742f3ec9e
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] python3-socks: update to 2.6.1.
2025-01-05 15:11 [PR PATCH] python3-socks: update to 2.6.1 ar-jan
2025-01-05 15:39 ` [PR PATCH] [Updated] " ar-jan
2025-01-05 15:40 ` ar-jan
@ 2025-01-05 15:52 ` ar-jan
2025-01-05 17:39 ` ar-jan
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: ar-jan @ 2025-01-05 15:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 853 bytes --]
There is an updated pull request by ar-jan against master on the void-packages repository
https://github.com/ar-jan/void-packages python3-socks
https://github.com/void-linux/void-packages/pull/53858
python3-socks: update to 2.6.1.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
`python3-tiny-proxy` is now needed for the tests to run. I considered `make_check=no`, but well, it's tiny, and this way we can also enable tests for `python3-aiohttp_socks`.
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/53858.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-socks-53858.patch --]
[-- Type: text/x-diff, Size: 2957 bytes --]
From dd01efa3276db9cb6038770146c451fbc22dfcb4 Mon Sep 17 00:00:00 2001
From: Arjan Mossel <arjanmossel@gmail.com>
Date: Sun, 5 Jan 2025 15:36:11 +0100
Subject: [PATCH 1/2] New package: python3-tiny-proxy-0.2.1
---
srcpkgs/python3-tiny-proxy/template | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 srcpkgs/python3-tiny-proxy/template
diff --git a/srcpkgs/python3-tiny-proxy/template b/srcpkgs/python3-tiny-proxy/template
new file mode 100644
index 00000000000000..100d3ac35934bb
--- /dev/null
+++ b/srcpkgs/python3-tiny-proxy/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-tiny-proxy'
+pkgname=python3-tiny-proxy
+version=0.2.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-anyio"
+short_desc="SOCKS5/SOCKS4/HTTP proxy server"
+maintainer="Arjan Mossel <arjanmossel@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/romis2012/tiny-proxy"
+distfiles="https://github.com/romis2012/tiny-proxy/archive/v${version}.tar.gz"
+checksum=d816f9c26cf8d6e7cf735f75ed9604d211a78fb4aa9fef35bb103d52b33cfb4f
+make_check=no # Depends on httpx-socks
From c45962f53e7d5d375c7c12f7757f5d6fe12104ba Mon Sep 17 00:00:00 2001
From: Arjan Mossel <arjanmossel@gmail.com>
Date: Sun, 5 Jan 2025 14:54:32 +0100
Subject: [PATCH 2/2] python3-socks: update to 2.6.1.
---
srcpkgs/python3-socks/template | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/python3-socks/template b/srcpkgs/python3-socks/template
index ff300cd5279cb0..a4543b6201afe1 100644
--- a/srcpkgs/python3-socks/template
+++ b/srcpkgs/python3-socks/template
@@ -1,16 +1,18 @@
# Template file for 'python3-socks'
pkgname=python3-socks
-version=2.4.3
-revision=3
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=2.6.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
-checkdepends="python3-async-timeout python3-curio python3-trio python3-attrs
- python3-async_generator python3-sniffio python3-sortedcontainers
- python3-anyio python3-outcome python3-idna"
+checkdepends="python3-anyio python3-async_generator python3-attrs python3-curio
+ python3-Flask python3-idna python3-outcome python3-pytest-asyncio
+ python3-pytest-cov python3-pytest-flake8 python3-pytest-trio python3-sniffio
+ python3-sortedcontainers python3-tiny-proxy python3-trio python3-trustme
+ python3-yarl iana-etc"
short_desc="Core proxy client functionality for Python"
maintainer="Arjan Mossel <arjanmossel@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/romis2012/python-socks"
-distfiles="${PYPI_SITE}/p/python-socks/python-socks-${version}.tar.gz"
-checksum=135430ae36d582dc834c983696c5f66177aa5b587407f540985d616ef2e0c701
+distfiles="${PYPI_SITE}/p/python-socks/python_socks-${version}.tar.gz"
+checksum=9743929aab6ffe0bab640ecfbbee7130af92408ad86e4aa2984789f742f3ec9e
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] python3-socks: update to 2.6.1.
2025-01-05 15:11 [PR PATCH] python3-socks: update to 2.6.1 ar-jan
` (2 preceding siblings ...)
2025-01-05 15:52 ` ar-jan
@ 2025-01-05 17:39 ` ar-jan
2025-01-05 17:56 ` ar-jan
2025-01-05 23:32 ` [PR PATCH] [Merged]: " Duncaen
5 siblings, 0 replies; 7+ messages in thread
From: ar-jan @ 2025-01-05 17:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 853 bytes --]
There is an updated pull request by ar-jan against master on the void-packages repository
https://github.com/ar-jan/void-packages python3-socks
https://github.com/void-linux/void-packages/pull/53858
python3-socks: update to 2.6.1.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
`python3-tiny-proxy` is now needed for the tests to run. I considered `make_check=no`, but well, it's tiny, and this way we can also enable tests for `python3-aiohttp_socks`.
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/53858.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-socks-53858.patch --]
[-- Type: text/x-diff, Size: 3134 bytes --]
From dd01efa3276db9cb6038770146c451fbc22dfcb4 Mon Sep 17 00:00:00 2001
From: Arjan Mossel <arjanmossel@gmail.com>
Date: Sun, 5 Jan 2025 15:36:11 +0100
Subject: [PATCH 1/2] New package: python3-tiny-proxy-0.2.1
---
srcpkgs/python3-tiny-proxy/template | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 srcpkgs/python3-tiny-proxy/template
diff --git a/srcpkgs/python3-tiny-proxy/template b/srcpkgs/python3-tiny-proxy/template
new file mode 100644
index 00000000000000..100d3ac35934bb
--- /dev/null
+++ b/srcpkgs/python3-tiny-proxy/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-tiny-proxy'
+pkgname=python3-tiny-proxy
+version=0.2.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-anyio"
+short_desc="SOCKS5/SOCKS4/HTTP proxy server"
+maintainer="Arjan Mossel <arjanmossel@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/romis2012/tiny-proxy"
+distfiles="https://github.com/romis2012/tiny-proxy/archive/v${version}.tar.gz"
+checksum=d816f9c26cf8d6e7cf735f75ed9604d211a78fb4aa9fef35bb103d52b33cfb4f
+make_check=no # Depends on httpx-socks
From 725283e8239f224fe27fa7930a7d0de2461caf30 Mon Sep 17 00:00:00 2001
From: Arjan Mossel <arjanmossel@gmail.com>
Date: Sun, 5 Jan 2025 14:54:32 +0100
Subject: [PATCH 2/2] python3-socks: update to 2.6.1.
---
srcpkgs/python3-socks/template | 27 ++++++++++++++++++---------
1 file changed, 18 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/python3-socks/template b/srcpkgs/python3-socks/template
index ff300cd5279cb0..3e30e2360068f9 100644
--- a/srcpkgs/python3-socks/template
+++ b/srcpkgs/python3-socks/template
@@ -1,16 +1,25 @@
# Template file for 'python3-socks'
pkgname=python3-socks
-version=2.4.3
-revision=3
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=2.6.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
-checkdepends="python3-async-timeout python3-curio python3-trio python3-attrs
- python3-async_generator python3-sniffio python3-sortedcontainers
- python3-anyio python3-outcome python3-idna"
+checkdepends="python3-anyio python3-async_generator python3-attrs python3-curio
+ python3-Flask python3-idna python3-outcome python3-pytest-asyncio
+ python3-pytest-cov python3-pytest-flake8 python3-pytest-trio python3-sniffio
+ python3-sortedcontainers python3-tiny-proxy python3-trio python3-trustme
+ python3-yarl"
short_desc="Core proxy client functionality for Python"
maintainer="Arjan Mossel <arjanmossel@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/romis2012/python-socks"
-distfiles="${PYPI_SITE}/p/python-socks/python-socks-${version}.tar.gz"
-checksum=135430ae36d582dc834c983696c5f66177aa5b587407f540985d616ef2e0c701
+distfiles="${PYPI_SITE}/p/python-socks/python_socks-${version}.tar.gz"
+checksum=9743929aab6ffe0bab640ecfbbee7130af92408ad86e4aa2984789f742f3ec9e
+
+post_patch() {
+ if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
+ # Disable testing on IPv6 for GitHub CI
+ vsed -i 's/AF_UNSPEC/AF_INET/g' tests/mocks.py
+ fi
+}
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] python3-socks: update to 2.6.1.
2025-01-05 15:11 [PR PATCH] python3-socks: update to 2.6.1 ar-jan
` (3 preceding siblings ...)
2025-01-05 17:39 ` ar-jan
@ 2025-01-05 17:56 ` ar-jan
2025-01-05 23:32 ` [PR PATCH] [Merged]: " Duncaen
5 siblings, 0 replies; 7+ messages in thread
From: ar-jan @ 2025-01-05 17:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 853 bytes --]
There is an updated pull request by ar-jan against master on the void-packages repository
https://github.com/ar-jan/void-packages python3-socks
https://github.com/void-linux/void-packages/pull/53858
python3-socks: update to 2.6.1.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
`python3-tiny-proxy` is now needed for the tests to run. I considered `make_check=no`, but well, it's tiny, and this way we can also enable tests for `python3-aiohttp_socks`.
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/53858.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-socks-53858.patch --]
[-- Type: text/x-diff, Size: 2992 bytes --]
From dd01efa3276db9cb6038770146c451fbc22dfcb4 Mon Sep 17 00:00:00 2001
From: Arjan Mossel <arjanmossel@gmail.com>
Date: Sun, 5 Jan 2025 15:36:11 +0100
Subject: [PATCH 1/2] New package: python3-tiny-proxy-0.2.1
---
srcpkgs/python3-tiny-proxy/template | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 srcpkgs/python3-tiny-proxy/template
diff --git a/srcpkgs/python3-tiny-proxy/template b/srcpkgs/python3-tiny-proxy/template
new file mode 100644
index 00000000000000..100d3ac35934bb
--- /dev/null
+++ b/srcpkgs/python3-tiny-proxy/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-tiny-proxy'
+pkgname=python3-tiny-proxy
+version=0.2.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-anyio"
+short_desc="SOCKS5/SOCKS4/HTTP proxy server"
+maintainer="Arjan Mossel <arjanmossel@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/romis2012/tiny-proxy"
+distfiles="https://github.com/romis2012/tiny-proxy/archive/v${version}.tar.gz"
+checksum=d816f9c26cf8d6e7cf735f75ed9604d211a78fb4aa9fef35bb103d52b33cfb4f
+make_check=no # Depends on httpx-socks
From f1a029c821a2f2f2a0d7cbba7bf75819dd00dfca Mon Sep 17 00:00:00 2001
From: Arjan Mossel <arjanmossel@gmail.com>
Date: Sun, 5 Jan 2025 14:54:32 +0100
Subject: [PATCH 2/2] python3-socks: update to 2.6.1.
---
srcpkgs/python3-socks/template | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/srcpkgs/python3-socks/template b/srcpkgs/python3-socks/template
index ff300cd5279cb0..6f2cbc5c915844 100644
--- a/srcpkgs/python3-socks/template
+++ b/srcpkgs/python3-socks/template
@@ -1,16 +1,19 @@
# Template file for 'python3-socks'
pkgname=python3-socks
-version=2.4.3
-revision=3
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=2.6.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
-checkdepends="python3-async-timeout python3-curio python3-trio python3-attrs
- python3-async_generator python3-sniffio python3-sortedcontainers
- python3-anyio python3-outcome python3-idna"
+checkdepends="python3-anyio python3-async_generator python3-attrs python3-curio
+ python3-Flask python3-idna python3-outcome python3-pytest-asyncio
+ python3-pytest-cov python3-pytest-flake8 python3-pytest-trio python3-sniffio
+ python3-sortedcontainers python3-tiny-proxy python3-trio python3-trustme
+ python3-yarl"
short_desc="Core proxy client functionality for Python"
maintainer="Arjan Mossel <arjanmossel@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/romis2012/python-socks"
-distfiles="${PYPI_SITE}/p/python-socks/python-socks-${version}.tar.gz"
-checksum=135430ae36d582dc834c983696c5f66177aa5b587407f540985d616ef2e0c701
+distfiles="${PYPI_SITE}/p/python-socks/python_socks-${version}.tar.gz"
+checksum=9743929aab6ffe0bab640ecfbbee7130af92408ad86e4aa2984789f742f3ec9e
+make_check_pre="env SKIP_IPV6_TESTS=True"
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Merged]: python3-socks: update to 2.6.1.
2025-01-05 15:11 [PR PATCH] python3-socks: update to 2.6.1 ar-jan
` (4 preceding siblings ...)
2025-01-05 17:56 ` ar-jan
@ 2025-01-05 23:32 ` Duncaen
5 siblings, 0 replies; 7+ messages in thread
From: Duncaen @ 2025-01-05 23:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 693 bytes --]
There's a merged pull request on the void-packages repository
python3-socks: update to 2.6.1.
https://github.com/void-linux/void-packages/pull/53858
Description:
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
`python3-tiny-proxy` is now needed for the tests to run. I considered `make_check=no`, but well, it's tiny, and this way we can also enable tests for `python3-aiohttp_socks`.
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2025-01-05 23:32 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-05 15:11 [PR PATCH] python3-socks: update to 2.6.1 ar-jan
2025-01-05 15:39 ` [PR PATCH] [Updated] " ar-jan
2025-01-05 15:40 ` ar-jan
2025-01-05 15:52 ` ar-jan
2025-01-05 17:39 ` ar-jan
2025-01-05 17:56 ` ar-jan
2025-01-05 23:32 ` [PR PATCH] [Merged]: " Duncaen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).