sarif-tools

MEDIUM
maintainer RubenKelevra 0 votes scanned 2026-09-13 19:15:06.142757
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

1pkgname=sarif-tools
2pkgver=1.0.0
3pkgrel=1
4pkgdesc='A set of Python command line tools for working with SARIF files produced by code analysis tools'
5arch=('any')
6url=https://github.com/microsoft/sarif-tools
7license=('MIT')
8depends=('python-docx' 'python-jinja' 'python-matplotlib')
9makedepends=('python-build' 'python-installer' 'python-wheel' 'python-poetry')
10source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
11sha256sums=('e814d8249f6751f174d012c240b02601b877b78e5c4fe5dd00b30dc796f01ee4')
12
13build() {
14 cd $pkgname-$pkgver
15 python -m build --wheel --skip-dependency-check --no-isolation
16}
17
18check() {
19 cd $pkgname-$pkgver
20}
21
22package() {
23 cd $pkgname-$pkgver
24 python -m installer --destdir="$pkgdir" dist/*.whl
25
26 # Symlink license file
27 local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
28 install -d "$pkgdir"/usr/share/licenses/$pkgname
29 ln -s "$site_packages"/$pkgname-$pkgver.dist-info/LICENSE \
30 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
31}
32

Scan history

Scanned at (UTC)SeverityRules
2026-09-13 19:15: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