python3-process-tests: update to 3.0.0.

This commit is contained in:
Gonzalo Tornaría 2023-12-05 18:25:47 -03:00 committed by Andrew J. Hesford
parent da76cbd1d8
commit b042b91e28
2 changed files with 15 additions and 4 deletions

View File

@ -0,0 +1,11 @@
--- a/tests/test_process_tests.py 2023-11-01 14:34:11.000000000 -0300
+++ b/tests/test_process_tests.py 2023-12-05 19:18:06.663214341 -0300
@@ -30,7 +30,7 @@
def test_socket():
- with TestProcess('python', '-mhttp.server', '0') as proc:
+ with TestProcess('python', '-u', '-mhttp.server', '0') as proc:
with dump_on_error(proc.read, 'SERVER'):
wait_for_strings(proc.read, TIMEOUT, 'Serving HTTP on')
(port,) = re.match(r'Serving HTTP on .*? port (\d+) ', proc.read()).groups()

View File

@ -1,18 +1,18 @@
# Template file for 'python3-process-tests'
pkgname=python3-process-tests
version=2.1.2
revision=2
version=3.0.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
checkdepends="python3-pytest"
short_desc="Tools for testing processes"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-2-Clause"
homepage="https://github.com/ionelmc/python-process-tests"
changelog="https://raw.githubusercontent.com/ionelmc/python-process-tests/master/CHANGELOG.rst"
distfiles="${PYPI_SITE}/p/process-tests/process-tests-${version}.tar.gz"
checksum=a3747ad947bdfc93e5c986bdb17a6d718f3f26e8577a0807a00962f29e26deba
make_check=no # no tests available
checksum=e5d57dea7161251e91cadb84bf3ecc85275fb121fd478e579f800777b1d424bd
post_install() {
vlicense LICENSE