Gentoo Archives: gentoo-commits

From: Sam Jorna <wraeth@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/yadm/
Date: Sat, 30 Apr 2016 14:35:01
Message-Id: 1462026845.fe63884b4355094e5c69514f0e36b311d3aa873f.wraeth@gentoo
1 commit: fe63884b4355094e5c69514f0e36b311d3aa873f
2 Author: Sam Jorna <wraeth <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 30 13:53:20 2016 +0000
4 Commit: Sam Jorna <wraeth <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 30 14:34:05 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe63884b
7
8 app-admin/yadm: new package
9
10 yadm is a dotfile manager that handles the hassle of synchronizing the
11 dotfiles in your home folder across different workstations. It has a
12 philosophy using git and getting out of git's way to ensure it does what
13 it does best.
14
15 Maintainer assigned to Espen H per request under Proxy Maintainers.
16
17 Gentoo-bug: 581118
18 Package-Manager: portage-2.2.28
19
20 app-admin/yadm/Manifest | 1 +
21 app-admin/yadm/metadata.xml | 26 ++++++++++++++++++++++++++
22 app-admin/yadm/yadm-1.04.ebuild | 37 +++++++++++++++++++++++++++++++++++++
23 3 files changed, 64 insertions(+)
24
25 diff --git a/app-admin/yadm/Manifest b/app-admin/yadm/Manifest
26 new file mode 100644
27 index 0000000..227ed55
28 --- /dev/null
29 +++ b/app-admin/yadm/Manifest
30 @@ -0,0 +1 @@
31 +DIST yadm-1.04.tar.gz 27391 SHA256 a73aa51245866ce67aeb4322a62995ebbb13f29dc35508f486819dceb534968a SHA512 f3f909118f29382c6cbae565de336c27fd7d159955a231ac22b0d25e25e50c4c3e1bdc68b1629920904ad9353ee8ce8f7e5c5e50d289984447815a685a4132c9 WHIRLPOOL c74c2bfc89abb6955bb4e0d60b1cb0777c9f9ec43bc1919c130cd8470e44c090fba9003e473f4344ed92df23e399ea45ece6dafde80d575a8af491bb4c16b554
32
33 diff --git a/app-admin/yadm/metadata.xml b/app-admin/yadm/metadata.xml
34 new file mode 100644
35 index 0000000..a5fe848
36 --- /dev/null
37 +++ b/app-admin/yadm/metadata.xml
38 @@ -0,0 +1,26 @@
39 +<?xml version="1.0" encoding="UTF-8"?>
40 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
41 +<pkgmetadata>
42 + <maintainer type="person">
43 + <email>dev+gentoobugzilla@×××××××××.is</email>
44 + <name>Espen H</name>
45 + <description>Proxy maintainer - set to assignee on bugs</description>
46 + </maintainer>
47 + <maintainer type="project">
48 + <email>proxy-maint@g.o</email>
49 + <name>Proxy Maintainers</name>
50 + </maintainer>
51 + <upstream>
52 + <remote-id type="github">TheLocehiliosan/yadm</remote-id>
53 + </upstream>
54 + <longdescription lang="en">
55 + yadm is a dotfile manager that handles the hassle of synchronizing the
56 + dotfiles in your home folder across different workstations. It has a
57 + philosophy using git and getting out of git's way to ensure it does what it
58 + does best. What sets it apart is that it supports encryption, which enables
59 + you to add files like mutt configuration with passwords and host it
60 + publicly. It also enables you to add suffixes to your files like
61 + ##Linux.hostname, and yadm will automatically symlink the file if you are
62 + on that hostname.
63 + </longdescription>
64 +</pkgmetadata>
65
66 diff --git a/app-admin/yadm/yadm-1.04.ebuild b/app-admin/yadm/yadm-1.04.ebuild
67 new file mode 100644
68 index 0000000..661af4e
69 --- /dev/null
70 +++ b/app-admin/yadm/yadm-1.04.ebuild
71 @@ -0,0 +1,37 @@
72 +# Copyright 1999-2016 Gentoo Foundation
73 +# Distributed under the terms of the GNU General Public License v2
74 +# $Id$
75 +
76 +EAPI=6
77 +
78 +DESCRIPTION="A dotfile manager for the config files in your home folder"
79 +HOMEPAGE="https://github.com/TheLocehiliosan/yadm/"
80 +SRC_URI="https://github.com/TheLocehiliosan/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
81 +
82 +LICENSE="GPL-3"
83 +SLOT="0"
84 +KEYWORDS="~amd64 ~x86"
85 +IUSE="test"
86 +
87 +DOCS=( CHANGES CONTRIBUTORS README.md )
88 +
89 +DEPEND="
90 + test? (
91 + dev-util/bats
92 + dev-vcs/git
93 + )"
94 +RDEPEND="dev-vcs/git
95 + app-crypt/gnupg"
96 +
97 +src_test() {
98 + # 109_accept_encryption tests are interactive, thus fail. Skip them
99 + bats $(find test/ -type f -name '*.bats' -and -not -name '109_accept_encryption.bats') \
100 + || die "Tests failed"
101 +}
102 +
103 +src_install() {
104 + einstalldocs
105 +
106 + dobin yadm
107 + doman yadm.1
108 +}