Files
guru/dev-python/factory-boy/factory-boy-3.2.1-r1.ebuild
Anna (cybertailor) Vyalkova 116da163ae dev-python/factory-boy: enable py3.11
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2023-03-16 18:46:40 +05:00

44 lines
919 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="A versatile test fixtures replacement based on thoughtbot's factory_bot for Ruby"
HOMEPAGE="
https://pypi.org/project/factory-boy/
https://github.com/FactoryBoy/factory_boy
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="dev-python/Faker[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/django[sqlite,${PYTHON_USEDEP}]
dev-python/pillow[jpeg,${PYTHON_USEDEP}]
dev-python/sqlalchemy[${PYTHON_USEDEP}]
)
"
EPYTEST_IGNORE=(
# depends on treecleaned dev-python/mongoengine
tests/test_mongoengine.py
)
EPYTEST_DESELECT=(
# broken
examples/flask_alchemy
)
distutils_enable_tests pytest
distutils_enable_sphinx docs \
dev-python/sphinx-rtd-theme \
dev-python/sphinxcontrib-spelling