# automatically generated by g-sorcery
# please do not edit this file

EAPI=8

REALNAME="${PN}"
LITERALNAME="${PN}"
REALVERSION="${PV}"
DIGEST_SOURCES="yes"
PYTHON_COMPAT=( python{3_11,3_12,3_13,3_14} )
DISTUTILS_USE_PEP517=standalone

inherit python-r1 gs-pypi

DESCRIPTION="A forked version of Wagtail add-on for showing personalized content"

HOMEPAGE="https://github.com/praekeltfoundation/wagtail-personalisation/"
LICENSE="MIT"
SRC_URI="https://files.pythonhosted.org/packages/source/${REALNAME::1}/${REALNAME}/${REALNAME}-${REALVERSION}.tar.gz"
SOURCEFILE="${REALNAME}-${REALVERSION}.tar.gz"
RESTRICT="test"

SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE="docs test"
DEPENDENCIES="dev-python/wagtail[${PYTHON_USEDEP}]
	dev-python/user-agents[${PYTHON_USEDEP}]
	dev-python/wagtailfontawesome[${PYTHON_USEDEP}]
	docs? ( >=dev-python/sphinx-1.4.0[${PYTHON_USEDEP}] )
	test? ( dev-python/factory-boy[${PYTHON_USEDEP}] )
	test? ( ~dev-python/isort-4.3.21[${PYTHON_USEDEP}] )
	test? ( dev-python/flake8[${PYTHON_USEDEP}] )
	test? ( dev-python/six[${PYTHON_USEDEP}] )
	test? ( dev-python/flake8-blind-except[${PYTHON_USEDEP}] )
	test? ( dev-python/flake8-debugger[${PYTHON_USEDEP}] )
	test? ( dev-python/flake8-imports[${PYTHON_USEDEP}] )
	test? ( ~dev-python/freezegun-0.3.8[${PYTHON_USEDEP}] )
	test? ( ~dev-python/pytest-cov-2.4.0[${PYTHON_USEDEP}] )
	test? ( ~dev-python/pytest-django-3.1.2[${PYTHON_USEDEP}] )
	test? ( ~dev-python/pytest-sugar-0.7.1[${PYTHON_USEDEP}] )
	test? ( ~dev-python/pytest-mock-1.6.3[${PYTHON_USEDEP}] )
	test? ( ~dev-python/pytest-3.1.0[${PYTHON_USEDEP}] )
	test? ( dev-python/wagtail-factories[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"