From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] python3-poetry-core: update to 1.1.0.
Date: Tue, 06 Sep 2022 21:40:27 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39136@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 863 bytes --]
There is a new pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages python3-poetry-core
https://github.com/void-linux/void-packages/pull/39136
python3-poetry-core: update to 1.1.0.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, x86_64
#### Rev dev checks
- [x] python3-quart (updated)
- [x] python3-hypercorn (updated)
- [x] python3-pytzdata (builds, 4 tests fail, same as master)
- [x] synapse
- [x] jrnl
- [x] python3-aiofiles
- [x] python3-unpaddedbase64
- [x] python3-pendulum (builds, 2 tests fail, same as master)
- [x] python3-pytest-httpserver (updated)
- [x] python3-msoffcrypto-tool
A patch file from https://github.com/void-linux/void-packages/pull/39136.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-poetry-core-39136.patch --]
[-- Type: text/x-diff, Size: 7999 bytes --]
From e8e212b5ce864de2365f1d9bbc7fba9f5dbf689d Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
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 <shi.kye@gmail.com>"
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 <pangolin@vivaldi.net>
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 <ajh@sideband.org>"
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 <pangolin@vivaldi.net>
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 <ajh@sideband.org>"
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 <pangolin@vivaldi.net>
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 <mobinmob@disroot.org>"
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
next reply other threads:[~2022-09-06 19:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-06 19:40 icp1994 [this message]
2022-09-07 23:09 ` [PR REVIEW] " classabbyamp
2022-09-08 5:09 ` [PR PATCH] [Updated] " icp1994
2022-09-08 6:58 ` [PR PATCH] [Merged]: " classabbyamp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39136@inbox.vuxu.org \
--to=icp1994@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).