From 14690cf7068f0c13cc80857b004625a7f9e702aa Mon Sep 17 00:00:00 2001 From: Espen Henriksen Date: Tue, 26 Apr 2016 19:37:42 +0200 Subject: [PATCH 1/2] Implement Gentoo bugzilla review feedback --- gentoo/yadm-1.04.ebuild | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/gentoo/yadm-1.04.ebuild b/gentoo/yadm-1.04.ebuild index 298e43b..338967f 100644 --- a/gentoo/yadm-1.04.ebuild +++ b/gentoo/yadm-1.04.ebuild @@ -2,34 +2,25 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 -DESCRIPTION="Yet Another Dotfiles Manager" +DESCRIPTION="A dotfile manager for 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="GPLv3" +LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 x86 ~alpha ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc" -IUSE="doc" +KEYWORDS="~amd64 ~x86 ~alpha ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc" -DOCS=( CHANGES CONTRIBUTORS yadm.md README.md ) +DOCS=( CHANGES CONTRIBUTORS README.md ) DEPEND="dev-vcs/git -app-shells/bash" + app-crypt/gnupg" RDEPEND="${DEPEND}" -src_compile() { - # Bash scripts don't need to compile - true -} - src_install() { - if use doc; then - dodoc "${DOCS[@]}" - fi + dodoc "${DOCS[@]}" - dobin yadm - doman yadm.1 + dobin yadm + doman yadm.1 } - From 2884e411510b4fa0cb095268bfb21364067a093f Mon Sep 17 00:00:00 2001 From: Espen Henriksen Date: Thu, 5 May 2016 16:58:13 +0200 Subject: [PATCH 2/2] Remove gentoo ebuild and update README gentoo instructions --- README.md | 12 ++---------- gentoo/Manifest | 1 - gentoo/yadm-1.04.ebuild | 26 -------------------------- 3 files changed, 2 insertions(+), 37 deletions(-) delete mode 100644 gentoo/Manifest delete mode 100644 gentoo/yadm-1.04.ebuild diff --git a/README.md b/README.md index a6b5caa..8456a73 100644 --- a/README.md +++ b/README.md @@ -35,19 +35,11 @@ Several yum repositories are on Copr. Follow this link for [repositories and ins #### Gentoo Linux -**yadm** is not yet available in the main gentoo portage tree, however an ebuild -is available for you to use +**yadm** is available in the main gentoo portage tree, simply use `emerge` to +install it - mkdir -p /usr/local/portage/app-admin/yadm - cd $_ - curl -O 'https://raw.githubusercontent.com/TheLocehiliosan/yadm/master/gentoo/yadm-1.04.ebuild' -O 'https://raw.githubusercontent.com/TheLocehiliosan/yadm/master/gentoo/Manifest' emerge -atv app-admin/yadm -If you have not configured portage to use `/usr/local/portage` as your local -repository, you also need to add this to the portage `make.conf` - - echo 'PORTDIR_OVERLAY="/usr/local/portage"' >> /etc/portage/make.conf - #### Other You *can* simply download the **yadm** script and put it into your `$PATH`. Something like this: diff --git a/gentoo/Manifest b/gentoo/Manifest deleted file mode 100644 index 227ed55..0000000 --- a/gentoo/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST yadm-1.04.tar.gz 27391 SHA256 a73aa51245866ce67aeb4322a62995ebbb13f29dc35508f486819dceb534968a SHA512 f3f909118f29382c6cbae565de336c27fd7d159955a231ac22b0d25e25e50c4c3e1bdc68b1629920904ad9353ee8ce8f7e5c5e50d289984447815a685a4132c9 WHIRLPOOL c74c2bfc89abb6955bb4e0d60b1cb0777c9f9ec43bc1919c130cd8470e44c090fba9003e473f4344ed92df23e399ea45ece6dafde80d575a8af491bb4c16b554 diff --git a/gentoo/yadm-1.04.ebuild b/gentoo/yadm-1.04.ebuild deleted file mode 100644 index 338967f..0000000 --- a/gentoo/yadm-1.04.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -DESCRIPTION="A dotfile manager for 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 ~alpha ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc" - -DOCS=( CHANGES CONTRIBUTORS README.md ) - -DEPEND="dev-vcs/git - app-crypt/gnupg" -RDEPEND="${DEPEND}" - -src_install() { - dodoc "${DOCS[@]}" - - dobin yadm - doman yadm.1 -}