# 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 mysql push"
DEPENDENCIES=">=dev-python/django-2.0[${PYTHON_USEDEP}]
	>=dev-python/pillow-9.0.1[${PYTHON_USEDEP}]
	dev-python/django-stdimage[${PYTHON_USEDEP}]
	dev-python/inscriptis[${PYTHON_USEDEP}]
	dev-python/tenacity[${PYTHON_USEDEP}]
	anymail? ( dev-python/django-anymail[${PYTHON_USEDEP}] )
	anymail? ( dev-python/boto3[${PYTHON_USEDEP}] )
	mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
	push? ( dev-python/django-push-notifications[${PYTHON_USEDEP}] )
	push? ( dev-python/apns[${PYTHON_USEDEP}] )
	push? ( dev-python/pywebpush[${PYTHON_USEDEP}] )
	>=dev-python/dj-database-url-1.2.0[${PYTHON_USEDEP}]
	~dev-python/pillow-10.1.0[${PYTHON_USEDEP}]"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"