dev-python/faker: new package

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2020-04-25 01:38:28 +02:00
parent 5e90c0ac0f
commit 096960ea6d
3 changed files with 63 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST faker-4.0.3.tar.gz 996987 BLAKE2B cc8fa1ae039d1a753efde2a43404681fe53124fb2a92724a81384cd10dd8008833c6c4468012f3cfaef83ca6e6a50813ef00036b180df2f1752a79064507c770 SHA512 08d7a4fc3a65f4f31467e0aa91525ce92042ef7e471992a63c3fef2efa14ab894bda1f0fa1e6b651f78ceadee7c3683079001db904147739628457a44adef615

View File

@@ -0,0 +1,44 @@
# 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"
RDEPEND="
>=dev-python/python-dateutil-2.4[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
>=dev-python/text-unidecode-1.3[${PYTHON_USEDEP}]
virtual/python-ipaddress[${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}]
)
"
distutils_enable_tests pytest
#TODO: make docs working
#distutils_enable_sphinx docs --no-autodoc

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<longdescription lang="en">
Python package that generates fake data for you.
Whether you need to bootstrap your database, create good-looking
XML documents, fill-in your persistence to stress test it,
or anonymize data taken from a production service, Faker is for you.
</longdescription>
<upstream>
<remote-id type="github">joke2k/faker</remote-id>
<remote-id type="pypi">Faker</remote-id>
</upstream>
</pkgmetadata>