python-qiskit-fermions

LOW
maintainer iyanmv 0 votes scanned 2026-10-20 09:27:54.737837
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-fermions
3pkgname=python-${_pkgname}
4pkgver=0.2.0
5pkgrel=1
6epoch=1
7pkgdesc="A toolkit for working with fermionic systems"
8arch=(x86_64)
9url=https://github.com/Qiskit/qiskit-fermions
10license=(Apache-2.0)
11depends=(
12 python-qiskit
13 python-scipy
14 python-stevedore
15 python-typing_extensions
16)
17optdepends=(
18 'python-ffsim: required for ansatz gates of the circuit library'
19 'python-pyomo: support for optimization modeling'
20)
21makedepends=(
22 git
23 python-build
24 python-installer
25 python-setuptools
26 python-setuptools-rust
27)
28checkdepends=(
29 python-sybil
30 python-highspy
31 python-pylatexenc
32 python-pytest-subtests
33 python-rustworkx
34)
35source=($_pkgname::git+https://github.com/Qiskit/$_pkgname#tag=$pkgver)
36b2sums=('1144116d7ec2ff32b7fa36aff9565f5444b318dc41fe7373c801337cae55b0e383138aad1ae1a395e13273e763ba62d93acbd2b0989acf0115f2aa5ef5d4685b')
37
38prepare() {
39 cd $_pkgname
40 sed -ie 's/qiskit~=2.5.0/qiskit~=2.6.0/g' pyproject.toml
41}
42
43build() {
44 cd $_pkgname
45 python -m build --wheel --no-isolation
46}
47
48check() {
49 cd $_pkgname
50 python -m venv --system-site-packages test-env
51 test-env/bin/python -m installer dist/*.whl
52 test-env/bin/python -P -m pytest -o addopts="" tests/python
53}
54
55package() {
56 cd $_pkgname
57 python -m installer --destdir="$pkgdir" dist/*.whl
58 install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
59}
60

Scan history

Scanned at (UTC)SeverityRules
2026-10-20 09:27:54 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