From d0b5cc0ae457d8d0bddea5cc774c507161a5507e Mon Sep 17 00:00:00 2001 From: Nicola Smaniotto Date: Thu, 21 Apr 2022 11:18:42 +0200 Subject: [PATCH] dev-python/auditok: add 0.1.5 Signed-off-by: Nicola Smaniotto --- dev-python/auditok/Manifest | 1 + dev-python/auditok/auditok-0.1.5.ebuild | 37 +++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 dev-python/auditok/auditok-0.1.5.ebuild diff --git a/dev-python/auditok/Manifest b/dev-python/auditok/Manifest index 93a3741995..9ef2bbd3c3 100644 --- a/dev-python/auditok/Manifest +++ b/dev-python/auditok/Manifest @@ -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 diff --git a/dev-python/auditok/auditok-0.1.5.ebuild b/dev-python/auditok/auditok-0.1.5.ebuild new file mode 100644 index 0000000000..c18d7678ba --- /dev/null +++ b/dev-python/auditok/auditok-0.1.5.ebuild @@ -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 +}