python-qiskit-addon-opt-mapper

LOW
maintainer iyanmv 0 votes scanned 2026-10-21 13:31:17.016028
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-opt-mapper
3pkgname=python-$_name
4pkgver=0.1.0
5pkgrel=1
6pkgdesc="Mapping combinatorial optimization problems to quantum computers"
7arch=(any)
8url=https://github.com/Qiskit/qiskit-addon-opt-mapper
9license=(Apache-2.0)
10depends=(
11 python-cvxpy
12 python-docplex
13 python-networkx
14 python-numpy
15 python-qiskit
16 python-rustworkx
17 python-scipy
18)
19makedepends=(
20 git
21 python-build
22 python-installer
23 python-hatchling
24)
25checkdepends=(
26 python-ddt
27 python-pytest
28 python-pytest-subtests
29)
30source=($_name::git+https://github.com/Qiskit/$_name.git#tag=$pkgver)
31b2sums=('2aed23e47dbcab281543137d0cafce89a5e3e6a5a910635afcfdd68cd84f6bf730a21b2e1e12f2993d4df70e98f82bb594b25063d7fa5dc148f90013c9f1c948')
32
33build() {
34 cd $_name
35 python -m build --wheel --no-isolation
36}
37
38check() {
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
46package() {
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)SeverityRules
2026-10-21 13:31: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