# 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="extract text from any document. no muss. no fuss."

HOMEPAGE="https://github.com/deanmalmgren/textract"
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="pocketsphinx"
DEPENDENCIES="~dev-python/argcomplete-1.10.0[${PYTHON_USEDEP}]
	~dev-python/beautifulsoup4-4.8.0[${PYTHON_USEDEP}]
	~dev-python/chardet-3.0[${PYTHON_USEDEP}]
	dev-python/docx2txt[${PYTHON_USEDEP}]
	dev-python/extract-msg[${PYTHON_USEDEP}]
	dev-python/pdfminer-six[${PYTHON_USEDEP}]
	dev-python/python-pptx[${PYTHON_USEDEP}]
	~dev-python/six-1.12.0[${PYTHON_USEDEP}]
	dev-python/SpeechRecognition[${PYTHON_USEDEP}]
	~dev-python/xlrd-1.2.0[${PYTHON_USEDEP}]
	pocketsphinx? ( dev-python/pocketsphinx[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"