From 40fc0ba7b5659a4f574d6970a4ea149770a1ed23 Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 29 Jul 2024 07:21:35 +0000 Subject: [PATCH] py-posting: update to 1.9.3. 1.9.3 Upgrade and pin Textual at 0.74.0. Simplify text area theme naming conventions. fix: Ensure response status code border text is styled using the theme. fix: Ensure text area theme automatically updates when command palette is used to change theme. 1.9.2 Fix check for missing colors in xresources by @SqrtMinusOne in #64 1.9.1 Fix crash in auth form. 1.9.0 User defined themes New configuration options Fixes Testing --- www/py-posting/Makefile | 17 ++++++++++------- www/py-posting/PLIST | 14 +++++++++++++- www/py-posting/distinfo | 8 ++++---- 3 files changed, 27 insertions(+), 12 deletions(-) diff --git a/www/py-posting/Makefile b/www/py-posting/Makefile index d5402d199014..b53c83761e8a 100644 --- a/www/py-posting/Makefile +++ b/www/py-posting/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.2 2024/07/18 04:52:45 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2024/07/29 07:21:35 wiz Exp $ -DISTNAME= posting-1.1.0 +DISTNAME= posting-1.9.3 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= www MASTER_SITES= ${MASTER_SITE_PYPI:=p/posting/} @@ -11,22 +11,25 @@ COMMENT= Modern API client that lives in your terminal LICENSE= apache-2.0 TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling -DEPENDS+= ${PYPKGPREFIX}-textual-[0-9]*:../../comms/py-textual -DEPENDS+= ${PYPKGPREFIX}-textual-autocomplete-[0-9]*:../../comms/py-textual-autocomplete DEPENDS+= ${PYPKGPREFIX}-click-[0-9]*:../../devel/py-click DEPENDS+= ${PYPKGPREFIX}-click-default-group-[0-9]*:../../devel/py-click-default-group +DEPENDS+= ${PYPKGPREFIX}-dotenv-[0-9]*:../../devel/py-dotenv DEPENDS+= ${PYPKGPREFIX}-httpx-[0-9]*:../../www/py-httpx -DEPENDS+= ${PYPKGPREFIX}-pyperclip-[0-9]*:../../x11/py-pyperclip DEPENDS+= ${PYPKGPREFIX}-pydantic-[0-9]*:../../devel/py-pydantic DEPENDS+= ${PYPKGPREFIX}-pydantic-settings-[0-9]*:../../devel/py-pydantic-settings -DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml -DEPENDS+= ${PYPKGPREFIX}-dotenv-[0-9]*:../../devel/py-dotenv +DEPENDS+= ${PYPKGPREFIX}-pyperclip-[0-9]*:../../x11/py-pyperclip +DEPENDS+= ${PYPKGPREFIX}-textual-[0-9]*:../../comms/py-textual +DEPENDS+= ${PYPKGPREFIX}-textual-autocomplete-[0-9]*:../../comms/py-textual-autocomplete DEPENDS+= ${PYPKGPREFIX}-xdg-base-dirs-[0-9]*:../../devel/py-xdg-base-dirs +DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml +TEST_DEPENDS+= ${PYPKGPREFIX}-test-textual-snapshot-[0-9]*:../../devel/py-test-textual-snapshot USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 38 39 310 +# 28 failed, 1 skipped, 1 warning + post-install: cd ${DESTDIR}${PREFIX}/bin && ${MV} posting posting-${PYVERSSUFFIX} diff --git a/www/py-posting/PLIST b/www/py-posting/PLIST index 975be48f6abe..2a2ca1f34458 100644 --- a/www/py-posting/PLIST +++ b/www/py-posting/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1 2024/07/14 12:50:40 wiz Exp $ +@comment $NetBSD: PLIST,v 1.2 2024/07/29 07:21:35 wiz Exp $ bin/posting-${PYVERSSUFFIX} ${PYSITELIB}/${WHEEL_INFODIR}/METADATA ${PYSITELIB}/${WHEEL_INFODIR}/RECORD @@ -24,6 +24,9 @@ ${PYSITELIB}/posting/commands.pyo ${PYSITELIB}/posting/config.py ${PYSITELIB}/posting/config.pyc ${PYSITELIB}/posting/config.pyo +${PYSITELIB}/posting/help_screen.py +${PYSITELIB}/posting/help_screen.pyc +${PYSITELIB}/posting/help_screen.pyo ${PYSITELIB}/posting/highlight_url.py ${PYSITELIB}/posting/highlight_url.pyc ${PYSITELIB}/posting/highlight_url.pyo @@ -55,6 +58,9 @@ ${PYSITELIB}/posting/save_request.pyo ${PYSITELIB}/posting/suggesters.py ${PYSITELIB}/posting/suggesters.pyc ${PYSITELIB}/posting/suggesters.pyo +${PYSITELIB}/posting/themes.py +${PYSITELIB}/posting/themes.pyc +${PYSITELIB}/posting/themes.pyo ${PYSITELIB}/posting/tuple_to_multidict.py ${PYSITELIB}/posting/tuple_to_multidict.pyc ${PYSITELIB}/posting/tuple_to_multidict.pyo @@ -85,6 +91,9 @@ ${PYSITELIB}/posting/widgets/collection/new_request_modal.pyo ${PYSITELIB}/posting/widgets/datatable.py ${PYSITELIB}/posting/widgets/datatable.pyc ${PYSITELIB}/posting/widgets/datatable.pyo +${PYSITELIB}/posting/widgets/input.py +${PYSITELIB}/posting/widgets/input.pyc +${PYSITELIB}/posting/widgets/input.pyo ${PYSITELIB}/posting/widgets/key_value.py ${PYSITELIB}/posting/widgets/key_value.pyc ${PYSITELIB}/posting/widgets/key_value.pyo @@ -154,3 +163,6 @@ ${PYSITELIB}/posting/widgets/variable_autocomplete.pyo ${PYSITELIB}/posting/widgets/variable_input.py ${PYSITELIB}/posting/widgets/variable_input.pyc ${PYSITELIB}/posting/widgets/variable_input.pyo +${PYSITELIB}/posting/xresources.py +${PYSITELIB}/posting/xresources.pyc +${PYSITELIB}/posting/xresources.pyo diff --git a/www/py-posting/distinfo b/www/py-posting/distinfo index feb7deea179c..512b0a7a50cc 100644 --- a/www/py-posting/distinfo +++ b/www/py-posting/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.1 2024/07/14 12:50:40 wiz Exp $ +$NetBSD: distinfo,v 1.2 2024/07/29 07:21:35 wiz Exp $ -BLAKE2s (posting-1.1.0.tar.gz) = bb98dd4ae6ab825f83b99f96e3c4335555d1e2e285ad6046c815f74b3edc3e23 -SHA512 (posting-1.1.0.tar.gz) = f0c014cf66253b8eb0bce0da4f0d464c9f9c2bba6179e787e6fe00bd1591b0d12ea94457b894cceeb076f55be9c91433a75fc690b0310bf66f24eef285658413 -Size (posting-1.1.0.tar.gz) = 63664 bytes +BLAKE2s (posting-1.9.3.tar.gz) = 7c9286900bf23b295fc17e318bdf01b8e2650f7746fa63154c0b48b18c59861e +SHA512 (posting-1.9.3.tar.gz) = 74b4d292735fe19b63bbf8f69b5a783fc44650c0f5af619ebcbd6a9dbc9438dbb39aa130bb9a80d8a08f78995d1d42e303a671171869be19f62dbb0d3f520a3a +Size (posting-1.9.3.tar.gz) = 244678 bytes