Skip to content
Merged
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
6 changes: 3 additions & 3 deletions srcpkgs/python3-annotated_doc/template
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Template file for 'python3-annotated_doc'
pkgname=python3-annotated_doc
version=0.0.4
version=0.0.5
revision=1
build_style=python3-pep517
hostmakedepends="python3-pdm-backend"
checkdepends="python3-pytest python3-smokeshow"
short_desc="Document parameters, class attributes, return types, variables inline"
maintainer="Jason Elswick <jason@jasondavid.us>"
license="MIT"
homepage="https://github.com/fastapi/annotated-doc"
distfiles="https://github.com/fastapi/annotated-doc/archive/refs/tags/${version}.tar.gz"
checksum=f23767d1df005c26f25a1fc203d89b5d46b75a120227c97dd1094d1e16733336
make_check=no # unpackaged dependency python3-smokeshow
checksum=b1df640b7d5658b8d3807b42d51291ed3f24e43d4a059092c11495a3f7714fc9

post_install() {
vlicense LICENSE
Expand Down
4 changes: 2 additions & 2 deletions srcpkgs/python3-fastapi/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'python3-fastapi'
pkgname=python3-fastapi
version=0.139.2
version=0.141.1
revision=1
build_style=python3-pep517
hostmakedepends="python3-pdm-backend"
Expand All @@ -10,7 +10,7 @@ maintainer="Jason Elswick <jason@jasondavid.us>"
license="MIT"
homepage="https://github.com/FastAPI/FastAPI"
distfiles="https://github.com/fastapi/fastapi/archive/refs/tags/${version}.tar.gz"
checksum=870e849818e04f533fa7dec8537026b4af24feb137a18b8c3e195a1dc923bc6d
checksum=c52580c47877162cffe6f880430fa9e5d84caf232258be26cde5e63e85eb0d6a
make_check=no # too many unpackaged dependencies

post_install() {
Expand Down
21 changes: 21 additions & 0 deletions srcpkgs/python3-smokeshow/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Template file for 'python3-smokeshow'
pkgname=python3-smokeshow
version=0.5
revision=1
build_style=python3-pep517
build_wrksrc=cli
make_check_args="--deselect tests/test_cli.py::test_upload_error --deselect tests/test_cli.py::test_upload_http_error"
hostmakedepends="hatchling"
depends="python3-httpx python3-typer"
checkdepends="${depends} python3-pytest python3-pytest-mock python3-dirty-equals python3-aiohttp"
short_desc="CLI to deploy ephemeral websites"
maintainer="Jason Elswick <jason@jasondavid.us>"
license="MIT"
homepage="https://smokeshow.helpmanual.io"
changelog="https://github.com/samuelcolvin/smokeshow/releases"
distfiles="https://github.com/samuelcolvin/smokeshow/archive/refs/tags/v${version}.tar.gz"
checksum=e5383dd7b3c1db14204ad251b58a77ee459f3096fb78e2927b707fbf43d8ab50

post_install() {
vlicense LICENSE
}
20 changes: 20 additions & 0 deletions srcpkgs/python3-typer/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Template file for 'python3-typer'
pkgname=python3-typer
version=0.27.2
revision=1
build_style=python3-pep517
make_check_args="--deselect tests/test_tutorial --deselect tests/test_types_file.py::test_file_error --deselect tests/test_types_file.py::test_binary_stderr"
hostmakedepends="python3-pdm-backend"
depends="python3-click python3-rich python3-shellingham python3-typing_extensions python3-annotated_doc"
checkdepends="${depends} python3-pytest python3-pytest-cov python3-pytest-xdist python3-pytest-sugar python3-mypy"
short_desc="Build great CLIs - Based on Python type hints"
maintainer="Jason Elswick <jason@jasondavid.us>"
license="MIT"
homepage="https://github.com/fastapi/typer"
distfiles="https://github.com/fastapi/typer/archive/refs/tags/${version}.tar.gz"
checksum=0f57d0e366c328c7c6fd636c7d9aa49d25f08fa79c9de642038a8877c81e55c9

post_install() {
vlicense LICENSE
mv "${DESTDIR}/usr/bin/typer" "${DESTDIR}/usr/bin/python-typer"
}