python-qiskit-addon-slc

LOW
maintainer iyanmv 1 votes scanned 2026-10-21 11:31:16.199359
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-slc
3pkgname=python-$_name
4pkgver=0.1.0
5pkgrel=1
6pkgdesc="Reducing PEC sampling overhead with shaded lightcones"
7arch=(any)
8url=https://github.com/Qiskit/qiskit-addon-slc
9license=(Apache-2.0)
10depends=(
11 python-matplotlib
12 python-pauli-prop
13 python-pyscf
14 python-qiskit
15 python-rustworkx
16 python-samplomatic
17)
18makedepends=(
19 git
20 python-build
21 python-installer
22 python-hatchling
23)
24checkdepends=(
25 python-pytest
26 python-pytest-subtests
27 python-qiskit-ibm-runtime
28)
29source=(
30 $_name::git+https://github.com/Qiskit/$_name.git#tag=$pkgver
31 fix-tests.patch
32)
33b2sums=('8f8500baad2e753fc586f1b3e0c10061efe0348584af9c243d3d84d5b2a57a0f7f1a8a49f569cbb0009aa19d287e2ec39be10d319ab69a909249ebb7a30cefbf'
34'6db9659dac057426a1ce4b1a42dc96f3cbc92763b7b9cc58191b17d86839579ae213bf6f23074114ca662e9567280455246ddd67c4c763c3b2abc2e8d28e664e')
35
36prepare(){
37 # https://github.com/Qiskit/qiskit-addon-slc/issues/132
38 patch -Np1 -d $_name < fix-tests.patch
39}
40
41build() {
42 cd $_name
43 python -m build --wheel --no-isolation
44}
45
46check() {
47 cd $_name
48 python -m venv --system-site-packages test-env
49 test-env/bin/python -m installer dist/*.whl
50 rm -rf ${_name//-/_}
51 test-env/bin/python -P -m pytest -o addopts="" tests
52}
53
54package() {
55 cd $_name
56 python -m installer --destdir="$pkgdir" dist/*.whl
57 install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
58}
59

Scan history

Scanned at (UTC)SeverityRules
2026-10-21 11:31:16 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