Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Package templates for httpx-socks, python3-tiny-proxy, python3-re_assert, python3-proxy.py
@ 2023-11-13 15:53 ar-jan
  2023-12-03  0:57 ` [ISSUE] [CLOSED] " ahesford
  0 siblings, 1 reply; 2+ messages in thread
From: ar-jan @ 2023-11-13 15:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 3599 bytes --]

New issue by ar-jan on void-packages repository

https://github.com/void-linux/void-packages/issues/47202

Description:
I made some templates in #46383 which aren't included being dependencies needed there for tests only. I'm listing them here in case they're useful to someone:

``` sh
# Template file for 'python3-httpx-socks'
pkgname=python3-httpx-socks
version=0.7.8
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools python3-wheel"
depends="python3-httpx python3-socks"
checkdepends="python3-aiohttp python3-anyio python3-async-timeout
python3-httpx python3-hypercorn python3-pytest python3-pytest-asyncio
python3-pytest-cov python3-pytest-trio python3-socks python3-trustme
python3-yarl"
short_desc="Proxy (HTTP, SOCKS) transports for httpx"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/romis2012/httpx-socks"
distfiles="https://github.com/romis2012/httpx-socks/archive/v${version}.tar.gz"
checksum=0a4d14442e7837fd74c51b887fb4903d485d5f33ebb283c8eee7d73c664e87b5
make_check="no" # Missing test dependencies: starlette
```

``` sh
# Template file for 'python3-tiny-proxy'
pkgname=python3-tiny-proxy
version=0.2.0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools python3-wheel"
depends="python3-anyio"
checkdepends="python3-aiohttp python3-anyio python3-httpx python3-httpx-socks
 python3-pytest python3-pytest-asyncio python3-pytest-cov python3-trustme
 python3-charset-normalizer python3-aiosignal python3-certifi"
short_desc="SOCKS5/SOCKS4/HTTP proxy server"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/romis2012/tiny-proxy"
distfiles="https://github.com/romis2012/tiny-proxy/archive/v${version}.tar.gz"
checksum=04080b5047ff4d3eb2fcc195be02d03d11aa96d36f770a75e84395c28fcd34f5
make_check=no # SSLCertVerificationError
```

``` sh
# Template file for 'python3-re_assert'
pkgname=python3-re_assert
version=1.1.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3-regex"
short_desc="Show where your regex match assertion failed"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/asottile/re-assert"
distfiles="${PYPI_SITE}/r/re-assert/re_assert-${version}.tar.gz"
checksum=5172dfbd2047a15dff2347735dea7e495479cc7e58841199a4a4973256b20464
make_check=no # PyPI package doesn't include tests

post_install() {
	vlicense LICENSE
}
```

``` sh
# Template file for 'python3-proxy.py'
pkgname=python3-proxy.py
version=2.4.3
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3"
checkdepends="python3-httpx python3-pytest python3-pytest-cov
 python3-pytest-mock python3-pytest-asyncio"
short_desc="Fast, lightweight proxy server framework"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/abhinavsingh/proxy.py"
distfiles="${PYPI_SITE}/p/proxy.py/proxy.py-${version}.tar.gz"
checksum=6134e8f1282db1fd7fa1a4b7049e49307566851023b2ac312d9dd36e92f0c9b1

pre_configure() {
	sed -e '/setuptools-scm-git-archive/d' -i pyproject.toml
}

do_check() {
	# Integration tests are timing out; and test_wait_for_server_raises_timeout_error
	# errors on CI with "OSError: [Errno 99] Cannot assign requested address"
	PYTHONPATH=$(cd build/lib* && pwd) pytest -k 'not (test_integration or test_wait_for_server_raises_timeout_error)'
}

post_install() {
	vlicense LICENSE
}
```

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ISSUE] [CLOSED] Package templates for httpx-socks, python3-tiny-proxy, python3-re_assert, python3-proxy.py
  2023-11-13 15:53 [ISSUE] Package templates for httpx-socks, python3-tiny-proxy, python3-re_assert, python3-proxy.py ar-jan
@ 2023-12-03  0:57 ` ahesford
  0 siblings, 0 replies; 2+ messages in thread
