python-qiskit-addon-opt-mapper
LOW
maintainer iyanmv
0 votes
scanned 2026-10-21 13:31:17.016028
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-opt-mapper
3
pkgname=python-$_name
4
pkgver=0.1.0
5
pkgrel=1
6
pkgdesc="Mapping combinatorial optimization problems to quantum computers"
7
arch=(any)
8
url=https://github.com/Qiskit/qiskit-addon-opt-mapper
9
license=(Apache-2.0)
10
depends=(
11
python-cvxpy
12
python-docplex
13
python-networkx
14
python-numpy
15
python-qiskit
16
python-rustworkx
17
python-scipy
18
)
19
makedepends=(
20
git
21
python-build
22
python-installer
23
python-hatchling
24
)
25
checkdepends=(
26
python-ddt
27
python-pytest
28
python-pytest-subtests
29
)
30
source=($_name::git+https://github.com/Qiskit/$_name.git#tag=$pkgver)
31
b2sums=('2aed23e47dbcab281543137d0cafce89a5e3e6a5a910635afcfdd68cd84f6bf730a21b2e1e12f2993d4df70e98f82bb594b25063d7fa5dc148f90013c9f1c948')
32
33
build() {
34
cd $_name
35
python -m build --wheel --no-isolation
36
}
37
38
check() {
39
cd $_name
40
python -m venv --system-site-packages test-env
41
test-env/bin/python -m installer dist/*.whl
42
rm -rf ${_name//-/_}
43
test-env/bin/python -P -m pytest -o addopts="" test
44
}
45
46
package() {
47
cd $_name
48
python -m installer --destdir="$pkgdir" dist/*.whl
49
install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
50
}
51
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-21 13:31:17 | Low | 1 |