Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions srcpkgs/posting/template
Original file line number Diff line number Diff line change
@@ -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 <vitalik.kaplich@yandex.by>"
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
}
18 changes: 18 additions & 0 deletions srcpkgs/python3-click-default-group/template
Original file line number Diff line number Diff line change
@@ -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 <vitalik.kaplich@yandex.by>"
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
}
18 changes: 18 additions & 0 deletions srcpkgs/python3-openapi-pydantic/template
Original file line number Diff line number Diff line change
@@ -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 <vitalik.kaplich@yandex.by>"
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
}
24 changes: 24 additions & 0 deletions srcpkgs/python3-pydantic-settings/template
Original file line number Diff line number Diff line change
@@ -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 <vitalik.kaplich@yandex.by>"
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
}
17 changes: 17 additions & 0 deletions srcpkgs/python3-textual-autocomplete/template
Original file line number Diff line number Diff line change
@@ -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 <vitalik.kaplich@yandex.by>"
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
}
Loading