# 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="Easily download an academic paper and send it to the reMarkable"

HOMEPAGE="https://github.com/GjjvdBurg/paper2remarkable"
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="dev full test"
DEPENDENCIES=">=dev-python/beautifulsoup4-4.8[${PYTHON_USEDEP}]
	>=dev-python/html2text-2020.1.16[${PYTHON_USEDEP}]
	>=dev-python/lxml-html-clean-0.1.1[${PYTHON_USEDEP}]
	>=dev-python/markdown-3.1.1[${PYTHON_USEDEP}]
	dev-python/pdfplumber[${PYTHON_USEDEP}]
	>=dev-python/pikepdf-2.9.0[${PYTHON_USEDEP}]
	dev-python/pycryptodome[${PYTHON_USEDEP}]
	>=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
	dev-python/readability-lxml[${PYTHON_USEDEP}]
	>=dev-python/regex-2018.11[${PYTHON_USEDEP}]
	>=dev-python/requests-2.21[${PYTHON_USEDEP}]
	dev-python/titlecase[${PYTHON_USEDEP}]
	>=dev-python/unidecode-1.1[${PYTHON_USEDEP}]
	>=dev-python/validators-0.34[${PYTHON_USEDEP}]
	>=dev-python/weasyprint-51.0[${PYTHON_USEDEP}]
	full? ( dev-python/readabilipy[${PYTHON_USEDEP}] )
	test? ( dev-python/green[${PYTHON_USEDEP}] )
	test? ( dev-python/readabilipy[${PYTHON_USEDEP}] )
	dev? ( dev-python/green[${PYTHON_USEDEP}] )
	dev? ( dev-python/readabilipy[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"