summaryrefslogtreecommitdiff
path: root/dev-python/auditok
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-04-12 21:03:09 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-04-12 21:03:09 +0000
commitd97953e6ff67978da9554e7b4601aedceb21e215 (patch)
tree674053c902db6972b9716c9ac3b1e960ee7a5358 /dev-python/auditok
parent1d1fa5bb30df70070bbbbd2b777b839d31f09c41 (diff)
downloadbaldeagleos-repo-d97953e6ff67978da9554e7b4601aedceb21e215.tar.gz
baldeagleos-repo-d97953e6ff67978da9554e7b4601aedceb21e215.tar.xz
baldeagleos-repo-d97953e6ff67978da9554e7b4601aedceb21e215.zip
Adding metadata
Diffstat (limited to 'dev-python/auditok')
-rw-r--r--dev-python/auditok/Manifest1
-rw-r--r--dev-python/auditok/auditok-0.2.0.ebuild45
-rw-r--r--dev-python/auditok/metadata.xml8
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/auditok/Manifest b/dev-python/auditok/Manifest
new file mode 100644
index 000000000000..93a3741995b1
--- /dev/null
+++ b/dev-python/auditok/Manifest
@@ -0,0 +1 @@
+DIST auditok-0.2.0.tar.gz 2482517 BLAKE2B 8db341116e74d875f73757c758ad24c3f8b06cf69a95b09cf7dda30495e46e456861c03ce0bdea2a0c714225a452f6d8a85348c625343fc1e247acb11db31ee6 SHA512 aa9e05d03fde68277395134d247cf7c211b48852fe0e8ac6df9d773242363b692f0505317d54268e81dc29a49250775c4695f0f826d576589850d2290efadffb
diff --git a/dev-python/auditok/auditok-0.2.0.ebuild b/dev-python/auditok/auditok-0.2.0.ebuild
new file mode 100644
index 000000000000..eb310ac5cad1
--- /dev/null
+++ b/dev-python/auditok/auditok-0.2.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9,10} )
+
+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="MIT"
+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_prepare_all() {
+ distutils-r1_python_prepare_all
+
+ # these tests appear to be broken
+ rm "${S}"/tests/test_plotting.py || die
+}
+
+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 "showing progress bar while playing audio clips" dev-python/tqdm
+ 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
+}
diff --git a/dev-python/auditok/metadata.xml b/dev-python/auditok/metadata.xml
new file mode 100644
index 000000000000..cbe3c6a539f0
--- /dev/null
+++ b/dev-python/auditok/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person">
+ <email>smaniotto.nicola@gmail.com</email>
+ <name>Nicola Smaniotto</name>
+ </maintainer>
+</pkgmetadata>