python-mattertune
LOW
maintainer harrietobrien
0 votes
scanned 2026-11-03 06:04:06.066327
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
9
pkgname=python-mattertune
10
_pkgname=MatterTune
11
pkgver=0.1.0.r441.fea9022
12
pkgrel=1
13
pkgdesc="Fine-tuning platform for atomistic foundation models (Fung Lab, Georgia Tech)"
14
arch=('x86_64')
15
url="https://github.com/Fung-Lab/MatterTune"
16
license=('MIT')
17
depends=(
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.
30
makedepends=(
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
41
optdepends=(
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
)
50
source=("${_pkgname}::git+https://github.com/Fung-Lab/MatterTune.git")
51
sha256sums=('SKIP')
52
53
pkgver() {
54
cd "${_pkgname}"
55
printf "0.1.0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
56
}
57
58
build() {
59
cd "${_pkgname}"
60
python -m build --wheel --no-isolation
61
}
62
63
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-11-03 06:04:06 | Low | 2 |