python-vodozemac
LOW
maintainer BubuIIC
0 votes
scanned 2026-10-23 15:37:50.087015
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: Marcus Hoffmann <bubu@bubu1.eu>
2
3
_pkgname=vodozemac
4
pkgname=python-vodozemac
5
pkgver=0.10.0
6
pkgrel=1
7
pkgdesc="Python bindings for vodozemac"
8
arch=('x86_64' 'aarch64')
9
url="https://github.com/matrix-nio/vodozemac-python"
10
license=('MIT')
11
depends=('python')
12
makedepends=('python-build' 'python-installer' 'python-maturin' 'rust')
13
checkdepends=('python-pytest' 'python-hypothesis')
14
source=("${_pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
15
sha256sums=('9602edb87ab7d16e7b4aad5a087473d8fb6b3ee99043f9aaf0f54bb78970dde9')
16
17
prepare() {
18
cd "${_pkgname}-${pkgver}"
19
# The generated Rust SBOM embeds the absolute "$srcdir" path, we don't need it.
20
if ! grep -q '^\[tool\.maturin\.sbom\]$' pyproject.toml; then
21
printf '\n[tool.maturin.sbom]\nrust = false\n' >> pyproject.toml
22
fi
23
}
24
25
build() {
26
cd "${_pkgname}-${pkgver}"
27
python -m build --wheel --no-isolation --skip-dependency-check
28
}
29
30
check() {
31
cd "${_pkgname}-${pkgver}"
32
python -m venv --clear --system-site-packages --without-pip test-env
33
test-env/bin/python -m installer dist/*.whl
34
test-env/bin/python -I -m pytest -vv
35
}
36
37
package() {
38
cd "${_pkgname}-${pkgver}"
39
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
40
python -m installer --destdir="${pkgdir}" dist/*.whl
41
}
42
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-23 15:37:50 | Low | 1 |