diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-admin/yadm/yadm-1.07.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-admin/yadm/yadm-1.07.ebuild')
-rw-r--r-- | app-admin/yadm/yadm-1.07.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/app-admin/yadm/yadm-1.07.ebuild b/app-admin/yadm/yadm-1.07.ebuild new file mode 100644 index 000000000000..7c5907088202 --- /dev/null +++ b/app-admin/yadm/yadm-1.07.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="A dotfile manager for the config files in your home folder" +HOMEPAGE="https://github.com/TheLocehiliosan/yadm/" +SRC_URI="https://github.com/TheLocehiliosan/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DOCS=( CHANGES CONTRIBUTORS README.md ) + +DEPEND=" + test? ( + dev-tcltk/expect + dev-util/bats + dev-vcs/git + )" +RDEPEND=" + app-crypt/gnupg + dev-vcs/git" + +src_compile() { + emake yadm.md +} + +src_test() { + # 109_accept_encryption tests are interactive, thus fail. Skip them + while IFS="" read -d $'\0' -r f ; do + bats "${f}" || die "Test ${f} failed" + done < <(find test -name '*.bats' -and -not -name '109_accept_encryption.bats' -print0) +} + +src_install() { + einstalldocs + + dobin "${PN}" + doman "${PN}.1" +} |