dev-python/faker: version bump 5.0.0, add py3.9

Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
Andrew Ammerlaan
2020-12-06 20:34:06 +01:00
parent a27593eb29
commit 7641edbe12
2 changed files with 6 additions and 21 deletions

View File

@@ -1 +1 @@
DIST faker-4.1.2.tar.gz 1022640 BLAKE2B 6aee2cd581b1acb344d88f2e38da2fb5fb26e09ecec8bfc0c7febdff4c24758af60327c3e7efd7ad1d489705beaf75e5d11ad572f9bb0c03bc52f8d17b8e1238 SHA512 194bd8537d6288a0e6f5bbae721fc350e829ae18d1d76c3092d08d2576027dd99778fe50e8c7a293e69672d9904d7b7ea457b40baa89fae0402bd1355e430c07
DIST faker-5.0.0.tar.gz 1069920 BLAKE2B ed91e999ed598fe745b720c90a0d50c1bad95de5f7323cb1122174cbec3be1f6df907929ac7f153622bbd0e90068600b01a70ee7634368ba166530c733c21c01 SHA512 99ff7a7643e0c16120c858165586605c6ab2a363f2c6a991e0a815f6ab5b694334392bf066cc05530c4915eeb46ff6a1c2fc0f37a30448e2d2919fbd01cddac9

View File

@@ -4,7 +4,7 @@
EAPI="7"
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{7,8} )
PYTHON_COMPAT=( python3_{7,8,9} )
inherit distutils-r1
@@ -21,39 +21,24 @@ KEYWORDS="~amd64 ~x86"
RDEPEND="
>=dev-python/python-dateutil-2.4[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
>=dev-python/text-unidecode-1.3[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
>=dev-python/sphinx-2.4[${PYTHON_USEDEP}]
<dev-python/sphinx-3.0[${PYTHON_USEDEP}]
test? (
dev-python/faker[${PYTHON_USEDEP}]
<dev-python/freezegun-0.4[${PYTHON_USEDEP}]
BDEPEND="test? (
dev-python/freezegun[${PYTHON_USEDEP}]
dev-python/more-itertools[${PYTHON_USEDEP}]
>=dev-python/pytest-5.4.0[${PYTHON_USEDEP}]
<dev-python/pytest-5.5[${PYTHON_USEDEP}]
dev-python/random2[${PYTHON_USEDEP}]
>=dev-python/ukpostcodeparser-1.1.1[${PYTHON_USEDEP}]
>=dev-python/validators-0.13.0[${PYTHON_USEDEP}]
)
"
#BDEPEND="
# doc? ( dev-python/faker )
#"
src_prepare() {
export READTHEDOCS=True || die
default
}
python_test() {
distutils_install_for_testing
pytest -vv || die "Testsuite failed under ${EPYTHON}"
}
distutils_enable_tests pytest
distutils_enable_tests --install pytest
#TODO: make docs working
#FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-python/faker-4.1.0/work/docs/providers.rst'
#Handler <function _create_source_files at 0x7fba9ff481f0> for event 'builder-inited' threw an exception (exception: [Errno 2] No such file or directory: '/var/tmp/portage/dev-python/faker-5.0.0/work/docs/providers.rst')
#distutils_enable_sphinx docs --no-autodoc