# 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="make your epub books vertical or horizontal."

HOMEPAGE="https://github.com/yihong0618/epubhv"
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="web"
DEPENDENCIES="~dev-python/beautifulsoup4-4.12.2[${PYTHON_USEDEP}]
	~dev-python/cssutils-2.7.1[${PYTHON_USEDEP}]
	~dev-python/lxml-4.9.3[${PYTHON_USEDEP}]
	dev-python/opencc-python-reimplemented[${PYTHON_USEDEP}]
	~dev-python/soupsieve-2.5[${PYTHON_USEDEP}]
	dev-python/typed-argument-parser[${PYTHON_USEDEP}]
	dev-python/jieba[${PYTHON_USEDEP}]
	dev-python/pypinyin[${PYTHON_USEDEP}]
	dev-python/unidic-lite[${PYTHON_USEDEP}]
	dev-python/fugashi[${PYTHON_USEDEP}]
	dev-python/langdetect[${PYTHON_USEDEP}]
	dev-python/ToJyutping[${PYTHON_USEDEP}]
	web? ( dev-python/streamlit[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"