src_prepare-overlay/dev-python/howdoi/howdoi-1.2.1.ebuild
XGQT 80d6029c8f
dev-python/howdoi: add version 1.2.1 and 9999
Package-Manager: Portage-2.3.89, Repoman-2.3.20
2020-04-08 02:46:09 +02:00

34 lines
719 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="Instant coding answers via the command line"
HOMEPAGE="https://github.com/gleitz/howdoi"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/gleitz/${PN}.git"
KEYWORDS=""
RESTRICT="mirror"
else
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="MIT"
SLOT="0"
IUSE=""
RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
dev-python/cachelib[${PYTHON_USEDEP}]
dev-python/appdirs[${PYTHON_USEDEP}]
dev-python/pyquery[${PYTHON_USEDEP}]
"