Port details
py-samplerate Python wrapper for libsamplerate based on pybind11 and NumPy
0.2.4 audio Σ =0 0.2.4Version of this port present on the latest quarterly branch. Maintainer: yuri@FreeBSD.org Port Added: 2024-05-04 02:09:06
Last Update: 2026-06-02 18:15:59
Commit Hash: 5b490b6
License: MIT
WWW: https://github.com/tuxu/python-samplerate Description: # samplerate is a wrapper around Erik de Castro Lopo's libsamplerate (aka Secret
Rabbit Code) for high-quality sample rate conversion. ¦ ¦ ¦ ¦
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist # There is no configure plist information for this port. USE_RC_SUBR (Service Scripts)
no SUBR information found for this port
Dependency lines :
${PYTHON_PKGNAMEPREFIX}samplerate>0:audio/py-samplerate@${PY_FLAVOR} To install the port : # cd /usr/ports/audio/py-samplerate/ && make install clean To add the package , run one of these commands: pkg install audio/py-samplerate pkg install py311-samplerate NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-samplerate listed in the above command, you can pick from the names under the Packages section.PKGNAME: py311-samplerate Package flavors (<flavor>: <package> ) # distinfo: # TIMESTAMP = 1780422893
SHA256 (samplerate-0.2.4.tar.gz) = c44dcb6fe680246f8f36588ba1f0fc7a0c5fbce710ad5e9b3812d88e8c39ac7d
SIZE (samplerate-0.2.4.tar.gz) = 22066
Packages (timestamps in pop-ups are UTC): #
Dependencies # NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered. Build dependencies: #
py311-setuptools>0 : devel/py-setuptools@py311 py311-setuptools-scm>=6.2 : devel/py-setuptools-scm@py311 pybind11>0 : devel/pybind11 cmake : devel/cmake-core cmake : devel/cmake-core ninja : devel/ninja pkgconf>=1.3.0_1 : devel/pkgconf python3.11 : lang/python311
Test dependencies: #
py311-pytest>=7,1 : devel/py-pytest@py311 python3.11 : lang/python311
Runtime dependencies: #
py311-numpy>=1.16 : math/py-numpy@py311 python3.11 : lang/python311
Library dependencies: #
libsamplerate.so : audio/libsamplerate
This port is required by: # for Test #
audio/py-librosa
Configuration Options : #
No options to configure Options name : #
audio_py-samplerate USES: #
cmake compiler:c++14-lang pkgconfig python
pkg-message: # FreshPorts was unable to extract/find any pkg message Master Sites: #
Number of commits found: 7 #
Commit History - (may be incomplete: for full details, see links to repositories near top of page)
Commit Credits Log message
0.2.4 02 Jun 2026 18:15:59
Yuri Victorovich (yuri)
audio/py-samplerate: update 0.2.1 → 0.2.4
0.2.1_2 05 May 2026 19:29:37
Max Brazhnikov (makc)
*/*: bump PORTREVISION after switching to NumPy 2.x
0.2.1_1 05 May 2026 19:29:37
Max Brazhnikov (makc)
*/*: Switch to NumPy 2.x
PR: 294328
Exp-run: antoine
0.2.1_1 03 Apr 2026 20:52:43
Charlie Li (vishwin)
python.mk: retire ${PYNUMPY}
With both math/py-numpy (2) and math/py-numpy1, the variable stopped
making sense. Also remove the upper version bound.
0.2.1_1 03 Apr 2026 18:52:22
Charlie Li (vishwin)
math/py-numpy: switch all consumers to math/py-numpy1
...and bump PORTREVISIONs of consumers with hard RUN_DEPENDS
PR: 281470
0.2.1 19 Jun 2025 20:28:47
Charlie Li (vishwin)
python.mk: rename PYTHON_EXT_SUFFIX to PYTHON_TAG, document, etc
EXT_SUFFIX, according to PEP 3149, refers to the full tag and
extension for compiled extension module objects, eg .cpython-311.so,
.cpython-313t.so, etc. We do not use the correct semantic meaning,
and this usage becomes ambiguous and confusing when tags do not
match between bytecode and compiled extension module objects.
Rename our PYTHON_EXT_SUFFIX to PYTHON_TAG to align with PEP 3147's
specification of a magic tag, which consists of implementation name
and shorthand version only. This is meant for bytecode and other
files containing this tag in their filename that do not depend on
a specific Python ABI for the same version. Chase all existing
consumers.
(Only the first 15 lines of the commit message are shown above )
0.2.1 04 May 2024 02:06:56
Yuri Victorovich (yuri)
audio/py-samplerate: New port: Python wrapper for libsamplerate based on
pybind11 and NumPy
Number of commits found: 7