View Raw Ebuild
# 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="AudioStretchy is a Python library and CLI tool that which performs fast, high-quality time-stretching of WAV/MP3 files without changing their pitch. Works well for speech, can time-stretch silence separately. AudioStretchy is a wrapper around the audio-stretch C library by David Bryant."
HOMEPAGE="https://github.com/twardoch/audiostretchy"
LICENSE="BSD"
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="all testing"
DEPENDENCIES="dev-python/fire[${PYTHON_USEDEP}]
>=dev-python/numpy-1.23.0[${PYTHON_USEDEP}]
all? ( dev-python/soxr[${PYTHON_USEDEP}] )
all? ( dev-python/pydub[${PYTHON_USEDEP}] )
testing? ( dev-python/setuptools[${PYTHON_USEDEP}] )
testing? ( dev-python/pytest[${PYTHON_USEDEP}] )
testing? ( dev-python/pytest-cov[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"