diff --git a/srcpkgs/posting/template b/srcpkgs/posting/template new file mode 100644 index 0000000..fecf8dc --- /dev/null +++ b/srcpkgs/posting/template @@ -0,0 +1,24 @@ +# Template file for 'posting' +pkgname=posting +version=2.10.0 +revision=1 +build_style=python3-pep517 +# test_snapshots.py requires pytest-textual-snapshot (not in Void repo) +make_check_args="--ignore=tests/test_snapshots.py" +hostmakedepends="python3-build python3-installer hatchling" +depends="python3-click python3-click-default-group python3-xdg-base-dirs + python3-httpx python3-pyperclip python3-pydantic python3-pydantic-settings + python3-yaml python3-dotenv python3-watchfiles python3-textual python3-textual-autocomplete python3-rich + python3-typing_extensions python3-openapi-pydantic" +checkdepends="python3-pytest $depends" +short_desc="Modern API client that lives in your terminal" +maintainer="Vitali Kaplich " +license="MIT" +homepage="https://github.com/darrenburns/posting" +changelog="https://github.com/darrenburns/posting/releases/tag/${version}" +distfiles="https://github.com/darrenburns/posting/archive/refs/tags/${version}/${pkgname}-${version}.tar.gz" +checksum=4dab923cc9bd374f5b3d54a9f4d4d9e712c3854df6be192d407e34b77da99653 + +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/python3-click-default-group/template b/srcpkgs/python3-click-default-group/template new file mode 100644 index 0000000..9b7b7a4 --- /dev/null +++ b/srcpkgs/python3-click-default-group/template @@ -0,0 +1,18 @@ +# Template file for 'python3-click-default-group' +pkgname=python3-click-default-group +version=1.2.4 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-build python3-installer python3-flit_core" +depends="python3-click" +checkdepends="python3-pytest $depends" +short_desc="Group to invoke a command without explicit subcommand name" +maintainer="Vitali Kaplich " +license="BSD-3-Clause" +homepage="https://github.com/click-contrib/click-default-group" +distfiles="${PYPI_SITE}/c/click-default-group/click_default_group-${version}.tar.gz" +checksum=eb3f3c99ec0d456ca6cd2a7f08f7d4e91771bef51b01bdd9580cc6450fe1251e + +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/python3-openapi-pydantic/template b/srcpkgs/python3-openapi-pydantic/template new file mode 100644 index 0000000..d454777 --- /dev/null +++ b/srcpkgs/python3-openapi-pydantic/template @@ -0,0 +1,18 @@ +# Template file for 'python3-openapi-pydantic' +pkgname=python3-openapi-pydantic +version=0.5.1 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-build python3-installer python3-poetry-core" +depends="python3-pydantic" +short_desc="Modern, type-safe OpenAPI schemas in Python" +maintainer="Vitali Kaplich " +license="MIT" +homepage="https://github.com/mike-oakley/openapi-pydantic" +changelog="https://github.com/mike-oakley/openapi-pydantic/releases" +distfiles="${PYPI_SITE}/o/openapi-pydantic/openapi_pydantic-${version}.tar.gz" +checksum=ff6835af6bde7a459fb93eb93bb92b8749b754fc6e51b2f1590a19dc3005ee0d + +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/python3-pydantic-settings/template b/srcpkgs/python3-pydantic-settings/template new file mode 100644 index 0000000..2618dbf --- /dev/null +++ b/srcpkgs/python3-pydantic-settings/template @@ -0,0 +1,24 @@ +# Template file for 'python3-pydantic-settings' +pkgname=python3-pydantic-settings +version=2.14.1 +revision=1 +build_style=python3-pep517 +# test_docs.py requires pytest-examples (not packaged for Void) +# test_source_json.py uses importlib.resources.files('tests') which fails +# in xbps-src sandbox where tests aren't installed as importable package +# test_read_dotenv_vars_from_fifo fails in sandbox/container environment +make_check_args="--ignore=tests/test_docs.py --ignore=tests/test_source_json.py -k not test_read_dotenv_vars_from_fifo" +hostmakedepends="python3-build python3-installer hatchling" +depends="python3-dotenv python3-pydantic python3-pydantic-core + python3-typing_extensions python3-typing-inspection" +checkdepends="python3-pytest python3-pytest-mock $depends" +short_desc="Settings management using Pydantic" +maintainer="Vitali Kaplich " +license="MIT" +homepage="https://github.com/pydantic/pydantic-settings/" +distfiles="${PYPI_SITE}/p/pydantic-settings/pydantic_settings-${version}.tar.gz" +checksum=e874d3bec7e787b0c9958277956ed9b4dd5de6a80e162188fdaff7c5e26fd5fa + +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/python3-textual-autocomplete/template b/srcpkgs/python3-textual-autocomplete/template new file mode 100644 index 0000000..fe89bb8 --- /dev/null +++ b/srcpkgs/python3-textual-autocomplete/template @@ -0,0 +1,17 @@ +# Template file for 'python3-textual-autocomplete' +pkgname=python3-textual-autocomplete +version=4.0.6 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-build python3-installer hatchling" +depends="python3-textual python3-typing_extensions" +short_desc="Easily add autocomplete dropdowns to your Textual apps" +maintainer="Vitali Kaplich " +license="MIT" +homepage="https://github.com/darrenburns/textual-autocomplete" +distfiles="${PYPI_SITE}/t/textual-autocomplete/textual_autocomplete-${version}.tar.gz" +checksum=2ba2f0d767be4480ecacb3e4b130cf07340e033c3500fc424fed9125d27a4586 + +post_install() { + vlicense LICENSE +}