yadm: update to 3.3.0, do_check, adopt.
This commit is contained in:
parent
c4393e8841
commit
cbf08ff976
@ -1,14 +1,16 @@
|
|||||||
# Template file for 'yadm'
|
# Template file for 'yadm'
|
||||||
pkgname=yadm
|
pkgname=yadm
|
||||||
version=3.2.2
|
version=3.3.0
|
||||||
revision=2
|
revision=1
|
||||||
depends="bash git gnupg"
|
depends="bash git gnupg"
|
||||||
|
checkdepends="${depends/bash /} python3-pytest esh expect tar"
|
||||||
short_desc="Yet Another Dotfiles Manager"
|
short_desc="Yet Another Dotfiles Manager"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://yadm.io/"
|
homepage="https://yadm.io/"
|
||||||
|
changelog="https://raw.githubusercontent.com/yadm-dev/yadm/refs/heads/master/CHANGES"
|
||||||
distfiles="https://github.com/TheLocehiliosan/yadm/archive/${version}.tar.gz"
|
distfiles="https://github.com/TheLocehiliosan/yadm/archive/${version}.tar.gz"
|
||||||
checksum=c5fb508748995ce4c08a21d8bcda686ad680116ccf00a5318bbccf147f4c33ad
|
checksum=a977836ee874fece3d69b5a8f7436e6ce4e6bf8d2520f8517c128281cc6b101d
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin yadm
|
vbin yadm
|
||||||
@ -17,3 +19,14 @@ do_install() {
|
|||||||
vcompletion completion/fish/yadm.fish fish
|
vcompletion completion/fish/yadm.fish fish
|
||||||
vcompletion completion/zsh/_yadm zsh
|
vcompletion completion/zsh/_yadm zsh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
# skip tests for template engines we don't support
|
||||||
|
# test_syntax.py needs specific versions of linters, skip
|
||||||
|
# test_upgrade.py needs old versions of yadm
|
||||||
|
pytest -k 'not((-envtpl])or(-j2])or(-j2cli]))' \
|
||||||
|
--ignore test/test_unit_template_j2.py \
|
||||||
|
--ignore test/test_syntax.py \
|
||||||
|
--ignore test/test_upgrade.py \
|
||||||
|
--deselect test/test_encryption.py::test_offer_to_add
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user