python-qiskit-mitigation

LOW
maintainer iyanmv 1 votes scanned 2026-09-25 09:11:17.574095
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_pkgname=qiskit-mitigation
3pkgname=python-${_pkgname}
4pkgver=0.1.1
5pkgrel=1
6pkgdesc="A toolbox for handling noise in quantum computations"
7arch=(any)
8url=https://github.com/Qiskit/qiskit-mitigation
9license=(Apache-2.0)
10depends=(
11 python-numpy
12 python-qiskit
13 python-samplomatic
14 python-scipy
15)
16makedepends=(
17 git
18 python-build
19 python-hatchling
20 python-installer
21)
22checkdepends=(
23 python-ddt
24 python-pytest
25)
26source=($_pkgname::git+$url.git#tag=$pkgver)
27b2sums=('248c9dec6735faa9e40d894fc8ccf2757ac3a45390520aa74ecb3d97bc3287b51b99d03e0dc10c5d46a81a4b2cc09e5c7da893ce08e3fb3d308d44e7f666b763')
28
29build() {
30 cd $_pkgname
31 python -m build --wheel --no-isolation
32}
33
34check() {
35 cd $_pkgname
36 python -m venv --system-site-packages test-env
37 test-env/bin/python -m installer dist/*.whl
38 rm -rf ${_pkgname//-/_}
39 test-env/bin/python -P -m pytest -o addopts=""
40}
41
42package() {
43 cd $_pkgname
44 python -m installer --destdir="$pkgdir" dist/*.whl
45 install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
46}
47

Scan history

Scanned at (UTC)SeverityRules
2026-09-25 09:11:17 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