Files
Das-OS/srcpkgs/deployer/template
T
dasandClaude Sonnet 5.5 8db767efb9
build / build (push) Successful in 21m56s
publisher, deployer: report ssh failure instead of BrokenPipeError (0.9.8)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 18:34:29 +02:00

28 lines
977 B
Plaintext

# Template file for 'deployer'
# In-tree package: sources are in files/ (FILESDIR), a copy of ~/Dev/Projects/Python/deployer.
# Differences from the upstream: the config is in ~/.config/deployer (see bin/deploy) and
# history.log is in ~/.local/state/deployer.
pkgname=deployer
version=0.3.1
revision=1
create_wrksrc=yes
hostmakedepends="python3"
depends="python3 python3-textual openssh rsync"
short_desc="TUI/CLI deploy of local projects to a server over ssh + rsync"
maintainer="Das <anry.das@gmail.com>"
license="MIT"
homepage="https://git.das.org.ua/das/Das-OS"
pycompile_dirs="usr/lib/das/deployer"
python_version=3
do_install() {
local f dir
for f in "${FILESDIR}"/python/deployer/*.py "${FILESDIR}"/python/deployer/kinds/*.py; do
dir=${f#"${FILESDIR}"/python/}
vinstall "${f}" 644 "usr/lib/das/deployer/${dir%/*}"
done
vbin "${FILESDIR}/bin/deploy"
vinstall "${FILESDIR}/share/deploy.toml.example" 644 usr/share/das/deployer
vlicense "${FILESDIR}/LICENSE"
}