python-mattertune

LOW
maintainer harrietobrien 0 votes scanned 2026-11-03 06:04:06.066327
View on AUR
Why flagged

The package builds from the project's own GitHub repository, which is normal for AUR packages; the low severity is due to few votes and recent upload, not malicious content.

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.

Low AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from the project's own GitHub repository, which is normal for AUR packages; the low severity is due to few votes and recent upload, not malicious content.

PKGBUILD

1# Maintainer: Harriet Brien <harrietao@users.noreply.github.com>
2
3# MatterTune includes a Cython extension (graph_partition.pyx) and
4# requires numpy at build time for C header paths.
5#
6# Generate .SRCINFO after editing:
7# makepkg --printsrcinfo > .SRCINFO
8
9pkgname=python-mattertune
10_pkgname=MatterTune
11pkgver=0.1.0.r441.fea9022
12pkgrel=1
13pkgdesc="Fine-tuning platform for atomistic foundation models (Fung Lab, Georgia Tech)"
14arch=('x86_64')
15url="https://github.com/Fung-Lab/MatterTune"
16license=('MIT')
17depends=(
18 'python>=3.10'
19 'python-pytorch'
20 'python-torchmetrics'
21 'python-ase'
22 'python-numpy'
23 'python-rich'
24 'python-pydantic>=2.13'
25)
26# nshconfig and nshconfig-extra are PyPI-only packages (by the same author).
27# They are not in the Arch repos or AUR. Install them before building:
28# pip install nshconfig nshconfig-extra
29# or create AUR packages for them. They are listed as pip makedepends below.
30makedepends=(
31 'python-build'
32 'python-installer'
33 'python-setuptools'
34 'python-wheel'
35 'cython'
36 'python-numpy'
37 'git'
38)
39# nshconfig and nshconfig-extra must be installed in the build environment:
40# pip install nshconfig nshconfig-extra
41optdepends=(
42 'python-lightning: training framework (install via pip: pip install lightning)'
43 'python-scikit-learn: normalizer utilities for training'
44 'python-wandb: Weights and Biases experiment logging'
45 'tensorboardx: TensorBoard experiment logging'
46 'python-pymatgen: materials data IO and structure handling'
47 'python-vesin: neighbor-list provider for some backbones'
48 'python-matscipy: neighbor-list provider for some backbones'
49)
50source=("${_pkgname}::git+https://github.com/Fung-Lab/MatterTune.git")
51sha256sums=('SKIP')
52
53pkgver() {
54 cd "${_pkgname}"
55 printf "0.1.0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
56}
57
58build() {
59 cd "${_pkgname}"
60 python -m build --wheel --no-isolation
61}
62
63package() {
64 cd "${_pkgname}"
65 python -m installer --destdir="${pkgdir}" dist/*.whl
66 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
67}
68

Scan history

Scanned at (UTC)SeverityRules
2026-11-03 06:04:06 Low 2

Report a package

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

0 / 4000
Your suggestion