public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Philip DeMonaco" <phil@demona.co>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-admin/chezmoi-bin/
Date: Tue, 16 Jun 2020 23:07:18 +0000 (UTC)	[thread overview]
Message-ID: <1592348786.14b3b3ceccdddd7bfad79f7e6d6ff1d62a3b1ab9.PhilipDeMonaco@gentoo> (raw)

commit:     14b3b3ceccdddd7bfad79f7e6d6ff1d62a3b1ab9
Author:     Philip DeMonaco <phil <AT> demona <DOT> co>
AuthorDate: Tue Jun 16 23:00:28 2020 +0000
Commit:     Philip DeMonaco <phil <AT> demona <DOT> co>
CommitDate: Tue Jun 16 23:06:26 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=14b3b3ce

app-admin/chezmoi-bin: new package

Manage your dotfiles across multiple machines, securely.

Note that this is a port of an existing pull request made against the
primary portage tree.

Bug: https://bugs.gentoo.org/688190
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Philip DeMonaco <phil <AT> demona.co>

 app-admin/chezmoi-bin/Manifest                 |  2 ++
 app-admin/chezmoi-bin/chezmoi-bin-1.8.2.ebuild | 50 ++++++++++++++++++++++++++
 app-admin/chezmoi-bin/metadata.xml             | 22 ++++++++++++
 3 files changed, 74 insertions(+)

diff --git a/app-admin/chezmoi-bin/Manifest b/app-admin/chezmoi-bin/Manifest
new file mode 100644
index 0000000..1c61864
--- /dev/null
+++ b/app-admin/chezmoi-bin/Manifest
@@ -0,0 +1,2 @@
+DIST chezmoi-bin-1.8.2_amd64.tar.gz 7281761 BLAKE2B 4265cb415233e7043bf1fbb0657c3106d6a968072b45b98512db15d6b5eb5286e70f8f53b292237bec12cc474eaa3df8c43d0d1a1cdf6fd2eea3b369bace1594 SHA512 ca1cd0812b93c466a02bbf178d6f87bdf44d914a1bf7269b3db6482acf5c35fe5dcb49ee294fd5c93ce679f938414a6c7696cac04c0124eb42cac1fd0ef379e3
+DIST chezmoi-bin-1.8.2_x86.tar.gz 6860526 BLAKE2B d6a8220c8fa6146e169551007bc03cbf15b70bd07332960f337e12ab7701a6a86dc15cff25893a66c23c27e2fb38da0d245e5efc895e6448991c2dfbae03cb36 SHA512 8bde30fe9769ac39fe586721f11932487a7b1e10d8fb4e932ea4236fdbe9d94ab933b807f2d188c4de706d0dab68c8e64e9260c9f636f84e8569c274ae25d335

diff --git a/app-admin/chezmoi-bin/chezmoi-bin-1.8.2.ebuild b/app-admin/chezmoi-bin/chezmoi-bin-1.8.2.ebuild
new file mode 100644
index 0000000..c614ea1
--- /dev/null
+++ b/app-admin/chezmoi-bin/chezmoi-bin-1.8.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Manage your dotfiles across multiple machines, securely."
+HOMEPAGE="https://github.com/twpayne/chezmoi"
+
+# Remove bin from the package name
+BASE_PN="${PN/-bin}"
+A_AMD64="${P}_amd64.tar.gz"
+A_X86="${P}_x86.tar.gz"
+
+BASE_URI="${HOMEPAGE}/releases/download/v${PV}/${BASE_PN}_${PV}_linux"
+SRC_URI="amd64? ( ${BASE_URI}_amd64.tar.gz -> ${A_AMD64} )
+	x86? ( ${BASE_URI}_i386.tar.gz -> ${A_X86} )"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-vcs/git"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+DOCS=( "docs" )
+
+src_unpack() {
+	# Create the source directory
+	mkdir -p "${S}" || die
+	pushd "${S}" || die
+
+	# Determine the correct source package
+	if use x86; then
+		ARCHIVE="${A_X86}"
+	elif use amd64; then
+		ARCHIVE="${A_AMD64}"
+	fi
+
+	# Unpack the archive if a matching one was found
+	if [ "${ARCHIVE}" != "" ]; then
+		unpack ${ARCHIVE}
+	fi
+}
+
+src_install() {
+	einstalldocs
+	dobin "${S}/${BASE_PN}" || die
+}

diff --git a/app-admin/chezmoi-bin/metadata.xml b/app-admin/chezmoi-bin/metadata.xml
new file mode 100644
index 0000000..c5e01bf
--- /dev/null
+++ b/app-admin/chezmoi-bin/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>phil@demona.co</email>
+		<name>Phil DeMonaco</name>
+		</maintainer>
+	<maintainer type="project">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+	<longdescription lang="en">
+			Dotfile management application which provides a configuration
+			and encryption interface ontop of traditional version control
+			functionality. This simplifies synchronization of dotfiles
+			between multiple machines, operating systems, and environments
+			with differing requirements.
+	</longdescription>
+	<upstream>
+		<remote-id type="github">twpane/chezmoi</remote-id>
+	</upstream>
+</pkgmetadata>


             reply	other threads:[~2020-06-16 23:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-16 23:07 Philip DeMonaco [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-06-17 10:33 [gentoo-commits] repo/proj/guru:master commit in: app-admin/chezmoi-bin/ Andrew Ammerlaan
2020-06-17 10:33 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-06-20 19:13 Philip DeMonaco

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1592348786.14b3b3ceccdddd7bfad79f7e6d6ff1d62a3b1ab9.PhilipDeMonaco@gentoo \
    --to=phil@demona.co \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox