Files
soubarnak c462ffb4b2 feat(void): add xbps templates for pynput and updated PyAudio
Ticket: #25

Two in-repo void-packages-layout templates under packaging/void/srcpkgs:
python3-pynput 1.8.2 (new; Void does not ship it) and python3-PyAudio
0.2.14 (updated local template; Void ships 0.2.12, below the project's
pyaudio>=0.2.13 floor). Versions and checksums track uv.lock and
requirements/runtime.txt; pynput post_patch strips setup_requires so the
build never fetches helpers over the network (setuptools-lint and twine
are not in void-packages). No noverifypydeps/nopyprovides anywhere.

Adds tests/test_void_small_deps.py (offline policy test): template
layout and metadata shape, lock/export/floor pins, checksum pins,
no verification-disabling options, linux dep coverage, verified-only
dependency names, and the digest-pinned base image in
packaging/void/tool_checksums.txt.

Verified: xlint clean on both templates; both packages build with
xbps-src in the pinned ghcr.io/void-linux/void-glibc-full container
(podman) and install in a fresh container with pyaudio 0.2.14
importing against PortAudio V19.6.0.
2026-11-05 23:09:16 +05:30

20 lines
645 B
Plaintext

# Template file for 'python3-PyAudio'
pkgname=python3-PyAudio
version=0.2.14
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel portaudio-devel"
depends="python3"
short_desc="Python3 Bindings for PortAudio, a cross-platform audio IO library"
maintainer="Jatin K Malik <jatinkrmalik@gmail.com>"
license="MIT"
homepage="https://people.csail.mit.edu/hubert/pyaudio/"
distfiles="${PYPI_SITE}/P/PyAudio/PyAudio-${version}.tar.gz"
checksum=78dfff3879b4994d1f4fc6485646a57755c6ee3c19647a491f790a0895bd2f87
post_install() {
sed -n '/Copyright/,/SOFTWARE\./p'< README.md > LICENSE
vlicense LICENSE
}