mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 13:33:32 -04:00
dev-python/fake-useragent: ebuild maintenance
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=8
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7,8} )
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
|
||||||
inherit distutils-r1
|
inherit distutils-r1
|
||||||
|
|
||||||
@@ -26,7 +26,6 @@ RDEPEND="
|
|||||||
dev-python/ipython_genutils[${PYTHON_USEDEP}]
|
dev-python/ipython_genutils[${PYTHON_USEDEP}]
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
dev-python/packaging[${PYTHON_USEDEP}]
|
dev-python/packaging[${PYTHON_USEDEP}]
|
||||||
dev-python/pathlib2[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||||
dev-python/pickleshare[${PYTHON_USEDEP}]
|
dev-python/pickleshare[${PYTHON_USEDEP}]
|
||||||
dev-python/pluggy[${PYTHON_USEDEP}]
|
dev-python/pluggy[${PYTHON_USEDEP}]
|
||||||
@@ -44,14 +43,13 @@ RDEPEND="
|
|||||||
"
|
"
|
||||||
DEPEND="${RDEPEND}"
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
RESTRICT="test"
|
||||||
|
PROPERTIES="test_network"
|
||||||
|
|
||||||
python_prepare_all() {
|
python_prepare_all() {
|
||||||
# do not depend on pytest-cov
|
# do not depend on pytest-cov
|
||||||
sed -i -e '/addopts/d' pytest.ini || die
|
sed -i -e '/addopts/d' pytest.ini || die
|
||||||
|
|
||||||
# skip online tests
|
|
||||||
rm tests/test_fake.py || die
|
|
||||||
rm tests/test_utils.py || die
|
|
||||||
|
|
||||||
distutils-r1_python_prepare_all
|
distutils-r1_python_prepare_all
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,11 @@
|
|||||||
</maintainer>
|
</maintainer>
|
||||||
<longdescription lang="en">
|
<longdescription lang="en">
|
||||||
Features
|
Features
|
||||||
|
grabs up to date useragent from useragentstring.com
|
||||||
grabs up to date useragent from useragentstring.com
|
randomize with real world statistic via w3schools.com
|
||||||
randomize with real world statistic via w3schools.com
|
|
||||||
</longdescription>
|
</longdescription>
|
||||||
<upstream>
|
<upstream>
|
||||||
|
<remote-id type="github">hellysmile/fake-useragent</remote-id>
|
||||||
<remote-id type="pypi">fake-useragent</remote-id>
|
<remote-id type="pypi">fake-useragent</remote-id>
|
||||||
</upstream>
|
</upstream>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
|||||||
Reference in New Issue
Block a user