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