head	1.16;
access;
symbols
	pkgsrc-2026Q2:1.16.0.4
	pkgsrc-2026Q2-base:1.16
	pkgsrc-2026Q1:1.16.0.2
	pkgsrc-2026Q1-base:1.16
	pkgsrc-2025Q4:1.15.0.2
	pkgsrc-2025Q4-base:1.15
	pkgsrc-2025Q3:1.14.0.2
	pkgsrc-2025Q3-base:1.14
	pkgsrc-2025Q2:1.13.0.2
	pkgsrc-2025Q2-base:1.13
	pkgsrc-2025Q1:1.12.0.4
	pkgsrc-2025Q1-base:1.12
	pkgsrc-2024Q4:1.12.0.2
	pkgsrc-2024Q4-base:1.12
	pkgsrc-2024Q3:1.7.0.2
	pkgsrc-2024Q3-base:1.7;
locks; strict;
comment	@# @;


1.16
date	2026.01.15.09.02.53;	author adam;	state Exp;
branches;
next	1.15;
commitid	nP46J3mdm8mq5tqG;

1.15
date	2025.10.09.07.58.11;	author wiz;	state Exp;
branches;
next	1.14;
commitid	t4nMY0Dt3rBjSRdG;

1.14
date	2025.08.20.09.28.17;	author adam;	state Exp;
branches;
next	1.13;
commitid	2fcsnEZly1S9Zr7G;

1.13
date	2025.04.20.22.19.11;	author wiz;	state Exp;
branches;
next	1.12;
commitid	GSkfj6bNQs5Z9QRF;

1.12
date	2024.11.24.10.44.23;	author wiz;	state Exp;
branches;
next	1.11;
commitid	Vtdv1ZL4m6Cp3TyF;

1.11
date	2024.11.17.09.44.37;	author wiz;	state Exp;
branches;
next	1.10;
commitid	I6RtG9j1htpRWYxF;

1.10
date	2024.11.01.00.13.43;	author wiz;	state Exp;
branches;
next	1.9;
commitid	4z9crmagU5VTiSvF;

1.9
date	2024.10.22.18.37.56;	author wiz;	state Exp;
branches;
next	1.8;
commitid	PBlxCnagsDtzJGuF;

1.8
date	2024.10.14.06.46.06;	author wiz;	state Exp;
branches;
next	1.7;
commitid	ynDJEEQamKd33BtF;

1.7
date	2024.09.13.09.50.37;	author wiz;	state Exp;
branches;
next	1.6;
commitid	rWpwSCD14AAs4DpF;

1.6
date	2024.08.25.10.49.33;	author wiz;	state Exp;
branches;
next	1.5;
commitid	yAGwrq8M21Rs0cnF;

1.5
date	2024.08.19.21.41.08;	author wiz;	state Exp;
branches;
next	1.4;
commitid	eZNbr9KoN142OtmF;

1.4
date	2024.08.06.12.45.32;	author wiz;	state Exp;
branches;
next	1.3;
commitid	KtkMv0b9MU0cgLkF;

1.3
date	2024.07.29.07.21.35;	author wiz;	state Exp;
branches;
next	1.2;
commitid	nShECIeQp2y0JHjF;

1.2
date	2024.07.18.04.52.45;	author wiz;	state Exp;
branches;
next	1.1;
commitid	MQG68cTnxIjRfhiF;

1.1
date	2024.07.14.12.50.40;	author wiz;	state Exp;
branches;
next	;
commitid	F96oXnVW035O1OhF;


desc
@@


1.16
log
@py-posting: updated to 2.9.2

2.9.2 [14th October 2025]

Fixed

- Fixed path parameters interference across requests.

2.9.1 [24th September 2025]

Fixed

- Fixed unexpectedly high CPU usage via updating textual-autocomplete to 4.0.6.

2.9.0 [17th September 2025]

Added

- Path parameter support (`:param` syntax)
- New built-in themes: `hypernova`, `synthwave`.
- Added `export: copy as YAML` command to the command palette
@
text
@# $NetBSD: Makefile,v 1.15 2025/10/09 07:58:11 wiz Exp $

