python-torch-ema

LOW
maintainer harrietobrien 0 votes scanned 2026-10-30 03:55:04.906523
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: Harriet O'Brien <harrietobrien@protonmail.com>
2
3pkgname=python-torch-ema
4_pkgname=torch_ema
5pkgver=0.3
6pkgrel=1
7pkgdesc="Exponential Moving Average of PyTorch model parameters"
8arch=('any')
9url="https://github.com/fadel/pytorch_ema"
10license=('MIT')
11depends=(
12 'python-pytorch'
13)
14makedepends=(
15 'python-build'
16 'python-installer'
17 'python-setuptools'
18 'python-wheel'
19)
20source=("${_pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
21sha256sums=('5a3595405fa311995f01291a1d4a9242d6be08a0fc9db29152ec6cfd586ea414')
22
23build() {
24 cd "${_pkgname}-${pkgver}"
25 /usr/bin/python -m build --wheel --no-isolation
26}
27
28package() {
29 cd "${_pkgname}-${pkgver}"
30 /usr/bin/python -m installer --destdir="${pkgdir}" dist/*.whl
31}
32

Scan history

Scanned at (UTC)SeverityRules
2026-10-30 03:55:04 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