graphics/py-wgpu 0.32.0 FreeBSD
WebGPU for Python
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
676ffef10e- License
- BSD2CLAUSE
- Categories
- graphics, python
Description
wgpu-py is a Python implementation of WebGPU, the next generation GPU API. It provides a Pythonic API for GPU rendering and compute that follows the WebGPU specification, and uses wgpu-native as its backend, which in turn runs on Vulkan, Metal, DX12 and OpenGL. It is the basis of the pygfx render engine.
Version history 1
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
pkg install py312-wgpu
From the ports tree:
cd /usr/ports/graphics/py-wgpu/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-wgpu>0:graphics/py-wgpu
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | - | - | - | - | - |
| FreeBSD:14:quarterly | - | - | n/a | - | - |
| FreeBSD:15:latest | - | - | n/a | - | - |
| FreeBSD:15:quarterly | - | - | n/a | n/a | n/a |
| FreeBSD:16:latest | - | - | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}hatchling>0: devel/py-hatchling${PYTHON_PKGNAMEPREFIX}requests>0: www/py-requests
Runtime 3
${PYTHON_PKGNAMEPREFIX}cffi>=1.15.0: devel/py-cffi${PYTHON_PKGNAMEPREFIX}rendercanvas>=2.7: graphics/py-rendercanvas${LOCALBASE}/lib/libwgpu_native.so: graphics/wgpu-native
The full lists below include those, and their dependencies in turn.
Build dependencies 25
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-trove-classifiers
- devel/readline
- dns/py-idna
- lang/python312
- lang/python315
- math/mpdecimal
- net/py-pysocks
- net/py-urllib3
- print/indexinfo
- security/py-certifi
- textproc/expat2
- textproc/py-charset-normalizer
- textproc/py-tomlkit
- www/py-requests
Run dependencies 20
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| wgpu-0.32.0.tar.gz | 197152 | cb23b2f225594258ccc8ba97458381e46c18e561c5d2d6fc25213e68a6d89985 |
Master sites 1
- PYPI