DISTNAME=	posting-2.9.2
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	www python
MASTER_SITES=	${MASTER_SITE_PYPI:=p/posting/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/darrenburns/posting
COMMENT=	Modern API client that lives in your terminal
LICENSE=	apache-2.0

TOOL_DEPENDS+=	${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-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.28.1:../../www/py-httpx
DEPENDS+=	${PYPKGPREFIX}-openapi-pydantic>=0.5.0:../../textproc/py-openapi-pydantic
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-autocomplete>=4.0.6:../../comms/py-textual-autocomplete
DEPENDS+=	${PYPKGPREFIX}-textual>=6.1.0:../../comms/py-textual
DEPENDS+=	${PYPKGPREFIX}-watchfiles>=0.24.0:../../misc/py-watchfiles
DEPENDS+=	${PYPKGPREFIX}-xdg-base-dirs>=6.0.1:../../devel/py-xdg-base-dirs
DEPENDS+=	${PYPKGPREFIX}-yaml>=6.0.2:../../textproc/py-yaml
TEST_DEPENDS+=	${PYPKGPREFIX}-jinja2>=3.1.4:../../textproc/py-jinja2
TEST_DEPENDS+=	${PYPKGPREFIX}-syrupy>=4.6.1:../../devel/py-syrupy
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}-test-xdist>=3.6.1:../../devel/py-test-xdist
TEST_DEPENDS+=	${PYPKGPREFIX}-textual-dev>=1.5.1:../../comms/py-textual-dev
#    "mkdocs-material>=9.5.30",
#    "pyinstrument>=5.0.1",

USE_LANGUAGES=	# none

PYTHON_VERSIONS_INCOMPATIBLE=	310

# as of 2.7.0
# 56 failed, 115 passed, 1 skipped, 1 warning

post-install:
	cd ${DESTDIR}${PREFIX}/bin && ${MV} posting posting-${PYVERSSUFFIX}

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.15
log
@*: remove reference to (removed) Python 3.9
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2025/08/20 09:28:17 adam Exp $
d3 1
a3 1
DISTNAME=	posting-2.7.1
d22 2
a23 2
DEPENDS+=	${PYPKGPREFIX}-textual-autocomplete>=4.0.4:../../comms/py-textual-autocomplete
DEPENDS+=	${PYPKGPREFIX}-textual>=3.0.0:../../comms/py-textual
@


1.14
log
@py-posting: updated to 2.7.1

2.7.1

Fixed

- Pin tree-sitter to <0.25.0 to fix crash due to breaking API change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2025/04/20 22:19:11 wiz Exp $
d38 1
a38 1
PYTHON_VERSIONS_INCOMPATIBLE=	39 310
@


1.13
log
@py-posting: update to 2.7.0.

2.7.0

The main feature of this release is the ability to import collections from Postman.

2.6.0

This is a pretty huge release. It introduces a bunch of features the community requested, and a bunch they didn't!

2.5.4

Fixes an issue where user configured User-Agent headers were being overwritten by Posting's own User-Agent.

Posting now only adds the header if a user has not supplied it themselves.

2.5.3

This release reduces the startup time of Posting by around 40%.

2.5.2

A little bit of polish.

2.5.1

Small fix and tweak.

2.5.0

This release adds support for Bearer token auth, thanks to @@edgarrmondragon!

2.4.1

Bugfix release.

2.4.0

Request search, curl export, toggle table rows, and more!
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2024/11/24 10:44:23 wiz Exp $
d3 1
a3 1
DISTNAME=	posting-2.7.0
d5 1
a5 1
CATEGORIES=	www
d14 1
a15 1
DEPENDS+=	${PYPKGPREFIX}-click>=8.1.7:../../devel/py-click
d18 2
a20 2
DEPENDS+=	${PYPKGPREFIX}-pydantic>=2.9.2:../../devel/py-pydantic
DEPENDS+=	${PYPKGPREFIX}-openapi-pydantic>=0.5.0:../../textproc/py-openapi-pydantic
d27 2
a28 1
TEST_DEPENDS+=	${PYPKGPREFIX}-textual-dev>=1.5.1:../../comms/py-textual-dev
d31 2
a32 3
TEST_DEPENDS+=	${PYPKGPREFIX}-jinja2>=3.1.4:../../textproc/py-jinja2
#    "syrupy>=4.6.1",
#    "pytest-xdist>=3.6.1",
d38 1
a38 1
PYTHON_VERSIONS_INCOMPATIBLE=	310
@


1.12
log
@py-posting: update to 2.3.0.

2.3.0

If Posting is using a theme, and you edit that theme on disk, the
UI will now instantly update to reflect that change.

2.2.0

This release upgrades the theme system, introduces 15 new themes,
makes syntax highlighting automatically adapt to the theme, and
lots more!
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2024/11/17 09:44:37 wiz Exp $
d3 1
a3 1
DISTNAME=	posting-2.3.0
d14 1
a15 1
DEPENDS+=	${PYPKGPREFIX}-click-default-group>=1.2.4:../../devel/py-click-default-group
d17 2
a18 1
DEPENDS+=	${PYPKGPREFIX}-httpx>=0.27.2:../../www/py-httpx
d20 1
a20 1
DEPENDS+=	${PYPKGPREFIX}-pydantic-settings>=2.4.0:../../devel/py-pydantic-settings
d22 3
a24 2
DEPENDS+=	${PYPKGPREFIX}-textual>=0.83.0:../../comms/py-textual
DEPENDS+=	${PYPKGPREFIX}-textual-autocomplete>=3.0.0a12:../../comms/py-textual-autocomplete
a25 1
DEPENDS+=	${PYPKGPREFIX}-watchfiles>=0.24.0:../../misc/py-watchfiles
d34 1
d40 2
a41 2
# as of 2.3.0
# 9 failed, 81 passed, 1 warning
@


1.11
log
@py-posting: update to 2.1.1.

2.1.1

Fixed

    Fix collection browser message not being visible when it's empty.

Changed

    Improved message in empty collection browser, indicating keybind for how to toggle the collection browser.
    Full Changelog: 2.1.0...2.1.1

2.1.0

With Posting 2.1, you can now import curl commands by pasting them into the URL bar.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2024/11/01 00:13:43 wiz Exp $
d3 1
a3 1
DISTNAME=	posting-2.1.1
d38 2
a39 2
# as of 2.1.1
# 7 failed, 84 passed, 1 warning
@


1.10
log
@py-posting: update to 2.0.1.

Fixes a performance regression and some visual issues.

    Bump Textual version by @@darrenburns in #119
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2024/10/22 18:37:56 wiz Exp $
d3 1
a3 1
DISTNAME=	posting-2.0.1
d38 2
a39 2
# as of 2.0.1
# 8 failed, 64 passed, 1 warning
@


1.9
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2024/10/14 06:46:06 wiz Exp $
d3 1
a3 1
DISTNAME=	posting-2.0.0
d38 1
a38 1
# as of 2.0.0.
@


1.8
log
@*: clean-up after python38 removal
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2024/09/13 09:50:37 wiz Exp $
d3 1
a3 1
DISTNAME=	posting-1.13.0
d17 6
a22 6
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
d24 2
a25 1
DEPENDS+=	${PYPKGPREFIX}-yaml>=6.0.1:../../textproc/py-yaml
d28 2
a29 2
#TEST_DEPENDS+=	${PYPKGPREFIX}-test-cov>=5.0.0:../../devel/py-test-cov
#TEST_DEPENDS+=	${PYPKGPREFIX}-jinja2>=3.1.4:../../textproc/py-jinja2
d36 1
a36 1
PYTHON_VERSIONS_INCOMPATIBLE=	39 310
d38 2
a39 2
# as of 1.13.0
# 7 failed, 54 passed, 5 skipped, 1 warning
@


1.7
log
@py-posting: update to 1.13.0.

1.13.0

What's Changed

With this release, Posting will watch loaded environment files and
refresh the UI to reflect changes in them. There's some new config
for hiding the collection browser on startup too, and a bunch of
smaller changes. See the log below for more info.

Added

    New collection_browser.show_on_startup config to control whether the collection browser is shown on startup.
    Watch for changes to loaded dotenv files and reload UI elements that depend on them when they change.

Changed

    Upgraded all dependencies.
    Remove pydantic-settings crash workaround on empty config files.
    Renaming App.maximized as it now clashes with a Textual concept.
    Removed "using default collection" message from startup.

Fixed

    Fixed crash while rendering error message on timeout.

1.12.3

What's Changed

    Upgrade textual by @@darrenburns in #94
    Catch possible pyperclip exception if no clipboard mechanism installed by @@seapagan in #98

1.12.2

Note: 1.12.2 was yanked. It's equivalent to 1.12.1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2024/08/25 10:49:33 wiz Exp $
d35 1
a35 1
PYTHON_VERSIONS_INCOMPATIBLE=	38 39 310
@


1.6
log
@py-posting: update to 1.12.1.

Fixed

    Fix "invalid escape sequence" warnings on Python 3.12+
    Fix buttons in request deletion confirmation modal not being usable with the enter key.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2024/08/19 21:41:08 wiz Exp $
d3 1
a3 1
DISTNAME=	posting-1.12.1
d35 1
a35 1
PYTHON_VERSIONS_INCOMPATIBLE=	27 38 39 310
d37 2
a38 4
# as of 1.12.0
# 5 failed, 56 passed, 5 skipped, 1 warning
# as of 1.12.1
# 26 failed, 35 passed, 5 skipped, 1 warning
@


1.5
log
@py-posting: update to 1.12.0.

Methods in the collection browser (sidebar) are now coloured.
Add (work-in-progress) Guide: https://posting.sh/guide/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2024/08/06 12:45:32 wiz Exp $
d3 1
a3 1
DISTNAME=	posting-1.12.0
d39 2
@


1.4
log
@py-posting: update to 1.10.1.

1.10.1

fix: Disable Textual's AUTO_FOCUS behaviour, as it was causing focused widget to change unexpectedly on unmounting a screen.

1.10.0

Better user defined themes

Posting's theme system has received an upgrade 🛠️ 🎨

100% of the UI is now colored based on the chosen theme - including
syntax highlighting!

You can also now target more specific elements in the UI with your
themes, for times where you disagree with Posting's use of semantic
colors.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2024/07/29 07:21:35 wiz Exp $
d3 1
a3 1
DISTNAME=	posting-1.10.1
d14 18
a31 12
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}-pydantic-[0-9]*:../../devel/py-pydantic
DEPENDS+=	${PYPKGPREFIX}-pydantic-settings-[0-9]*:../../devel/py-pydantic-settings
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
d37 2
a38 1
# 32 failed, 1 skipped, 1 warning
@


