# 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 mostly universal archive extractor using 7zip, libarchive and the Python standard library for reliable archive extraction."

HOMEPAGE="https://github.com/nexB/extractcode"
LICENSE="Apache-2.0"
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="docs full patch testing"
DEPENDENCIES=">=dev-python/attrs-18.1[${PYTHON_USEDEP}]
	dev-python/commoncode[${PYTHON_USEDEP}]
	dev-python/plugincode[${PYTHON_USEDEP}]
	dev-python/typecode[${PYTHON_USEDEP}]
	dev-python/six[${PYTHON_USEDEP}]
	docs? ( >=dev-python/sphinx-3.3.1[${PYTHON_USEDEP}] )
	docs? ( >=dev-python/sphinx-rtd-theme-0.5.0[${PYTHON_USEDEP}] )
	docs? ( >=dev-python/doc8-0.8.1[${PYTHON_USEDEP}] )
	full? ( dev-python/extractcode_7z[${PYTHON_USEDEP}] )
	full? ( dev-python/extractcode-libarchive[${PYTHON_USEDEP}] )
	full? ( dev-python/typecode[${PYTHON_USEDEP}] )
	patch? ( dev-python/patch[${PYTHON_USEDEP}] )
	testing? ( >=dev-python/pytest-6.0[${PYTHON_USEDEP}] )
	testing? ( >=dev-python/pytest-xdist-2.0[${PYTHON_USEDEP}] )
	testing? ( dev-python/aboutcode-toolkit[${PYTHON_USEDEP}] )
	testing? ( dev-python/black[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"