summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/bugbite-cli/Manifest1
-rw-r--r--dev-util/bugbite-cli/bugbite-cli-0.0.7.ebuild35
-rw-r--r--dev-util/bugbite-cli/metadata.xml16
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-util/bugbite-cli/Manifest b/dev-util/bugbite-cli/Manifest
new file mode 100644
index 000000000000..21687a4d514a
--- /dev/null
+++ b/dev-util/bugbite-cli/Manifest
@@ -0,0 +1 @@
+DIST bugbite-cli-0.0.7.tar.xz 28365584 BLAKE2B e1f38972e6ca43ae24761baf4c5c4675a171663c7347783134962d090bb12860fab84a3730bf894e86235f26f625a765c323fc659b90b729131d780bb6771856 SHA512 6330e1dd86ab1958681e14104da2e854fa3223c585fe14b913fb3777318a8b367579aa483c158a03fd89811ad4a28624d9629e8ea8682cffa5d2adb769a53d2f
diff --git a/dev-util/bugbite-cli/bugbite-cli-0.0.7.ebuild b/dev-util/bugbite-cli/bugbite-cli-0.0.7.ebuild
new file mode 100644
index 000000000000..099ef2d886e3
--- /dev/null
+++ b/dev-util/bugbite-cli/bugbite-cli-0.0.7.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cargo edo shell-completion
+
+DESCRIPTION="library for bug, issue, and ticket mangling"
+HOMEPAGE="https://github.com/radhermit/bugbite"
+SRC_URI="https://github.com/radhermit/bugbite/releases/download/${P}/${P}.tar.xz"
+LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 Boost-1.0 CC0-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016 Unlicense ZLIB"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test ) "
+
+BDEPEND="
+ >=virtual/rust-1.75
+ test? ( dev-util/cargo-nextest )
+"
+
+QA_FLAGS_IGNORED="usr/bin/bite"
+
+src_test() {
+ edo cargo nextest run $(usev !debug '--release') --color always --all-features --tests
+}
+
+src_install() {
+ cargo_src_install
+
+ doman man/*
+ dofishcomp shell/bite.fish
+ dozshcomp shell/_bite
+ newbashcomp shell/bite.bash bite
+}
diff --git a/dev-util/bugbite-cli/metadata.xml b/dev-util/bugbite-cli/metadata.xml
new file mode 100644
index 000000000000..e71a8c41c9c8
--- /dev/null
+++ b/dev-util/bugbite-cli/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ago@gentoo.org</email>
+ <name>Agostino Sarubbo</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ <description>Upstream, please CC on bugs</description>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">radhermit/bugbite</remote-id>
+ </upstream>
+</pkgmetadata>