1.3
log
@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
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2024/07/18 04:52:45 wiz Exp $
d3 1
a3 1
DISTNAME=	posting-1.9.3
d31 1
a31 1
# 28 failed, 1 skipped, 1 warning
@


1.2
log
@py-posting: for python 3.11+ only
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2024/07/14 12:50:40 wiz Exp $
d3 1
a3 1
DISTNAME=	posting-1.1.0
a13 2
DEPENDS+=	${PYPKGPREFIX}-textual-[0-9]*:../../comms/py-textual
DEPENDS+=	${PYPKGPREFIX}-textual-autocomplete-[0-9]*:../../comms/py-textual-autocomplete
d16 1
a17 1
DEPENDS+=	${PYPKGPREFIX}-pyperclip-[0-9]*:../../x11/py-pyperclip
d20 4
d25 1
a25 2
DEPENDS+=	${PYPKGPREFIX}-dotenv-[0-9]*:../../devel/py-dotenv
DEPENDS+=	${PYPKGPREFIX}-xdg-base-dirs-[0-9]*:../../devel/py-xdg-base-dirs
d31 2
@


1.1
log
@www/py-posting: import py-posting-1.1.0

Posting is an HTTP client, not unlike Postman and Insomnia. As a
TUI application, it can be used over SSH and enables efficient
keyboard-centric workflows. Your requests are stored locally in
simple YAML files, meaning they're easy to read and version control.

Some notable features include: "jump mode" navigation,
environments/variables system with autocompletion, syntax highlighting
powered by tree-sitter, Vim keys, various builtin themes, a
configuration system, "open in $EDITOR", and a command palette for
quickly accessing functionality.
@
text
@d1 1
a1 1
# $NetBSD$
d28 2
@

