python-pan-os-python

LOW
maintainer evilstack 0 votes scanned 2026-10-24 19:41:06.850237
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: Michael Gates <michael at belowthesalt . us>
2pkgname=python-pan-os-python
3_name=pan-os-python
4pkgver=1.13.1
5pkgrel=1
6pkgdesc="Framework for interacting with Palo Alto Networks devices via API"
7arch=('any')
8url="https://github.com/PaloAltoNetworks/${_name}"
9license=('ISC')
10depends=('python' 'python-pan-python')
11makedepends=('python-build' 'python-installer' 'python-poetry' 'python-httpx')
12checkdepends=('python-pytest')
13source=("${_name}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
14sha256sums=('1785bce918591b156078f221b9ef445d17676f8b563fd47ce7959a5225c1f739')
15
16build() {
17 cd "${_name}-${pkgver}"
18 python -m build --wheel --no-isolation
19}
20
21check() {
22 cd "${_name}-${pkgver}"
23 python -m installer --destdir=test_dir dist/*.whl
24 local site_packages
25 site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
26 PYTHONPATH="test_dir/${site_packages}" python -c "import panos; from panos.firewall import Firewall; print('Import check passed')"
27 PYTHONPATH="test_dir/${site_packages}" pytest --deselect=tests/live/ --deselect=tests/test_standards.py -o addopts="" -x --tb=short
28}
29
30package() {
31 cd "${_name}-${pkgver}"
32 python -m installer --destdir="${pkgdir}" dist/*.whl
33 install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
34}
35

Scan history

Scanned at (UTC)SeverityRules
2026-10-24 19:41:06 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