python-vodozemac

LOW
maintainer BubuIIC 0 votes scanned 2026-10-23 15:37:50.087015
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: Marcus Hoffmann <bubu@bubu1.eu>
2
3_pkgname=vodozemac
4pkgname=python-vodozemac
5pkgver=0.10.0
6pkgrel=1
7pkgdesc="Python bindings for vodozemac"
8arch=('x86_64' 'aarch64')
9url="https://github.com/matrix-nio/vodozemac-python"
10license=('MIT')
11depends=('python')
12makedepends=('python-build' 'python-installer' 'python-maturin' 'rust')
13checkdepends=('python-pytest' 'python-hypothesis')
14source=("${_pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
15sha256sums=('9602edb87ab7d16e7b4aad5a087473d8fb6b3ee99043f9aaf0f54bb78970dde9')
16
17prepare() {
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
25build() {
26 cd "${_pkgname}-${pkgver}"
27 python -m build --wheel --no-isolation --skip-dependency-check
28}
29
30check() {
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
37package() {
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)SeverityRules
2026-10-23 15:37:50 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