# 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="Library with some C and Cython code for speeding up common operations. This is externalized to avoid the hassle of building binary wheels in my other projects."

HOMEPAGE="https://github.com/WoLpH/speedups/"
LICENSE="BSD 3-Clause License"
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="postgres tests"
DEPENDENCIES=">=dev-python/numpy-1.23.5[${PYTHON_USEDEP}]
	postgres? ( >=dev-python/psycopg-3.0.8[${PYTHON_USEDEP}] )
	tests? ( >=dev-python/psycopg-3.0.8[${PYTHON_USEDEP}] )
	tests? ( >=dev-python/pytest-8.0.1[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-postgresql[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"