summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-03-14 05:03:54 +0100
committerMichał Górny <mgorny@gentoo.org>2024-03-14 05:12:32 +0100
commit130b728abaf14d73e534084562298295e7168651 (patch)
treeb7bfd9c0bc796bbc4372f7b8f9c13f91462b4df5 /dev-python/Faker
parentdev-python/mkdocstrings-python: Bump to 1.9.0 (diff)
downloadgentoo-130b728abaf14d73e534084562298295e7168651.tar.gz
gentoo-130b728abaf14d73e534084562298295e7168651.tar.bz2
gentoo-130b728abaf14d73e534084562298295e7168651.zip
dev-python/Faker: Bump to 24.2.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/Faker')
-rw-r--r--dev-python/Faker/Faker-24.2.0.ebuild40
-rw-r--r--dev-python/Faker/Manifest1
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/Faker/Faker-24.2.0.ebuild b/dev-python/Faker/Faker-24.2.0.ebuild
new file mode 100644
index 000000000000..4a85c701f3c8
--- /dev/null
+++ b/dev-python/Faker/Faker-24.2.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A Python package that generates fake data for you"
+HOMEPAGE="
+ https://github.com/joke2k/faker/
+ https://pypi.org/project/Faker/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}]
+ !dev-ruby/faker
+"
+BDEPEND="
+ test? (
+ dev-python/freezegun[${PYTHON_USEDEP}]
+ dev-python/pillow[${PYTHON_USEDEP},tiff]
+ dev-python/validators[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ local -x PYTEST_PLUGINS=faker.contrib.pytest.plugin
+ epytest
+}
diff --git a/dev-python/Faker/Manifest b/dev-python/Faker/Manifest
index c96c3bd05036..4b32189ff037 100644
--- a/dev-python/Faker/Manifest
+++ b/dev-python/Faker/Manifest
@@ -1,2 +1,3 @@
DIST Faker-23.3.0.tar.gz 1716346 BLAKE2B 21be02c45fdaeed398ce157b9874985791dff67784b60198323ffae8f8c3a3e82932ebc152893aed40efb5d73e1e775c52b364c62411b59e48ce3d897971ba92 SHA512 2bdcf86adae1eeee257ee24df140894451d13854afdde8794d08072b9b572e48fcacb74597f64da9f069e914db0f27c8f4e74d746a25bbee8421310749468b82
DIST Faker-24.1.0.tar.gz 1716789 BLAKE2B 60a8571cd9aae2c1a47aabcb50d85507d78b5635332d24036e2b28756c4e7da3950074eff906200b9eefee28d9594dba3df7ee17fd815308e01d1cf8ed422afb SHA512 a467cfab41a074ac88c398640b02898f96ced7150d5989270573fd5765e880e539932046b5829b3428d087b5f6f97c9c5ea51725003abbf2ae06e8862fd86fef
+DIST Faker-24.2.0.tar.gz 1723713 BLAKE2B 75ea69214239084a59284a95a1cb2585671aa770fd78f853030ae7cb32281370e7505ba05262958d3511ea131ebab6ef1175953be6f73a048160eaa8536a6364 SHA512 85b5acf252f6163cdd87b8f8269360e6e204899f1645ed0f50302719ad0386e1c1fd766904cb239222c1d6120429f33a69deaf3d331743685333e35e12790a43