mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 17:43:11 -04:00
dev-python/faker: new version
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST faker-4.0.3.tar.gz 996987 BLAKE2B cc8fa1ae039d1a753efde2a43404681fe53124fb2a92724a81384cd10dd8008833c6c4468012f3cfaef83ca6e6a50813ef00036b180df2f1752a79064507c770 SHA512 08d7a4fc3a65f4f31467e0aa91525ce92042ef7e471992a63c3fef2efa14ab894bda1f0fa1e6b651f78ceadee7c3683079001db904147739628457a44adef615
|
||||
DIST faker-4.1.0.tar.gz 1005246 BLAKE2B 07a4d93875ed67f6e8e34fec7d4015eddc47cdb80e4e5b60f33e5ab93105f14b95f1ff9073debd530e04d71c4c5d22e1db805753151842a6b896095376eb1304 SHA512 da8e6df52c53788af323d92a0feaafcc215bd00ae5a95bb2d829852bbf04f89f9216c7e226b3b89966c053dd891db33acf2e2ee2ac5a981745976325c0cf2d2e
|
||||
|
||||
57
dev-python/faker/faker-4.1.0.ebuild
Normal file
57
dev-python/faker/faker-4.1.0.ebuild
Normal file
@@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python package that generates fake data"
|
||||
HOMEPAGE="
|
||||
https://github.com/joke2k/faker
|
||||
https://pypi.org/project/Faker
|
||||
"
|
||||
SRC_URI="https://github.com/joke2k/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
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/freezegun-0.4[${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}"
|
||||
}
|
||||
|
||||
#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'
|
||||
#distutils_enable_sphinx docs --no-autodoc
|
||||
@@ -12,6 +12,23 @@
|
||||
or anonymize data taken from a production service, Faker is for you.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>
|
||||
Daniele Faraglia
|
||||
</name>
|
||||
<email>
|
||||
joke2k@gmail.com
|
||||
</email>
|
||||
</maintainer>
|
||||
<doc lang="en">
|
||||
https://faker.readthedocs.io/en/stable
|
||||
</doc>
|
||||
<bugs-to>
|
||||
https://github.com/joke2k/faker/issues
|
||||
</bugs-to>
|
||||
<changelog>
|
||||
https://raw.githubusercontent.com/joke2k/faker/master/CHANGELOG.rst
|
||||
</changelog>
|
||||
<remote-id type="github">joke2k/faker</remote-id>
|
||||
<remote-id type="pypi">Faker</remote-id>
|
||||
</upstream>
|
||||
|
||||
Reference in New Issue
Block a user