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:
Alessandro Barbieri committed 2021-07-09 12:34:06 +02:00
1 parent 1fa7c07217
commit eb2c377fac
2 files changed
+8 -10

No files matched your search

@@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# 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
@@ -26,7 +26,6 @@ RDEPEND="
dev-python/ipython_genutils[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/pathlib2[${PYTHON_USEDEP}]
dev-python/pexpect[${PYTHON_USEDEP}]
dev-python/pickleshare[${PYTHON_USEDEP}]
dev-python/pluggy[${PYTHON_USEDEP}]
@@ -44,14 +43,13 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
RESTRICT="test"
PROPERTIES="test_network"
python_prepare_all() {
# do not depend on pytest-cov
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
}
+3 -3
View File
@@ -8,11 +8,11 @@
</maintainer>
<longdescription lang="en">
Features
grabs up to date useragent from useragentstring.com
randomize with real world statistic via w3schools.com
grabs up to date useragent from useragentstring.com
randomize with real world statistic via w3schools.com
</longdescription>
<upstream>
<remote-id type="github">hellysmile/fake-useragent</remote-id>
<remote-id type="pypi">fake-useragent</remote-id>
</upstream>
</pkgmetadata>