# 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="Add GA tracking and reporting to CKAN instance"

HOMEPAGE="https://github.com/ckan/ckanext-googleanalytics"
LICENSE="AGPL-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="requirements"
DEPENDENCIES="dev-python/ckantoolkit[${PYTHON_USEDEP}]
	dev-python/google-api-python-client[${PYTHON_USEDEP}]
	requirements? ( dev-python/gdata[${PYTHON_USEDEP}] )
	requirements? ( <dev-python/google-api-python-client-1.7.0[${PYTHON_USEDEP}] )
	requirements? ( >=dev-python/pyopenssl-16.2.0[${PYTHON_USEDEP}] )
	requirements? ( >=dev-python/rsa-4.7[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"