Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/yadm/
Date: Sun, 31 Dec 2017 20:46:40
Message-Id: 1514753188.203a8aa3740fe72a810b77a3e5830e477df3a17c.monsieurp@gentoo
1 commit: 203a8aa3740fe72a810b77a3e5830e477df3a17c
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 31 20:46:13 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 31 20:46:28 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=203a8aa3
7
8 app-admin/yadm: version bump.
9
10 Closes: https://bugs.gentoo.org/642660
11 Package-Manager: Portage-2.3.13, Repoman-2.3.3
12
13 app-admin/yadm/Manifest | 1 +
14 app-admin/yadm/yadm-1.12.0.ebuild | 53 +++++++++++++++++++++++++++++++++++++++
15 2 files changed, 54 insertions(+)
16
17 diff --git a/app-admin/yadm/Manifest b/app-admin/yadm/Manifest
18 index a24ba32f0ef..6b24d62501b 100644
19 --- a/app-admin/yadm/Manifest
20 +++ b/app-admin/yadm/Manifest
21 @@ -1 +1,2 @@
22 DIST yadm-1.07.tar.gz 34240 BLAKE2B 11952a693c38aac2f2e7fa3efd469dc640941ef9c75a8a1e70974b4eea37c506df7480b2fce84ca8482c932295923ece4ff52cfc13bf9b52030dab0500f07c86 SHA512 9bbe33c82a137375cb27916ae5b5a06f06c25a75ae05688be473103c29154309d3472accc0aa0670a80a4714bc6523ab85c41fd6aa8d1909586437c5778b9144
23 +DIST yadm-1.12.0.tar.gz 47340 BLAKE2B ef710f56c96244c082bfcc887cae4aee00aaaadec5e7466500dde263c5e4f43df046e11742fd275e989bd9704b39a123f17248cd70d64f6ca552b28db6c44814 SHA512 402a67770154ce3ae7ab947ff4d4e26ca5040d343110fb749195ca5c3f4ee435aba1d8cdf02d4ecf4a81d3f331c1b891bed4fb3fcfcc893867e0fce45b9c8cd8
24
25 diff --git a/app-admin/yadm/yadm-1.12.0.ebuild b/app-admin/yadm/yadm-1.12.0.ebuild
26 new file mode 100644
27 index 00000000000..e6b2381a71f
28 --- /dev/null
29 +++ b/app-admin/yadm/yadm-1.12.0.ebuild
30 @@ -0,0 +1,53 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +inherit bash-completion-r1
37 +
38 +DESCRIPTION="A dotfile manager for the config files in your home folder"
39 +HOMEPAGE="https://github.com/TheLocehiliosan/yadm/"
40 +SRC_URI="https://github.com/TheLocehiliosan/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
41 +
42 +LICENSE="GPL-3"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE="zsh-completion test"
46 +
47 +DEPEND="
48 + test? (
49 + dev-tcltk/expect
50 + dev-util/bats
51 + dev-vcs/git
52 + )"
53 +
54 +RDEPEND="
55 + dev-vcs/git
56 + app-crypt/gnupg
57 + zsh-completion? ( app-shells/gentoo-zsh-completions )"
58 +
59 +src_compile() {
60 + emake "${PN}.md"
61 +}
62 +
63 +src_test() {
64 + # 109_accept_encryption tests are interactive, thus fail. Skip them
65 + # 113_accept_jinja_alt.bats are depepending on the optional envtpl
66 + while IFS="" read -d $'\0' -r f ; do
67 + bats "${f}" || die "test ${f} failed"
68 + done < <(find test -name '*.bats' -and -not -name '109_accept_encryption.bats' -and -not -name '113_accept_jinja_alt.bats' -print0)
69 +}
70 +
71 +src_install() {
72 + einstalldocs
73 +
74 + dobin "${PN}"
75 + doman "${PN}.1"
76 +
77 + dobashcomp completion/yadm.bash_completion
78 +
79 + if use zsh-completion; then
80 + insinto /usr/share/zsh/site-functions
81 + newins completion/yadm.zsh_completion _${PN}
82 + fi
83 +}