summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-08-13 06:30:58 +0200
committerMichał Górny <mgorny@gentoo.org>2024-08-13 06:54:51 +0200
commit9a3958c05137a155c17dfafab7b6c70cb342ae54 (patch)
tree4382b64743db01095b162a22679d552cfa57067e /dev-python
parentdev-python/pywavelets: Bump to 1.7.0 (diff)
downloadgentoo-9a3958c05137a155c17dfafab7b6c70cb342ae54.tar.gz
gentoo-9a3958c05137a155c17dfafab7b6c70cb342ae54.tar.bz2
gentoo-9a3958c05137a155c17dfafab7b6c70cb342ae54.zip
dev-python/Faker: Bump to 27.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/Faker/Faker-27.0.0.ebuild41
-rw-r--r--dev-python/Faker/Manifest1
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/Faker/Faker-27.0.0.ebuild b/dev-python/Faker/Faker-27.0.0.ebuild
new file mode 100644
index 000000000000..ba0bb04960f1
--- /dev/null
+++ b/dev-python/Faker/Faker-27.0.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 7d795701a8eb..898ecefa1f8a 100644
--- a/dev-python/Faker/Manifest
+++ b/dev-python/Faker/Manifest
@@ -2,3 +2,4 @@ DIST Faker-26.0.0.tar.gz 1763318 BLAKE2B 63cf76993c3e4fc229d5d80f3cd03d964f5f7f6
DIST Faker-26.1.0.tar.gz 1763636 BLAKE2B 997d2449c70fd179a7bea5be93e05a916804b552bd7ac19360d99c9ec56f96a28838ccd854aa846842fed7d7cb83c6ed013d73696a551444a0f81a9236403f24 SHA512 8e2df35549c52f86cbca6f75629227bba45026b2174ba3757b9c80350b8e48674bd71412552db9133020f0b93065940fcbefbbc37d391cdddcddc6344fc1431b
DIST Faker-26.2.0.tar.gz 1764867 BLAKE2B aa1a5bdb5b9867c3fced1b9fdcb53f600d7311b27122d0c7895c419c18e3c04d48ba07897e9052f99583f8319bad4b2262925b54dbe6434ca193c085c2c93bae SHA512 f5d1bb832f3f4e21b694ea77e941b6862066514a2970c665e36b1bfec76b3b05a19d7bfb0a962b08bb39cae53a3ed57b329a7a8f447d9f327ecf1bfd61e99d6d
DIST Faker-26.3.0.tar.gz 1765030 BLAKE2B d255c03774adb173aaf1d004c96d5c2cbcd3d22e3c8ed0ea55cb93a2671ea1bd6fbe243f82b31d0ad96ff613bab3d452b3af806179aaf3b185ec027dc4a2d311 SHA512 71e63ebffe0c6c0a4761612adceac18bec8c6e8cb57e2ecbcbe91da6b6d7700d69c4417d45e9d3ec13d75b5c6d0aaaa0ee948d27a60e62dd9b644f69d21e1090
+DIST faker-27.0.0.tar.gz 1764992 BLAKE2B 4ddb83d76abd29eb2281bc27122632e098d3a09bb220881df60d9b67806f58d3c356229035f5316a3fe5dbab70db667d7b8d28d828b4585fc75736ecbc9f0186 SHA512 90b1b76f94066d6d27c4e857297b55b3675f96226cdbefd1bdd99a28599343ffee2b64edd3b15c6cb893ee2b4df446f079269609787a7ef054af3c6a03cca8a1