From e8e212b5ce864de2365f1d9bbc7fba9f5dbf689d Mon Sep 17 00:00:00 2001 From: icp Date: Fri, 2 Sep 2022 01:07:13 +0530 Subject: [PATCH 1/4] python3-poetry-core: update to 1.1.0. --- srcpkgs/python3-poetry-core/template | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/srcpkgs/python3-poetry-core/template b/srcpkgs/python3-poetry-core/template index a657d7130146..9c099f80a870 100644 --- a/srcpkgs/python3-poetry-core/template +++ b/srcpkgs/python3-poetry-core/template @@ -1,18 +1,25 @@ # Template file for 'python3-poetry-core' pkgname=python3-poetry-core -version=1.0.7 +version=1.1.0 revision=1 wrksrc="poetry-core-${version}" -build_style="python3-module" -make_install_target="poetry_core-${version}-*-*-*.whl" -hostmakedepends="python3-wheel" +build_style="python3-pep517" +make_check_args="--deselect tests/masonry/builders/test_sdist.py::test_default_with_excluded_data + --deselect tests/masonry/builders/test_wheel.py::test_default_src_with_excluded_data" depends="python3" +checkdepends="python3-devel python3-virtualenv python3-pyrsistent python3-pytest-mock git" short_desc="Poetry PEP 517 Build Backend & Core Utilities" maintainer="Kye Shi " license="MIT" homepage="https://github.com/python-poetry/poetry-core" -distfiles="${PYPI_SITE}/p/poetry-core/poetry-core-${version}.tar.gz" -checksum="98c11c755a16ef6c5673c22ca94a3802a7df4746a0853a70b6fae8b9f5cac206" +changelog="https://raw.githubusercontent.com/python-poetry/poetry-core/main/CHANGELOG.md" +distfiles="https://github.com/python-poetry/poetry-core/archive/refs/tags/${version}.tar.gz" +checksum=44535d5c20e20189041714a45758774f713e4a53c3db071dca11a59d32aeba44 +make_check_pre="env PYTHONPATH=src" + +pre_check() { + rm -r tests/integration +} post_install() { vlicense LICENSE From dbe99b18d845e3c9b7801cc9e9b3d5696acd8f93 Mon Sep 17 00:00:00 2001 From: icp Date: Fri, 2 Sep 2022 22:39:39 +0530 Subject: [PATCH 2/4] python3-hypercorn: update to 0.14.1. --- srcpkgs/python3-hypercorn/template | 13 ++++++------- srcpkgs/python3-hypercorn/update | 2 -- 2 files changed, 6 insertions(+), 9 deletions(-) delete mode 100644 srcpkgs/python3-hypercorn/update diff --git a/srcpkgs/python3-hypercorn/template b/srcpkgs/python3-hypercorn/template index 2133a767d49c..a033ec06eb32 100644 --- a/srcpkgs/python3-hypercorn/template +++ b/srcpkgs/python3-hypercorn/template @@ -1,21 +1,20 @@ # Template file for 'python3-hypercorn' pkgname=python3-hypercorn -version=0.13.2 +version=0.14.1 revision=1 wrksrc="${pkgname#*-}-${version}" build_style=python3-pep517 -make_install_target="Hypercorn-${version}-*-*-*.whl" hostmakedepends="python3-poetry-core" depends="python3-h11 python3-h2 python3-priority python3-toml python3-typing_extensions python3-wsproto" -checkdepends="python3-pytest-asyncio python3-tomli $depends" +checkdepends="python3-pytest-asyncio python3-trio $depends" short_desc="Python ASGI server based on hyper and inspired by gunicorn" maintainer="Andrew J. Hesford " license="MIT" -homepage="https://gitlab.com/pgjones/hypercorn" -changelog="https://gitlab.com/pgjones/hypercorn/-/blob/master/CHANGELOG.rst" -distfiles="${homepage}/-/archive/${version}/${pkgname#*-}-${version}.tar.gz" -checksum=f08bf9cbd9d813f4cd29bb5398b064176b4639dcc430dd1d366a389dae4ca280 +homepage="https://github.com/pgjones/hypercorn" +changelog="https://raw.githubusercontent.com/pgjones/hypercorn/main/CHANGELOG.rst" +distfiles="https://github.com/pgjones/hypercorn/archive/refs/tags/${version}.tar.gz" +checksum=8b7b335374ae583c08e71710f5e4420b2df469059358b020d9998f4b3d5cd7e3 do_check() { vsed -i pyproject.toml -e '/addopts/d' diff --git a/srcpkgs/python3-hypercorn/update b/srcpkgs/python3-hypercorn/update deleted file mode 100644 index 6b8926d40dec..000000000000 --- a/srcpkgs/python3-hypercorn/update +++ /dev/null @@ -1,2 +0,0 @@ -site="${homepage}/-/tags/" -pattern="${pkgname#*-}-\K[\d.]*(?=\.tar)" From ae077bbdb02d2f8f96808e18841f69d8cfd0c25f Mon Sep 17 00:00:00 2001 From: icp Date: Fri, 2 Sep 2022 01:47:02 +0530 Subject: [PATCH 3/4] python3-quart: update to 0.18.0. --- srcpkgs/python3-quart/template | 16 ++++++++-------- srcpkgs/python3-quart/update | 2 -- 2 files changed, 8 insertions(+), 10 deletions(-) delete mode 100644 srcpkgs/python3-quart/update diff --git a/srcpkgs/python3-quart/template b/srcpkgs/python3-quart/template index 1033468c7c82..c5d3d92822f8 100644 --- a/srcpkgs/python3-quart/template +++ b/srcpkgs/python3-quart/template @@ -1,21 +1,21 @@ # Template file for 'python3-quart' pkgname=python3-quart -version=0.17.0 +version=0.18.0 revision=1 wrksrc="${pkgname#*-}-${version}" build_style=python3-pep517 -make_install_target="Quart-${version}-*-*-*.whl" +make_install_target="quart-${version}-*-*-*.whl" hostmakedepends="python3-poetry-core" -depends="python3-aiofiles python3-hypercorn python3-click python3-toml +depends="python3-aiofiles python3-hypercorn python3-click python3-MarkupSafe python3-blinker python3-itsdangerous python3-Jinja2 python3-Werkzeug" -checkdepends="python3-pytest-asyncio python3-hypothesis python3-mock unzip $depends" +checkdepends="python3-pytest-asyncio python3-hypothesis python3-mock python3-dotenv unzip $depends" short_desc="Python asyncio ASGI web framework with Flask API" maintainer="Andrew J. Hesford " license="MIT" -homepage="https://gitlab.com/pgjones/quart" -changelog="https://gitlab.com/pgjones/quart/-/blob/master/CHANGELOG.rst" -distfiles="${homepage}/-/archive/${version}/${pkgname#*-}-${version}.tar.gz" -checksum=1f879256b09daa4f7e9a141e90746f11103ce1f3a386f9480709e1d982768a9a +homepage="https://quart.palletsprojects.com/en/latest/" +changelog="https://raw.githubusercontent.com/pallets/quart/main/CHANGES.rst" +distfiles="https://github.com/pallets/quart/archive/refs/tags/${version}.tar.gz" +checksum=f462bd0c793c34dff71ba3a9956b809e905072595a17541a991a9574f6bd0762 do_check() { # Tests require dist-info on the package, which is only in the wheel. diff --git a/srcpkgs/python3-quart/update b/srcpkgs/python3-quart/update deleted file mode 100644 index 6b8926d40dec..000000000000 --- a/srcpkgs/python3-quart/update +++ /dev/null @@ -1,2 +0,0 @@ -site="${homepage}/-/tags/" -pattern="${pkgname#*-}-\K[\d.]*(?=\.tar)" From 89424ea227401637ff94600a402607520ea04538 Mon Sep 17 00:00:00 2001 From: icp Date: Tue, 6 Sep 2022 00:20:25 +0530 Subject: [PATCH 4/4] python3-pytest-httpserver: update to 1.0.5. --- srcpkgs/python3-pytest-httpserver/template | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-pytest-httpserver/template b/srcpkgs/python3-pytest-httpserver/template index 8238f5d82c8f..bb5e84559f32 100644 --- a/srcpkgs/python3-pytest-httpserver/template +++ b/srcpkgs/python3-pytest-httpserver/template @@ -1,18 +1,24 @@ # Template file for 'python3-pytest-httpserver' pkgname=python3-pytest-httpserver -version=1.0.4 +version=1.0.5 revision=1 wrksrc=pytest-httpserver-${version} build_style=python3-pep517 hostmakedepends="python3-poetry-core" depends="python3-pytest python3-Werkzeug" +checkdepends="${depends} python3-MarkupSafe python3-requests" short_desc="HTTP server for pytest" maintainer="mobinmob " license="MIT" homepage="https://www.github.com/csernazs/pytest-httpserver" changelog="https://raw.githubusercontent.com/csernazs/pytest-httpserver/master/CHANGES.rst" distfiles="https://github.com/csernazs/pytest-httpserver/archive/refs/tags/${version}.tar.gz" -checksum=164ec7aa21b776d441bdb2fddb85b92a8a0a0cd7ad5d1d5210430d23b2624a4d +checksum=932843df9fa584e6a664b2e7a21dec4ddf9507c235a78853f21e00b111352395 + +do_check() { + python3 -m pip install --no-deps --target test pytest_httpserver-${version}-*-*-*.whl + PYTHONPATH=test python3 -m pytest tests +} post_install() { vlicense LICENSE