python-einops-exts

LOW
maintainer Smoolak 0 votes scanned 2026-11-02 02:02:07.595282
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>
2pkgname=python-einops-exts
3pkgver=0.0.4
4pkgrel=1
5pkgdesc='Einops helpers for tensor lists, anonymous dimensions and PyTorch modules'
6arch=(any)
7url='https://github.com/lucidrains/einops-exts'
8license=(MIT)
9# PyTorch is imported unconditionally upstream but omitted from install_requires.
10# The generic dependency accepts both official CPU and CUDA providers.
11depends=(python 'python-einops>=0.4' python-pytorch)
12makedepends=(python-build python-installer python-setuptools python-wheel)
13_commit=a61d8d5c0ba10b6d9386b924177f528799627924
14source=("einops-exts-$pkgver.tar.gz::$url/archive/$_commit.tar.gz"
15 packaging-check.py)
16sha256sums=('a2263fb03533a75e80f6e22cf4e98357990acedc96c6d4e95bd2ea3b0fb49eac'
17 '8835a5909ef812daeaf81df342a0d808c76c571b62eb70d372cd256b0d35d8b1')
18
19build() {
20 cd "einops-exts-$_commit"
21 python -m build --wheel --no-isolation
22}
23
24check() {
25 cd "einops-exts-$_commit"
26 # Upstream 0.0.4 publishes no test suite. These packaging checks exercise the
27 # built wheel's tensor helpers, shape errors, module wrapper and gradients.
28 python -m installer --destdir="$srcdir/check" dist/*.whl
29 local site_packages=("$srcdir"/check/usr/lib/python*/site-packages)
30 python -I "$srcdir/packaging-check.py" "${site_packages[0]}"
31}
32
33package() {
34 cd "einops-exts-$_commit"
35 python -m installer --destdir="$pkgdir" dist/*.whl
36 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
37}
38

Scan history

Scanned at (UTC)SeverityRules
2026-11-02 02:02:07 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