# 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 newsletter app to be used with Django or standalone."

HOMEPAGE="https://github.com/lafranceinsoumise/nuntius"
LICENSE="GPL-3"
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="anymail push"
DEPENDENCIES="<dev-python/django-5.0[${PYTHON_USEDEP}]
	<dev-python/pillow-11.0.0[${PYTHON_USEDEP}]
	dev-python/django-stdimage[${PYTHON_USEDEP}]
	dev-python/inscriptis[${PYTHON_USEDEP}]
	<dev-python/tenacity-10.0.0[${PYTHON_USEDEP}]
	anymail? ( dev-python/django-anymail[${PYTHON_USEDEP}] )
	anymail? ( <dev-python/boto3-2.0.0[${PYTHON_USEDEP}] )
	push? ( dev-python/django-push-notifications[${PYTHON_USEDEP}] )
	push? ( dev-python/pywebpush[${PYTHON_USEDEP}] )
	<dev-python/dj-database-url-2.0.0[${PYTHON_USEDEP}]
	dev-python/django-htmx[${PYTHON_USEDEP}]
	dev-python/firebase-admin[${PYTHON_USEDEP}]"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"