mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 17:43:11 -04:00
dev-python/fake-useragent: fix tests and doc
Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
@@ -1 +1 @@
|
||||
DIST fake-useragent-0.1.11.tar.gz 13200 BLAKE2B 13ba8a37a418fb8ed11491171a502737b51a60b9a6d54969f20ef0a5fb10e77dc33dd897d13d7034719c5d1376701f38dc6d17a9f5e484dc566fc647b8546075 SHA512 38dd46a1186a92b87d8886876dd0163640d39a852c00d7264947f940a59331168d595c4ee9fce357a2fed07425a557d80ad6c5a693ec0087ea2b69e327927ed1
|
||||
DIST fake-useragent-0.1.11.tar.gz 20989 BLAKE2B affa8cb9c6102076ed19429310ed870d2ebb6f3948ddd12508c80e27648bdcd502c3e5b04e836b0be4ac5e1cd6e400054d5a3d1d9d721298cfa1d9ad4161d6fd SHA512 f73e1348af2694469a22a4cc91e9a5d57cce33b969d016903fc7fb4f91375ea5b24a5835cff38181f53dd92794d5606f52822e06d43801c0442f2b389378b2d2
|
||||
|
||||
@@ -12,7 +12,7 @@ HOMEPAGE="
|
||||
https://github.com/hellysmile/fake-useragent
|
||||
https://pypi.org/project/fake-useragent
|
||||
"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/hellysmile/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
@@ -49,5 +49,16 @@ RDEPEND="
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs
|
||||
distutils_enable_sphinx docs --no-autodoc
|
||||
|
||||
Reference in New Issue
Block a user