dev-python/auditok: add 0.1.5

Signed-off-by: Nicola Smaniotto <smaniotto.nicola@gmail.com>
This commit is contained in:
Nicola Smaniotto
2022-04-21 11:18:42 +02:00
parent 6722631748
commit d0b5cc0ae4
2 changed files with 38 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST auditok-0.1.5.tar.gz 1940153 BLAKE2B 5cdd6b2b810fcaa29026974d10e602ef8b464da29a104bc4d8ef8203fe9bab492e9921f0bd2f8e649b75551036eb617302df598855fd31f435b07b73d3803def SHA512 52dbd2fa66dbf0da52ea6f456b41d117029d45939c581ca270ecdecca4e05dd551fe6f681baad8fd0f6ab828b38157e214ff7df61bf0c88e57738a4e44023ce5
DIST auditok-0.2.0.tar.gz 2482517 BLAKE2B 8db341116e74d875f73757c758ad24c3f8b06cf69a95b09cf7dda30495e46e456861c03ce0bdea2a0c714225a452f6d8a85348c625343fc1e247acb11db31ee6 SHA512 aa9e05d03fde68277395134d247cf7c211b48852fe0e8ac6df9d773242363b692f0505317d54268e81dc29a49250775c4695f0f826d576589850d2290efadffb

View File

@@ -0,0 +1,37 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1 optfeature
DESCRIPTION="A module for Audio/Acoustic Activity Detection"
HOMEPAGE="https://github.com/amsehili/auditok/"
SRC_URI="https://github.com/amsehili/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="
test? (
dev-python/pydub[${PYTHON_USEDEP}]
dev-python/genty[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
)
"
distutils_enable_tests unittest
python_test() {
eunittest tests/
}
pkg_postinst() {
optfeature "reading audio files in popular audio formats (ogg, mp3, etc.) or extracting audio from a video file" dev-python/pydub
optfeature "reading audio data from the microphone and playing audio back" dev-python/pyaudio
optfeature "plotting audio signal and detections" dev-python/matplotlib
optfeature "matplotlib. Also used for some math operations instead of standard python if available" dev-python/numpy
}