math/py-PyMetis 2025.2.2 FreeBSD
Python wrapper for the Metis graph partitioning software
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- math, python
- Package size
- 197.9 KiB, 594.3 KiB installed
Description
PyMetis is a Python wrapper for the Metis graph partititioning software by George Karypis, Vipin Kumar and others. It includes version 5.0pre2 of Metis and wraps it using the Boost Python wrapper generator library. So far, it only wraps the most basic graph partitioning functionality (which is enough for my current use), but extending it in case you need more should be quite straightforward. Using PyMetis to partition your meshes is really easy - essentially all you need to pass into PyMetis is an adjacency list for the graph and the number of parts you would like.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | math/py-PyMetis | 2025.2.2 |
| DragonFly | math/py-PyMetis | 2023.1_1 |
Install
Binary package:
pkg install py312-pymetis
From the ports tree:
cd /usr/ports/math/py-PyMetis/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-pymetis>0:math/py-PyMetis
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 | 2025.2.2 | 2025.2.2 | 2022.1 | 2023.1_1 | 2025.2.2 |
| FreeBSD:14:quarterly | 2025.2.2 | 2025.2.2 | n/a | 2023.1_1 | 2025.2.2 |
| FreeBSD:15:latest | 2025.2.2 | 2025.2.2 | n/a | 2023.1_1 | 2023.1_1 |
| FreeBSD:15:quarterly | 2025.2.2 | 2025.2.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2025.2.2 | 2025.2.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}pip>0: devel/py-pip${PYTHON_PKGNAMEPREFIX}meson-python>0: devel/meson-python${PYTHON_PKGNAMEPREFIX}pybind11>0: devel/py-pybind11
Library 1
libmetis.so: math/metis
Runtime 1
${PYTHON_PKGNAMEPREFIX}six>0: devel/py-six
Test 1
pytest: devel/py-pytest
The full lists below include those, and their dependencies in turn.
Build dependencies 22
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/meson
- devel/meson-python
- devel/ninja
- devel/py-build
- devel/py-installer
- devel/py-packaging
- devel/py-pip
- devel/py-pybind11
- devel/py-pyproject-hooks
- devel/py-pyproject-metadata
- devel/readline
- lang/python312
- lang/python315
- math/metis
- math/mpdecimal
- print/indexinfo
- sysutils/patchelf
- textproc/expat2
Run dependencies 9
No port depends on this one.
Configuration
No options to configure.
- USES
- compiler:c++14-lang localbase python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pymetis-2025.2.2.tar.gz | 348479 | 79c6d56c30c6f3df7cc755617cbadcfc252a175ce4e5a59982edad0f1ab71c99 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.