# 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="Automatically create newsletters from the changes in a mkdocs repository"

HOMEPAGE="https://github.com/lyz-code/mkdocs-newsletter"
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=""
DEPENDENCIES=">=dev-python/beautifulsoup4-4.10.0[${PYTHON_USEDEP}]
	>=dev-python/mkdocs-1.2.3[${PYTHON_USEDEP}]
	dev-python/mkdocs-section-index[${PYTHON_USEDEP}]
	dev-python/mkdocs-autolinks-plugin[${PYTHON_USEDEP}]
	<dev-python/pydantic-2.0.0[${PYTHON_USEDEP}]
	>=dev-python/gitpython-3.1.27[${PYTHON_USEDEP}]
	dev-python/python-semantic-release[${PYTHON_USEDEP}]
	>=dev-python/deepdiff-5.7.0[${PYTHON_USEDEP}]
	>=dev-python/mkdocs-material-8.2.5[${PYTHON_USEDEP}]
	>=dev-python/mkdocs-git-revision-date-localized-plugin-1.0.0[${PYTHON_USEDEP}]"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"