python-qiskit-mitigation
LOW
maintainer iyanmv
1 votes
scanned 2026-09-25 09:11:17.574095
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
3
pkgname=python-${_pkgname}
4
pkgver=0.1.1
5
pkgrel=1
6
pkgdesc="A toolbox for handling noise in quantum computations"
7
arch=(any)
8
url=https://github.com/Qiskit/qiskit-mitigation
9
license=(Apache-2.0)
10
depends=(
11
python-numpy
12
python-qiskit
13
python-samplomatic
14
python-scipy
15
)
16
makedepends=(
17
git
18
python-build
19
python-hatchling
20
python-installer
21
)
22
checkdepends=(
23
python-ddt
24
python-pytest
25
)
26
source=($_pkgname::git+$url.git#tag=$pkgver)
27
b2sums=('248c9dec6735faa9e40d894fc8ccf2757ac3a45390520aa74ecb3d97bc3287b51b99d03e0dc10c5d46a81a4b2cc09e5c7da893ce08e3fb3d308d44e7f666b763')
28
29
build() {
30
cd $_pkgname
31
python -m build --wheel --no-isolation
32
}
33
34
check() {
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
42
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-09-25 09:11:17 | Low | 1 |