From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B6437138206 for ; Sun, 31 Dec 2017 20:46:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DDFFBE0839; Sun, 31 Dec 2017 20:46:39 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A748AE0839 for ; Sun, 31 Dec 2017 20:46:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3305E335C2C for ; Sun, 31 Dec 2017 20:46:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BE33212F for ; Sun, 31 Dec 2017 20:46:35 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1514753188.203a8aa3740fe72a810b77a3e5830e477df3a17c.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/yadm/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/yadm/Manifest app-admin/yadm/yadm-1.12.0.ebuild X-VCS-Directories: app-admin/yadm/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 203a8aa3740fe72a810b77a3e5830e477df3a17c X-VCS-Branch: master Date: Sun, 31 Dec 2017 20:46:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4b2abc94-5fe3-49fa-a4c5-421c43b85710 X-Archives-Hash: 0b7d0f06097a0c6f06a7a9d481130744 commit: 203a8aa3740fe72a810b77a3e5830e477df3a17c Author: Patrice Clement gentoo org> AuthorDate: Sun Dec 31 20:46:13 2017 +0000 Commit: Patrice Clement gentoo org> CommitDate: Sun Dec 31 20:46:28 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=203a8aa3 app-admin/yadm: version bump. Closes: https://bugs.gentoo.org/642660 Package-Manager: Portage-2.3.13, Repoman-2.3.3 app-admin/yadm/Manifest | 1 + app-admin/yadm/yadm-1.12.0.ebuild | 53 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/app-admin/yadm/Manifest b/app-admin/yadm/Manifest index a24ba32f0ef..6b24d62501b 100644 --- a/app-admin/yadm/Manifest +++ b/app-admin/yadm/Manifest @@ -1 +1,2 @@ DIST yadm-1.07.tar.gz 34240 BLAKE2B 11952a693c38aac2f2e7fa3efd469dc640941ef9c75a8a1e70974b4eea37c506df7480b2fce84ca8482c932295923ece4ff52cfc13bf9b52030dab0500f07c86 SHA512 9bbe33c82a137375cb27916ae5b5a06f06c25a75ae05688be473103c29154309d3472accc0aa0670a80a4714bc6523ab85c41fd6aa8d1909586437c5778b9144 +DIST yadm-1.12.0.tar.gz 47340 BLAKE2B ef710f56c96244c082bfcc887cae4aee00aaaadec5e7466500dde263c5e4f43df046e11742fd275e989bd9704b39a123f17248cd70d64f6ca552b28db6c44814 SHA512 402a67770154ce3ae7ab947ff4d4e26ca5040d343110fb749195ca5c3f4ee435aba1d8cdf02d4ecf4a81d3f331c1b891bed4fb3fcfcc893867e0fce45b9c8cd8 diff --git a/app-admin/yadm/yadm-1.12.0.ebuild b/app-admin/yadm/yadm-1.12.0.ebuild new file mode 100644 index 00000000000..e6b2381a71f --- /dev/null +++ b/app-admin/yadm/yadm-1.12.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit bash-completion-r1 + +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="zsh-completion test" + +DEPEND=" + test? ( + dev-tcltk/expect + dev-util/bats + dev-vcs/git + )" + +RDEPEND=" + dev-vcs/git + app-crypt/gnupg + zsh-completion? ( app-shells/gentoo-zsh-completions )" + +src_compile() { + emake "${PN}.md" +} + +src_test() { + # 109_accept_encryption tests are interactive, thus fail. Skip them + # 113_accept_jinja_alt.bats are depepending on the optional envtpl + 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' -and -not -name '113_accept_jinja_alt.bats' -print0) +} + +src_install() { + einstalldocs + + dobin "${PN}" + doman "${PN}.1" + + dobashcomp completion/yadm.bash_completion + + if use zsh-completion; then + insinto /usr/share/zsh/site-functions + newins completion/yadm.zsh_completion _${PN} + fi +}