net-misc/ddgr: bump to version 1.9
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
parent
b94735e23b
commit
5c9fc4ec20
@ -1,2 +1,3 @@
|
||||
DIST ddgr-1.7.tar.gz 43838 BLAKE2B 5cbddd561b80a1e87e950c83e8ee50a9cc94c0426ed088df40a93054ce1ddd14883c633bb4d568af0f88a050784f0ea7814d9ae959278a075bfd4f7ab0aacf0e SHA512 9b07d045baeee6bbaa0a8213d90860f432687f9a0fbc5e424d9df3422897eb12c2c4d1ac210daa41cbb5fd5113148f01e20f276822157d42058872ab4fc70dae
|
||||
DIST ddgr-1.8.tar.gz 43632 BLAKE2B d87710ed2ea812f61e714462f490c57871c777cbabffb0979774e369fc6d2c3ba88fd3bff0ccab560ff6a1e01defb97b5c3f6f982351da7f5edb19b060e72bd6 SHA512 9b806226e8590d6f9c59d65892db52d0c7431ed210c641183aeed16092f9e553fc5026cfbe4012dad5298ededffdea8a3204bae27031c1b2092e04eb33b1d923
|
||||
DIST ddgr-1.9.tar.gz 44181 BLAKE2B 5606a862199ec8bf9a0360f00e62d03e858a0574299abde218fb6a1761937b9e9974f8ea9902acab4fbec8e5089f8b7b4c207abc5ec28c252d705ae172d582e6 SHA512 25fb995d32cf19ed1d4493ec463f60db39f4728ffe052dabccb49b721e65250e444bb4cc54f5f41dd1d6365d4e8bd1139277c44a9bd1d39394dec998ccb93b7c
|
||||
|
55
net-misc/ddgr/ddgr-1.9.ebuild
Normal file
55
net-misc/ddgr/ddgr-1.9.ebuild
Normal file
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit bash-completion-r1 python-r1
|
||||
|
||||
DESCRIPTION="DuckDuckGo from the terminal"
|
||||
HOMEPAGE="https://github.com/jarun/ddgr"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/jarun/${PN}.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/jarun/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="bash-completion fish-completion zsh-completion"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
|
||||
src_install() {
|
||||
exeinto "/usr/bin"
|
||||
doexe "${PN}"
|
||||
doman "${PN}.1"
|
||||
dodoc CHANGELOG README.md
|
||||
if use bash-completion
|
||||
then
|
||||
newbashcomp auto-completion/bash/${PN}-completion.bash ${PN}
|
||||
fi
|
||||
if use fish-completion
|
||||
then
|
||||
insinto /usr/share/fish/vendor_completions.d/
|
||||
doins auto-completion/fish/${PN}.fish
|
||||
fi
|
||||
if use zsh-completion
|
||||
then
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins auto-completion/zsh/_${PN}
|
||||
fi
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user