From: ahesford @ 2023-12-03  0:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 3602 bytes --]

Closed issue by ar-jan on void-packages repository

https://github.com/void-linux/void-packages/issues/47202

Description:
I made some templates in #46383 which aren't included being dependencies needed there for tests only. I'm listing them here in case they're useful to someone:

``` sh
# Template file for 'python3-httpx-socks'
pkgname=python3-httpx-socks
version=0.7.8
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools python3-wheel"
depends="python3-httpx python3-socks"
checkdepends="python3-aiohttp python3-anyio python3-async-timeout
python3-httpx python3-hypercorn python3-pytest python3-pytest-asyncio
python3-pytest-cov python3-pytest-trio python3-socks python3-trustme
python3-yarl"
short_desc="Proxy (HTTP, SOCKS) transports for httpx"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/romis2012/httpx-socks"
distfiles="https://github.com/romis2012/httpx-socks/archive/v${version}.tar.gz"
checksum=0a4d14442e7837fd74c51b887fb4903d485d5f33ebb283c8eee7d73c664e87b5
make_check="no" # Missing test dependencies: starlette
```

``` sh
# Template file for 'python3-tiny-proxy'
pkgname=python3-tiny-proxy
version=0.2.0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools python3-wheel"
depends="python3-anyio"
checkdepends="python3-aiohttp python3-anyio python3-httpx python3-httpx-socks
 python3-pytest python3-pytest-asyncio python3-pytest-cov python3-trustme
 python3-charset-normalizer python3-aiosignal python3-certifi"
short_desc="SOCKS5/SOCKS4/HTTP proxy server"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/romis2012/tiny-proxy"
distfiles="https://github.com/romis2012/tiny-proxy/archive/v${version}.tar.gz"
checksum=04080b5047ff4d3eb2fcc195be02d03d11aa96d36f770a75e84395c28fcd34f5
make_check=no # SSLCertVerificationError
```

``` sh
# Template file for 'python3-re_assert'
pkgname=python3-re_assert
version=1.1.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3-regex"
short_desc="Show where your regex match assertion failed"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/asottile/re-assert"
distfiles="${PYPI_SITE}/r/re-assert/re_assert-${version}.tar.gz"
checksum=5172dfbd2047a15dff2347735dea7e495479cc7e58841199a4a4973256b20464
make_check=no # PyPI package doesn't include tests

post_install() {
	vlicense LICENSE
}
```

``` sh
# Template file for 'python3-proxy.py'
pkgname=python3-proxy.py
version=2.4.3
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3"
checkdepends="python3-httpx python3-pytest python3-pytest-cov
 python3-pytest-mock python3-pytest-asyncio"
short_desc="Fast, lightweight proxy server framework"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/abhinavsingh/proxy.py"
distfiles="${PYPI_SITE}/p/proxy.py/proxy.py-${version}.tar.gz"
checksum=6134e8f1282db1fd7fa1a4b7049e49307566851023b2ac312d9dd36e92f0c9b1

pre_configure() {
	sed -e '/setuptools-scm-git-archive/d' -i pyproject.toml
}

do_check() {
	# Integration tests are timing out; and test_wait_for_server_raises_timeout_error
	# errors on CI with "OSError: [Errno 99] Cannot assign requested address"
	PYTHONPATH=$(cd build/lib* && pwd) pytest -k 'not (test_integration or test_wait_for_server_raises_timeout_error)'
}

post_install() {
	vlicense LICENSE
}
```

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-03  0:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-13 15:53 [ISSUE] Package templates for httpx-socks, python3-tiny-proxy, python3-re_assert, python3-proxy.py ar-jan
2023-12-03  0:57 ` [ISSUE] [CLOSED] " ahesford

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).