pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/py-posting
Module Name: pkgsrc
Committed By: wiz
Date: Tue Oct 22 18:37:56 UTC 2024
Modified Files:
pkgsrc/www/py-posting: Makefile PLIST distinfo
Log Message:
py-posting: update to 2.0.0.
## 2.0.0 [18th October 2024]
### Added
- **Scripting**: Run Python scripts before and after sending requests. Scripts can be used to perform setup, set variables, modify requests, and more.
- Define "setup", "pre-request" and "post-request" Python functions and attach them to requests.
- Posting will automatically reload these functions when they change, meaning you can edit them in an external editor while Posting is running.
- Scripts can be used to directly manipulate the request, set variables which are used in the request (e.g. set a `$token` variable which is used in the request URL).
- Output from scripts is captured and displayed in the "Scripts" tab.
- **Keymaps**: Change the default keybindings for any of Posting's "global" actions (e.g. sending request, opening jump mode, etc.) by editing `keymap` section of your `config.yaml` file.
- Added `heading.hostname` config to allow customisation of the hostname in the header. This field supports Rich markup. You may wish to use this to apply highlighting when `posting` is running on a
production system vs a development environment, for example.
- Added `focus.on_request_open` config to automatically shift focus when a request is opened via the collection browser. For example, you might prefer to have focus jump to the "Body" tab when a
request is opened.
- More detail and screenshots added to several sections of the guide.
- Much more detail added to the "Getting Started" section.
- Collections guide updated to explain more about the collection browser.
- Guide for Keymaps added.
- Guide for Scripting added.
- Guide for External Tools added (integrating with vim, less, fx, etc.)
- `alt`+`enter` can now be used to send a request (in addition to the existing `ctrl+j` binding).
- Tooltips added to more actions in the app footer. These appear on mouse hover.
### Changed
- Automatically apply `content-type` header based on the body type selected in the UI.
- Updated to Textual 0.83.0
- Various refinements to autocompletion, upgrading to textual-autocomplete 3.0.0a12.
- Dependency specifications loosened on several dependencies.
- Recommended installation method changed from rye to uv.
### Fixed
- Fixed double rendering in "jump mode" overlay.
- Fixed sidebar not working on mobile on https://posting.sh
- Fixed autocompletion appearing when on 1 item in the list and the "search string" is equal to that item.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/py-posting/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/py-posting/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/py-posting/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/py-posting/Makefile
diff -u pkgsrc/www/py-posting/Makefile:1.8 pkgsrc/www/py-posting/Makefile:1.9
--- pkgsrc/www/py-posting/Makefile:1.8 Mon Oct 14 06:46:06 2024
+++ pkgsrc/www/py-posting/Makefile Tue Oct 22 18:37:56 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2024/10/14 06:46:06 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2024/10/22 18:37:56 wiz Exp $
-DISTNAME= posting-1.13.0
+DISTNAME= posting-2.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_PYPI:=p/posting/}
@@ -14,28 +14,29 @@ TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-
DEPENDS+= ${PYPKGPREFIX}-click>=8.1.7:../../devel/py-click
DEPENDS+= ${PYPKGPREFIX}-click-default-group>=1.2.4:../../devel/py-click-default-group
DEPENDS+= ${PYPKGPREFIX}-dotenv>=1.0.1:../../devel/py-dotenv
-DEPENDS+= ${PYPKGPREFIX}-httpx>=0.27.0:../../www/py-httpx
-DEPENDS+= ${PYPKGPREFIX}-pydantic>=2.7.3:../../devel/py-pydantic
-DEPENDS+= ${PYPKGPREFIX}-pydantic-settings>=2.3.4:../../devel/py-pydantic-settings
-DEPENDS+= ${PYPKGPREFIX}-pyperclip>=1.8.2:../../x11/py-pyperclip
-DEPENDS+= ${PYPKGPREFIX}-textual>=0.76.0:../../comms/py-textual
-DEPENDS+= ${PYPKGPREFIX}-textual-autocomplete>=3.0.0alpha9:../../comms/py-textual-autocomplete
+DEPENDS+= ${PYPKGPREFIX}-httpx>=0.27.2:../../www/py-httpx
+DEPENDS+= ${PYPKGPREFIX}-pydantic>=2.9.2:../../devel/py-pydantic
+DEPENDS+= ${PYPKGPREFIX}-pydantic-settings>=2.4.0:../../devel/py-pydantic-settings
+DEPENDS+= ${PYPKGPREFIX}-pyperclip>=1.9.0:../../x11/py-pyperclip
+DEPENDS+= ${PYPKGPREFIX}-textual>=0.83.0:../../comms/py-textual
+DEPENDS+= ${PYPKGPREFIX}-textual-autocomplete>=3.0.0a12:../../comms/py-textual-autocomplete
DEPENDS+= ${PYPKGPREFIX}-xdg-base-dirs>=6.0.1:../../devel/py-xdg-base-dirs
-DEPENDS+= ${PYPKGPREFIX}-yaml>=6.0.1:../../textproc/py-yaml
+DEPENDS+= ${PYPKGPREFIX}-watchfiles>=0.24.0:../../misc/py-watchfiles
+DEPENDS+= ${PYPKGPREFIX}-yaml>=6.0.2:../../textproc/py-yaml
TEST_DEPENDS+= ${PYPKGPREFIX}-textual-dev>=1.5.1:../../comms/py-textual-dev
TEST_DEPENDS+= ${PYPKGPREFIX}-test-textual-snapshot>=1.0.0:../../devel/py-test-textual-snapshot
-#TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=5.0.0:../../devel/py-test-cov
-#TEST_DEPENDS+= ${PYPKGPREFIX}-jinja2>=3.1.4:../../textproc/py-jinja2
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=5.0.0:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-jinja2>=3.1.4:../../textproc/py-jinja2
# "syrupy>=4.6.1",
# "pytest-xdist>=3.6.1",
# "mkdocs-material>=9.5.30",
USE_LANGUAGES= # none
-PYTHON_VERSIONS_INCOMPATIBLE= 39 310
+PYTHON_VERSIONS_INCOMPATIBLE= 310
-# as of 1.13.0
-# 7 failed, 54 passed, 5 skipped, 1 warning
+# as of 2.0.0.
+# 8 failed, 64 passed, 1 warning
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${MV} posting posting-${PYVERSSUFFIX}
Index: pkgsrc/www/py-posting/PLIST
diff -u pkgsrc/www/py-posting/PLIST:1.3 pkgsrc/www/py-posting/PLIST:1.4
--- pkgsrc/www/py-posting/PLIST:1.3 Mon Aug 19 21:41:08 2024
+++ pkgsrc/www/py-posting/PLIST Tue Oct 22 18:37:56 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2024/08/19 21:41:08 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2024/10/22 18:37:56 wiz Exp $
bin/posting-${PYVERSSUFFIX}
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -58,6 +58,9 @@ ${PYSITELIB}/posting/request_headers.pyo
${PYSITELIB}/posting/save_request.py
${PYSITELIB}/posting/save_request.pyc
${PYSITELIB}/posting/save_request.pyo
+${PYSITELIB}/posting/scripts.py
+${PYSITELIB}/posting/scripts.pyc
+${PYSITELIB}/posting/scripts.pyo
${PYSITELIB}/posting/suggesters.py
${PYSITELIB}/posting/suggesters.pyc
${PYSITELIB}/posting/suggesters.pyo
@@ -133,6 +136,9 @@ ${PYSITELIB}/posting/widgets/request/req
${PYSITELIB}/posting/widgets/request/request_options.py
${PYSITELIB}/posting/widgets/request/request_options.pyc
${PYSITELIB}/posting/widgets/request/request_options.pyo
+${PYSITELIB}/posting/widgets/request/request_scripts.py
+${PYSITELIB}/posting/widgets/request/request_scripts.pyc
+${PYSITELIB}/posting/widgets/request/request_scripts.pyo
${PYSITELIB}/posting/widgets/request/url_bar.py
${PYSITELIB}/posting/widgets/request/url_bar.pyc
${PYSITELIB}/posting/widgets/request/url_bar.pyo
@@ -151,6 +157,12 @@ ${PYSITELIB}/posting/widgets/response/re
${PYSITELIB}/posting/widgets/response/response_trace.py
${PYSITELIB}/posting/widgets/response/response_trace.pyc
${PYSITELIB}/posting/widgets/response/response_trace.pyo
+${PYSITELIB}/posting/widgets/response/script_output.py
+${PYSITELIB}/posting/widgets/response/script_output.pyc
+${PYSITELIB}/posting/widgets/response/script_output.pyo
+${PYSITELIB}/posting/widgets/rich_log.py
+${PYSITELIB}/posting/widgets/rich_log.pyc
+${PYSITELIB}/posting/widgets/rich_log.pyo
${PYSITELIB}/posting/widgets/select.py
${PYSITELIB}/posting/widgets/select.pyc
${PYSITELIB}/posting/widgets/select.pyo
Index: pkgsrc/www/py-posting/distinfo
diff -u pkgsrc/www/py-posting/distinfo:1.6 pkgsrc/www/py-posting/distinfo:1.7
--- pkgsrc/www/py-posting/distinfo:1.6 Fri Sep 13 09:50:37 2024
+++ pkgsrc/www/py-posting/distinfo Tue Oct 22 18:37:56 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2024/09/13 09:50:37 wiz Exp $
+$NetBSD: distinfo,v 1.7 2024/10/22 18:37:56 wiz Exp $
-BLAKE2s (posting-1.13.0.tar.gz) = 15e289c6c15fb0e526e3c7a842fda05312b18dc67b4335b5f6f8dee5cf57dcde
-SHA512 (posting-1.13.0.tar.gz) = ef4275e0cb3ccb7cffe36137038c5be38fe52dd3e8bc172d38d29691510b5ef5d382cd870eaea4d106e55f7803727c388cc8b8cedd9353941e27e18fbd00c324
-Size (posting-1.13.0.tar.gz) = 2843116 bytes
+BLAKE2s (posting-2.0.0.tar.gz) = 69174880d020f1b8ad0e19c5962553c24110e9103c87a5c0fbaeedaf0a00c681
+SHA512 (posting-2.0.0.tar.gz) = 22dde98f5797429dd31a3e50efcb52ddcdd035dfdc7b930ea41b3bb1241f625e14264e6cfb764008e531b25ebe6be34747faed16a4be887e8f4e61ada5d83abd
+Size (posting-2.0.0.tar.gz) = 3362324 bytes
Home |
Main Index |
Thread Index |
Old Index