python-q2templates

LOW
maintainer Smoolak 0 votes scanned 2026-11-01 20:01:18.389276
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

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
3pkgname=python-q2templates
4pkgver=2026.10.0
5pkgrel=2
6pkgdesc='HTML templates and interactive reports for QIIME 2 visualizations'
7arch=(any)
8url=https://github.com/qiime2/q2templates
9license=(BSD-3-Clause MIT)
10depends=(python python-jinja python-pandas)
11makedepends=(python-build python-installer python-setuptools python-versioningit python-wheel nodejs npm)
12checkdepends=(python-pytest)
13_commit=59d47eb8072d70f9e6f984dff4f052620a62a91e
14source=("$pkgname-$pkgver.tar.gz::$url/archive/$_commit.tar.gz"
15 runtime-modules.js matryoshka-vite.config.ts runtime-notices.py)
16sha256sums=('abd54379f9c422e2e9a65460a339511f725c8b33570ccad376a30534ebee8682'
17 '3c5e2dfe3205420c87a9551eef6e292ed0c927c1072e58a3ab3f72f6e6f6a225' '4f2885e1596469dafceb7034cd980392a2b8bf6744546e41f05c488722cd19d5' '7b7adcf9b697a79bd988ee855e5e9b91b70cd1dbd9cccdbe7123950db85a634d')
18
19prepare() {
20 cd "q2templates-$_commit"
21 cp "$srcdir/"{runtime-modules.js,matryoshka-vite.config.ts} reports/matryoshka/
22 npm ci --prefix reports/matryoshka --no-audit --no-fund
23}
24
25build() {
26 cd "q2templates-$_commit"
27 npm run build --prefix reports/matryoshka -- --config matryoshka-vite.config.ts
28 (cd reports/matryoshka && python "$srcdir/runtime-notices.py")
29 install -d q2templates/reports/built_assets/matryoshka
30 cp -r reports/matryoshka/build/. q2templates/reports/built_assets/matryoshka/
31 python -m build --wheel --no-isolation
32}
33
34check() {
35 python -m venv --system-site-packages --without-pip "$srcdir/check-env"
36 "$srcdir/check-env/bin/python" -m installer "q2templates-$_commit"/dist/*.whl
37 "$srcdir/check-env/bin/python" -I -m pytest --import-mode=importlib -v \
38 "q2templates-$_commit/q2templates" --junitxml="$srcdir/pytest-results.xml"
39}
40
41package() {
42 cd "q2templates-$_commit"
43 python -m installer --destdir="$pkgdir" dist/*.whl
44 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
45 cp -r reports/matryoshka/build/third-party-licenses "$pkgdir/usr/share/licenses/$pkgname/"
46}
47

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 20:01:18 Low 1

Report a package

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

0 / 4000
Your suggestion