public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-shells/zsh-histdb/
Date: Sat,  2 May 2020 09:04:10 +0000 (UTC)	[thread overview]
Message-ID: <1588356887.cf4e368ab69e47943db9e7dc0e0237127ae3680e.andrewammerlaan@gentoo> (raw)

commit:     cf4e368ab69e47943db9e7dc0e0237127ae3680e
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri May  1 18:00:52 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri May  1 18:14:47 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cf4e368a

app-shells/zsh-histdb: new package

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 app-shells/zsh-histdb/Manifest                     |  1 +
 app-shells/zsh-histdb/metadata.xml                 | 23 ++++++++++++++
 .../zsh-histdb/zsh-histdb-0_pre20200405.ebuild     | 35 ++++++++++++++++++++++
 3 files changed, 59 insertions(+)

diff --git a/app-shells/zsh-histdb/Manifest b/app-shells/zsh-histdb/Manifest
new file mode 100644
index 0000000..73d5187
--- /dev/null
+++ b/app-shells/zsh-histdb/Manifest
@@ -0,0 +1 @@
+DIST zsh-histdb-0_pre20200405.tar.gz 11227 BLAKE2B ac63958e910bae87a0cf81c31ca9bb84d5c51bb5ad94339498d05741a424d6410008a07f86da03847673af3cfc9750b03f126c3eb4a994c8ffbccf589849421f SHA512 ae2e31fc5c872c0dbc4615c8ba3d0935c57c3d24158baae1fdb935723859f62d529941b8b0112a28259629bf2f92e7f2a953f0880fbf3c7746a301aa70dd4f04

diff --git a/app-shells/zsh-histdb/metadata.xml b/app-shells/zsh-histdb/metadata.xml
new file mode 100644
index 0000000..37a4c68
--- /dev/null
+++ b/app-shells/zsh-histdb/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>lssndrbarbieri@gmail.com</email>
+    <name>Alessandro Barbieri</name>
+  </maintainer>
+  <upstream>
+    <bugs-to>https://github.com/larkery/zsh-histdb/issues</bugs-to>
+    <remote-id type="github">larkery/zsh-histdb</remote-id>
+  </upstream>
+  <longdescription lang="en">
+This is a small bit of zsh code that stores your history into a sqlite3 database. It improves on the normal history by storing, for each history command:
+
+    The start and stop times of the command
+    The working directory where the command was run
+    The hostname of the machine
+    A unique per-host session ID, so history from several sessions is not confused
+    The exit status of the command
+
+It is also possible to merge multiple history databases together without conflict, so long as all your machines have different hostnames.
+  </longdescription>
+</pkgmetadata>

diff --git a/app-shells/zsh-histdb/zsh-histdb-0_pre20200405.ebuild b/app-shells/zsh-histdb/zsh-histdb-0_pre20200405.ebuild
new file mode 100644
index 0000000..4335249
--- /dev/null
+++ b/app-shells/zsh-histdb/zsh-histdb-0_pre20200405.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+COMMIT="7c34b558cca374b6c8727fc08868f2bc044fd162"
+
+DESCRIPTION="A slightly better history for zsh"
+HOMEPAGE="https://github.com/larkery/zsh-histdb"
+SRC_URI="https://github.com/larkery/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+DEPEND=""
+RDEPEND="
+	app-shells/zsh
+	dev-db/sqlite
+"
+
+DOCS=( README.org )
+
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+src_install() {
+	einstalldocs
+	rm -rf "LICENSE" "${DOCS[@]}" || die
+	dodir "/usr/share/zsh/plugins"
+	insinto "/usr/share/zsh/plugins/${PN}"
+	doins -r .
+}
+
+pkg_postinst() {
+	einfo "To use this module please read the README"
+}


                 reply	other threads:[~2020-05-02  9:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1588356887.cf4e368ab69e47943db9e7dc0e0237127ae3680e.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --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