python-pan-os-python
LOW
maintainer evilstack
0 votes
scanned 2026-10-24 19:41:06.850237
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>
2
pkgname=python-pan-os-python
3
_name=pan-os-python
4
pkgver=1.13.1
5
pkgrel=1
6
pkgdesc="Framework for interacting with Palo Alto Networks devices via API"
7
arch=('any')
8
url="https://github.com/PaloAltoNetworks/${_name}"
9
license=('ISC')
10
depends=('python' 'python-pan-python')
11
makedepends=('python-build' 'python-installer' 'python-poetry' 'python-httpx')
12
checkdepends=('python-pytest')
13
source=("${_name}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
14
sha256sums=('1785bce918591b156078f221b9ef445d17676f8b563fd47ce7959a5225c1f739')
15
16
build() {
17
cd "${_name}-${pkgver}"
18
python -m build --wheel --no-isolation
19
}
20
21
check() {
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
30
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-10-24 19:41:06 | Low | 1 |