summaryrefslogtreecommitdiff
path: root/app-misc/pet
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-13 10:39:22 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-13 10:39:22 +0100
commit9452a6e87b6c2c70513bc47a2470bf9f1168920e (patch)
tree8ac67e26b45f34d71c5aab3621813b100a0d5f00 /app-misc/pet
parentf516638b7fe9592837389826a6152a7e1b251c54 (diff)
gentoo resync : 13.06.2020
Diffstat (limited to 'app-misc/pet')
-rw-r--r--app-misc/pet/Manifest1
-rw-r--r--app-misc/pet/pet-0.3.6-r1.ebuild87
2 files changed, 88 insertions, 0 deletions
diff --git a/app-misc/pet/Manifest b/app-misc/pet/Manifest
index 1a8e9bf47d33..368b6406c8f7 100644
--- a/app-misc/pet/Manifest
+++ b/app-misc/pet/Manifest
@@ -43,5 +43,6 @@ DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20180606202747-9527bec2660b.zip 1264148
DIST google.golang.org%2Fappengine%2F@v%2Fv1.0.0.mod 35 BLAKE2B 24fb6ba95138448c45da7f1ecc4c87391485006b54b8e7ff96ec582c2659f9ea77574b4d5fef2442eff9e5564f3c3263ed8e6963c5d21cde8772a7143d82f3ed SHA512 6644c398d639794470e49cad4402d17765422934915b5a13e13e1f84d8890cc8fad9e6ea8c580d114aefea70d894242e05ce3a432ee596f772b98b6b73069fe2
DIST google.golang.org%2Fappengine%2F@v%2Fv1.0.0.zip 310156 BLAKE2B 1c3465601193c1d59640a7f329853a0414318fd7c5278cb6b351815cb6161867b3e6ec353160700812f7cdd6aa437d2027de31bcfa7314fe77db39263947dc98 SHA512 72ad399ab4badfe9d180c742b39ab528f515b76931baebab25b83cd39338585ce8aebb0b53582319f2ed49156b12e733116533946127456116997b2340674d6e
DIST pet-0.3.6.tar.gz 2739396 BLAKE2B 16fd9cd2e80d742b7f56819318f709ebe40902e9096c4b5f11b4dfb5341c78b491e70b1d5e6ff81d758413b9b2276e9bd87e99eb320592a70f93a2c75c805892 SHA512 366eabd93865ac72f9d251d51393ba9ad5904195d40f26da80a371d6d2183b5e81156930b137b1551ef2bd372cbf235847dd8a7ac8c7d4584c9d326325d30f79
+EBUILD pet-0.3.6-r1.ebuild 3090 BLAKE2B e94be83612c2aaa16fa07b73c87494125ae94bca15b1de10355990b2e64883ecc5791b1b625c2c98e5ee9e063c5e24736afaf3f0debdec9940d60f58c4405cef SHA512 8779018dcf52dfceeaa4987efd41f39dd332b240443bf7d4222043aa4019f9f1e898a460dec180c985d0a6bc32f22c60c285e537e47688e97cd29c54328d908a
EBUILD pet-0.3.6.ebuild 2939 BLAKE2B b864a4138f8bc468eed85b9c4988052b984f178c1d689fee4616b35bcd71801c41749257d6a886687b5b0233b1690f5bd9e606d96cee6e94702bf469c7908a84 SHA512 bb03376315f4350b313d02f2697594b2b654a936a64f5853821aeffeae6ccb7b90f98a96863081726eed666c9981e9f476d1e1db3bec4c6be9436f895cd981b8
MISC metadata.xml 769 BLAKE2B 299b0963eaefbf40ffeb93e18f23089ebabdfe4249d085dff54069d2defd6478311164dfdc700f043f16a4e18f3017cb335a070380d424933a2422a9f190071c SHA512 5b9ba002b1ce80e106f9cb79c5210616daec3718c9c02502d4e5adbb7144df4a1c18795e5a44ec08927cf3a2135470cc3c505afb8a2a53498e4d37bf8ad91e64
diff --git a/app-misc/pet/pet-0.3.6-r1.ebuild b/app-misc/pet/pet-0.3.6-r1.ebuild
new file mode 100644
index 000000000000..09f5ee655f7c
--- /dev/null
+++ b/app-misc/pet/pet-0.3.6-r1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit go-module
+
+EGO_SUM=(
+ "github.com/BurntSushi/toml v0.3.0"
+ "github.com/BurntSushi/toml v0.3.0/go.mod"
+ "github.com/briandowns/spinner v0.0.0-20170614154858-48dbb65d7bd5"
+ "github.com/briandowns/spinner v0.0.0-20170614154858-48dbb65d7bd5/go.mod"
+ "github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e"
+ "github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod"
+ "github.com/fatih/color v1.7.0"
+ "github.com/fatih/color v1.7.0/go.mod"
+ "github.com/golang/protobuf v1.1.0"
+ "github.com/golang/protobuf v1.1.0/go.mod"
+ "github.com/google/go-github v15.0.0+incompatible"
+ "github.com/google/go-github v15.0.0+incompatible/go.mod"
+ "github.com/google/go-querystring v0.0.0-20170111101155-53e6ce116135"
+ "github.com/google/go-querystring v0.0.0-20170111101155-53e6ce116135/go.mod"
+ "github.com/inconshreveable/mousetrap v1.0.0"
+ "github.com/inconshreveable/mousetrap v1.0.0/go.mod"
+ "github.com/jroimartin/gocui v0.4.0"
+ "github.com/jroimartin/gocui v0.4.0/go.mod"
+ "github.com/mattn/go-colorable v0.0.9"
+ "github.com/mattn/go-colorable v0.0.9/go.mod"
+ "github.com/mattn/go-isatty v0.0.3"
+ "github.com/mattn/go-isatty v0.0.3/go.mod"
+ "github.com/mattn/go-runewidth v0.0.2"
+ "github.com/mattn/go-runewidth v0.0.2/go.mod"
+ "github.com/nsf/termbox-go v0.0.0-20180509163535-21a4d435a862"
+ "github.com/nsf/termbox-go v0.0.0-20180509163535-21a4d435a862/go.mod"
+ "github.com/pkg/errors v0.8.0"
+ "github.com/pkg/errors v0.8.0/go.mod"
+ "github.com/spf13/cobra v0.0.3"
+ "github.com/spf13/cobra v0.0.3/go.mod"
+ "github.com/spf13/pflag v1.0.1"
+ "github.com/spf13/pflag v1.0.1/go.mod"
+ "github.com/xanzy/go-gitlab v0.10.5"
+ "github.com/xanzy/go-gitlab v0.10.5/go.mod"
+ "golang.org/x/crypto v0.0.0-20180608092829-8ac0e0d97ce4"
+ "golang.org/x/crypto v0.0.0-20180608092829-8ac0e0d97ce4/go.mod"
+ "golang.org/x/net v0.0.0-20180530234432-1e491301e022"
+ "golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod"
+ "golang.org/x/oauth2 v0.0.0-20180603041954-1e0a3fa8ba9a"
+ "golang.org/x/oauth2 v0.0.0-20180603041954-1e0a3fa8ba9a/go.mod"
+ "golang.org/x/sys v0.0.0-20180606202747-9527bec2660b"
+ "golang.org/x/sys v0.0.0-20180606202747-9527bec2660b/go.mod"
+ "google.golang.org/appengine v1.0.0"
+ "google.golang.org/appengine v1.0.0/go.mod"
+ )
+go-module_set_globals
+
+DESCRIPTION="Simple command-line snippet manager"
+HOMEPAGE="https://github.com/knqyf263/pet"
+SRC_URI="https://github.com/knqyf263/pet/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ ${EGO_SUM_SRC_URI}"
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+src_compile() {
+ go build || die "build failed"
+}
+
+src_test() {
+ go test -work || die "test failed"
+}
+
+src_install() {
+ dobin pet
+ insinto /usr/share/zsh/site-functions
+ doins misc/completions/zsh/_pet
+}
+
+pkg_postinst() {
+ go-module_pkg_postinst
+
+ if ! has_version app-shells/peco && ! has_version app-shells/fzf ; then
+ einfo "You should consider to install app-shells/peco or"
+ einfo "app-shells/fzf to be able to use selector command"
+ fi
+}