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.
21 lines
790 B
Plaintext
21 lines
790 B
Plaintext
# Template file for 'python3-pynput'
|
|
pkgname=python3-pynput
|
|
version=1.8.2
|
|
revision=1
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-evdev python3-six python3-xlib"
|
|
short_desc="Monitor and control user input devices"
|
|
maintainer="Jatin K Malik <jatinkrmalik@gmail.com>"
|
|
license="LGPL-3.0-or-later"
|
|
homepage="https://github.com/moses-palmer/pynput"
|
|
changelog="https://github.com/moses-palmer/pynput/raw/master/CHANGES.rst"
|
|
distfiles="${PYPI_SITE}/p/pynput/pynput-${version}.tar.gz"
|
|
checksum=f493c87157cd3861b4468f7f896857051762f44ed26f1b641e7cc5840a457087
|
|
|
|
post_patch() {
|
|
# setup_requires would make setuptools fetch helpers over the network;
|
|
# none of them are needed to build, and some are not in void-packages.
|
|
vsed -e "/setup_requires/d" -i setup.py
|
|
}
|