Files
guru/dev-python/fake-useragent/fake-useragent-0.1.11-r1.ebuild
Ronny (tastytea) Gutbrod beba143c39 */*: Fix missing trailing slash in HOMEPAGE
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
2022-04-04 18:45:49 +02:00

58 lines
1.6 KiB
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Up to date simple useragent faker with real world database"
HOMEPAGE="
https://github.com/hellysmile/fake-useragent
https://pypi.org/project/fake-useragent/
"
SRC_URI="https://github.com/hellysmile/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/appdirs[${PYTHON_USEDEP}]
dev-python/decorator[${PYTHON_USEDEP}]
dev-python/ipdb[${PYTHON_USEDEP}]
dev-python/ipython[${PYTHON_USEDEP}]
dev-python/ipython_genutils[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/pexpect[${PYTHON_USEDEP}]
dev-python/pickleshare[${PYTHON_USEDEP}]
dev-python/pluggy[${PYTHON_USEDEP}]
dev-python/prompt_toolkit[${PYTHON_USEDEP}]
dev-python/ptyprocess[${PYTHON_USEDEP}]
dev-python/py[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
dev-python/pyparsing[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/scandir[${PYTHON_USEDEP}]
dev-python/simplegeneric[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/traitlets[${PYTHON_USEDEP}]
dev-python/wcwidth[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
RESTRICT="test"
PROPERTIES="test_network"
python_prepare_all() {
# do not depend on pytest-cov
sed -i -e '/addopts/d' pytest.ini || die
distutils-r1_python_prepare_all
}
distutils_enable_tests pytest
distutils_enable_sphinx docs --no-autodoc