python-ctc-segmentation-git

MEDIUM
maintainer lumaku 1 votes scanned 2026-10-19 09:25:06.082550
View on AUR
Why flagged

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

Triggered rules

Medium Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

PKGBUILD

1# Maintainer: Lumaku <lumaku@mailbox.org>
2pkgname=python-ctc-segmentation-git
3pkgver=1.7.4
4pkgrel=1
5pkgdesc='Determine and align utterance segments within audio files using CTC'
6arch=('any')
7url='https://github.com/lumaku/ctc-segmentation'
8license=('Apache License 2.0')
9depends=('python>=3.7' 'python-numpy' 'cython')
10optdepends=('sox: listen to audio segments')
11makedepends=('git' 'cython' 'python-setuptools')
12provides=('python-ctc-segmentation')
13conflicts=("python-ctc-segmentation")
14source=(
15 "${pkgname}::git+${url}")
16md5sums=(
17 'SKIP')
18
19
20pkgver() {
21 cd "${pkgname}"
22 printf "%s" "$(python setup.py --version)"
23}
24
25
26build() {
27 cd "${pkgname}"
28 cythonize -3 ctc_segmentation/ctc_segmentation_dyn.pyx 2>&1 > /dev/null # discarding the ouptut prevents any stdout leaking to pkgver()
29 python setup.py build 2>&1
30 # echo " --> Warnings of a deprected numpy API can be safely ignored."
31}
32
33
34package() {
35 cd "${pkgname}"
36 export PYTHONHASHSEED=0
37 python setup.py install --root="$pkgdir" --optimize=1 --skip-build
38}
39
40
41check() {
42 cd "${pkgname}"
43 python -c "import tests.test_ctc_segmentation as test; test.test_ctc_segmentation()"
44 python -c "import tests.test_ctc_segmentation as test; test.test_determine_utterance_segments()"
45 python -c "import tests.test_ctc_segmentation as test; test.test_prepare_text()"
46}
47

Scan history

Scanned at (UTC)SeverityRules
2026-10-19 09:25:06 Medium 1
2026-06-18 16:11:54 Clean 0

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion