python-qiskit-addon-aqc-tensor

LOW
maintainer iyanmv 0 votes scanned 2026-10-21 15:32:06.139547
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: Iyán Méndez Veiga <me (at) iyanmv (dot) com>
2_name=qiskit-addon-aqc-tensor
3pkgname=python-${_name}
4pkgver=0.3.1
5pkgrel=1
6pkgdesc="Approximate quantum compilation with tensor networks"
7arch=(any)
8url=https://github.com/Qiskit/qiskit-addon-aqc-tensor
9license=(Apache-2.0)
10depends=(
11 python-numpy
12 python-plum-dispatch
13 python-qiskit
14 python-scipy
15 python-wrapt
16)
17makedepends=(
18 git
19 python-build
20 python-installer
21 python-hatchling
22)
23checkdepends=(
24 python-pytest
25 python-pytest-randomly
26 python-pytest-subtests
27 python-qiskit-addon-utils
28)
29source=($_name::git+https://github.com/Qiskit/$_name.git#tag=$pkgver)
30b2sums=('775bcabb2696b8d29fa8b5c9f1f680f6249f6344fa7c2b4271d6f71ca1c6bf9788d87c2a89da33ed5bcade84fd8b4d5cf9250e841378523d76ce6c9054a176ba')
31
32build() {
33 cd $_name
34 python -m build --wheel --no-isolation
35}
36
37check() {
38 cd $_name
39 python -m venv --system-site-packages test-env
40 test-env/bin/python -m installer dist/*.whl
41 rm -rf ${_name//-/_}
42 test-env/bin/python -P -m pytest -o addopts="" test
43}
44
45package() {
46 cd $_name
47 python -m installer --destdir="$pkgdir" dist/*.whl
48 install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
49}
50

Scan history

Scanned at (UTC)SeverityRules
2026-10-21 15:32:06 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