fix(void): carry python3-pysocks and constrain the audio and SOCKS floors (#39)
CI / security (push) Successful in 1m15s
CI / lint (push) Successful in 24s
CI / ai-review (push) Skipped

voculinux now depends on python3-PyAudio and python3-pysocks at the carried versions, so a stock Void package below the project floors is upgraded rather than silently kept. The container smoke installs the stock packages first and asserts the upgrade.
This commit was merged in pull request #39.
This commit is contained in:
2026-11-06 16:17:19 +00:00
parent 4171567fd7
commit 37cf549956
10 changed files with 260 additions and 38 deletions
@@ -0,0 +1,20 @@
# Template file for 'python3-pysocks'
# Carried for the personal repository: Void's python3-pysocks is 1.7.0, below
# the project floor PySocks>=1.7.1 (pyproject.toml). The version and checksum
# are the PyPI sdist that uv.lock pins. See packaging/void/README.md.
pkgname=python3-pysocks
version=1.7.1
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python3 SOCKS client module"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/Anorov/PySocks"
distfiles="${PYPI_SITE}/P/PySocks/PySocks-${version}.tar.gz"
checksum=3f8804571ebe159c380ac6de37643bb4685970655d3bba243530d6558b799aa0
post_install() {
vlicense LICENSE
}
+6 -1
View File
@@ -15,7 +15,12 @@ makedepends="python3-devel"
# direct typing on niri, wl-clipboard (wl-copy, wl-paste) for clipboard
# paths, xdotool for X11 and the XWayland fallback, pulseaudio-utils for
# pactl source listing. ibus is not a dependency: it is excluded on niri.
depends="python3 python3-gobject python3-cairo gtk+3 libayatana-appindicator gobject-introspection python3-numpy python3-requests python3-pysocks python3-psutil python3-evdev python3-xlib python3-tqdm python3-platformdirs python3-PyAudio python3-pynput python3-pywhispercpp pipewire wtype wl-clipboard xdotool pulseaudio-utils"
# python3-PyAudio and python3-pysocks are version-constrained. Void's stock
# packages (0.2.12_5, 1.7.0_8) sit below the project floors, and a bare name is
# already satisfied by a stock package a user has installed, so it would never
# be upgraded to the carried template. Each >= names the carried template's
# version and revision; tests/test_void_app_template.py keeps them in step.
depends="python3 python3-gobject python3-cairo gtk+3 libayatana-appindicator gobject-introspection python3-numpy python3-requests python3-pysocks>=1.7.1_1 python3-psutil python3-evdev python3-xlib python3-tqdm python3-platformdirs python3-PyAudio>=0.2.14_1 python3-pynput python3-pywhispercpp pipewire wtype wl-clipboard xdotool pulseaudio-utils"
short_desc="Free, offline voice dictation for Linux"
maintainer="Xavier Karma <xavier@bongbetic.com>"
license="AGPL-3.0-only"