diff options
author | 2024-08-31 08:24:45 +0200 | |
---|---|---|
committer | 2024-08-31 08:55:06 +0200 | |
commit | cbc2ffbf32cfc8c37745cacc567eab7efaf8d3c1 (patch) | |
tree | e20318b6ea0e80043c26c0266bb07a4544c1b819 /dev-python/Faker | |
parent | dev-python/python-novaclient: Bump to 18.7.0 (diff) | |
download | gentoo-cbc2ffbf32cfc8c37745cacc567eab7efaf8d3c1.tar.gz gentoo-cbc2ffbf32cfc8c37745cacc567eab7efaf8d3c1.tar.bz2 gentoo-cbc2ffbf32cfc8c37745cacc567eab7efaf8d3c1.zip |
dev-python/Faker: Bump to 28.1.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/Faker')
-rw-r--r-- | dev-python/Faker/Faker-28.1.0.ebuild | 41 | ||||
-rw-r--r-- | dev-python/Faker/Manifest | 1 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/Faker/Faker-28.1.0.ebuild b/dev-python/Faker/Faker-28.1.0.ebuild new file mode 100644 index 000000000000..ba0bb04960f1 --- /dev/null +++ b/dev-python/Faker/Faker-28.1.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +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}] + ) +" + +# note: tests are flaky with xdist +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=faker.contrib.pytest.plugin + epytest + epytest --exclusive-faker-session tests/pytest/session_overrides +} diff --git a/dev-python/Faker/Manifest b/dev-python/Faker/Manifest index 48418b89a18d..f6bf4fbeebfa 100644 --- a/dev-python/Faker/Manifest +++ b/dev-python/Faker/Manifest @@ -1,3 +1,4 @@ DIST Faker-26.3.0.tar.gz 1765030 BLAKE2B d255c03774adb173aaf1d004c96d5c2cbcd3d22e3c8ed0ea55cb93a2671ea1bd6fbe243f82b31d0ad96ff613bab3d452b3af806179aaf3b185ec027dc4a2d311 SHA512 71e63ebffe0c6c0a4761612adceac18bec8c6e8cb57e2ecbcbe91da6b6d7700d69c4417d45e9d3ec13d75b5c6d0aaaa0ee948d27a60e62dd9b644f69d21e1090 DIST faker-27.0.0.tar.gz 1764992 BLAKE2B 4ddb83d76abd29eb2281bc27122632e098d3a09bb220881df60d9b67806f58d3c356229035f5316a3fe5dbab70db667d7b8d28d828b4585fc75736ecbc9f0186 SHA512 90b1b76f94066d6d27c4e857297b55b3675f96226cdbefd1bdd99a28599343ffee2b64edd3b15c6cb893ee2b4df446f079269609787a7ef054af3c6a03cca8a1 DIST faker-28.0.0.tar.gz 1782120 BLAKE2B b550805dced81c2e15e44567dd14c16477cd65545bc0f23825929ce98ab5a485f44df8c95fa7e74598d1e4944a5be057faed9e7ccada077f2daa149921be99f1 SHA512 f043abcf2313f665c18815c949f8c5349f1aa748ebf5fca775b0fb517d959a5972a0f4ff14b672ff6320acd090a36b295ac449418cca547d805dbfd77f6aa88a +DIST faker-28.1.0.tar.gz 1781898 BLAKE2B 4c18e70992e89b4638815afcd2be4a409e9caeb7e32f8903964491e4f687f25b0184dd3e4e9cd605e3fd0cdc33bd3b9be6573e60f98efaf18b0ddecdbf9355b1 SHA512 a312ccce960ee01452329bdf47289f8b4fc9362b1a10a445d93583eefae7c8aa94af363733babe56dd3c7df4a1e585c8a4f84e86d811fa2e1a6d050924c9ae95 |