mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-25 08:11:01 +02:00
Update googlesearch ebuild
Signed-off-by: sectroyer <sectroyer@gmail.com>
This commit is contained in:
parent
c3148ee0ad
commit
014669819d
1 changed files with 31 additions and 0 deletions
31
dev-python/googlesearch/googlesearch-3.0.0-r1.ebuild
Normal file
31
dev-python/googlesearch/googlesearch-3.0.0-r1.ebuild
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
EGO_PN=github.com/MarioVilas/googlesearch
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/MarioVilas/googlesearch.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
EGIT_COMMIT="b47a156807439f5443611633e1f92f76838fde67"
|
||||
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Google search from Python"
|
||||
HOMEPAGE="https://github.com/MarioVilas/googlesearch"
|
||||
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-python/beautifulsoup4-4.5.1[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
Loading…
Reference in a new issue