python-nvdlfw-inspect
CLEAN
maintainer Smoolak
0 votes
scanned 2026-09-21 00:26:32.109917
Triggered rules
Clean
AI review downgraded a static finding
llm_review
The static rules flagged this LOW, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it CLEAN (confidence 95%): The package builds from a verifiable source tarball hosted on the official GitHub repository with a matching commit hash and valid checksum; all dependencies and sources are legitimate and expected for a Python package.
1 higher static finding superseded - not the current verdict (shown for transparency)
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: Smoolak <smoolak@gmail.com>
2
3
pkgname=python-nvdlfw-inspect
4
_pkgname=nvidia-dlfw-inspect
5
pkgver=0.2.2
6
pkgrel=1
7
pkgdesc='Debugging and inspection tools for deep-learning frameworks'
8
arch=('any')
9
url='https://github.com/NVIDIA/nvidia-dlfw-inspect'
10
license=('Apache-2.0')
11
depends=(
12
'python'
13
'python-pytorch>=2.1'
14
'python-yaml'
15
)
16
makedepends=(
17
'python-build'
18
'python-installer'
19
'python-setuptools'
20
'python-wheel'
21
)
22
checkdepends=('python-pytest')
23
options=('!debug')
24
_commit=4118044cc84f0183714a2ab1bc215fa49f9aaa82
25
_archive="$_pkgname-$_commit"
26
source=(
27
"$pkgname-$pkgver.tar.gz::$url/archive/$_commit.tar.gz"
28
)
29
sha256sums=(
30
'e706821db11cf1fd60b5c221bfb5ca753caee13e724d96e973fa9e242ac74784'
31
)
32
33
build() {
34
cd "$_archive"
35
python -m build --wheel --no-isolation
36
}
37
38
check() {
39
cd "$_archive"
40
CUDA_VISIBLE_DEVICES='' PYTHONPATH="$PWD" pytest -ra
41
}
42
43
package() {
44
cd "$_archive"
45
python -m installer --compile-bytecode 1 \
46
--destdir="$pkgdir" dist/*.whl
47
install -Dm644 LICENSE \
48
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
49
}
50
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-21 00:26:32 | Clean | 2 |
| 2026-09-20 23:33:19 | Low | 1 |