summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-10-16 06:25:09 +0200
committerMichał Górny <mgorny@gentoo.org>2024-10-16 06:54:27 +0200
commit623a2f29674e59bf6b6674eb4a69f988f2e4e2cf (patch)
tree28316f20e3dda8cc272c2c4369fba6bf6cbc1695 /dev-python/Faker
parentdev-python/bitarray: Bump to 3.0.0 (diff)
downloadgentoo-623a2f29674e59bf6b6674eb4a69f988f2e4e2cf.tar.gz
gentoo-623a2f29674e59bf6b6674eb4a69f988f2e4e2cf.tar.bz2
gentoo-623a2f29674e59bf6b6674eb4a69f988f2e4e2cf.zip
dev-python/Faker: Bump to 30.4.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/Faker')
-rw-r--r--dev-python/Faker/Faker-30.4.0.ebuild42
-rw-r--r--dev-python/Faker/Manifest1
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/Faker/Faker-30.4.0.ebuild b/dev-python/Faker/Faker-30.4.0.ebuild
new file mode 100644
index 000000000000..f552cda2d4a8
--- /dev/null
+++ b/dev-python/Faker/Faker-30.4.0.ebuild
@@ -0,0 +1,42 @@
+# 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 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}]
+ dev-python/typing-extensions[${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 f75dfbd863c0..ffb972c8bc42 100644
--- a/dev-python/Faker/Manifest
+++ b/dev-python/Faker/Manifest
@@ -1,3 +1,4 @@
DIST faker-30.0.0.tar.gz 1795010 BLAKE2B 01e93e39bb22db8220400d28f92ad08f4f1f971b7023cd76c6ae5b965800c6f44a0d67d22b48c4ced732b89efa8b7290e94b1a163f164c3f67d1e830174cba4e SHA512 21bd8d4d2ada7c579cad16ed019bce1187427dd1c5806bc97d055ca9e6a2477bbd2fd5861dc60bb1961ff6613fedabdff9cb59b453434fc80bbb52b336b78f89
DIST faker-30.1.0.tar.gz 1796615 BLAKE2B 448e1361fc397d13898778f32148a0ff6b13dd8ad232a29931ce08a5575986f832adb1167cff5de3a866bfdf5e8b06645bc46643f2b690e82c7d18c721fa84e4 SHA512 53828e30eeff7ffd5ce3b34dbdbe8d0b38b119f58e44dc3f0a5af47df48d8226101fa00dbb08594d03dd0369f7c6067f5f573eaf329133b3a7fdc3846f0e3780
DIST faker-30.3.0.tar.gz 1797350 BLAKE2B 3c8da599ea115637687d168acc299803844ec42d645ea6485f80911becdde4c0e93a1a065f831048651f1c749c74d05f57eb978ddb95f229f58d194710b3fbf8 SHA512 843d7b46ad5585b715a73a831f8f5fb912f545dcec1d12fbf2296278feb8b0838aad613df8f39b1c515657e617737795ce5775eba89d0d4e645325dc2f50b0ad
+DIST faker-30.4.0.tar.gz 1799432 BLAKE2B 9037a0551f45c09eb695ecf6ba7749e6af2db8343bf62f8156670f98459d8eab5c0584a1b5a34328dce53f6cb36abd1dd5ba3c1f28185f3172446100680824f6 SHA512 3ae17dd7027f2b39cd40a43c88403a11638244f5f83ad4b227eac5a023ebf6b801fceb72e8a8165106c61abd144dcede28f4c6068db117c50840d5cda683d5ec