notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-unicode-segmentation-rs Unicode segmentation and width for Python using Rust
0.2.1_1 textproc on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.2.1Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-12-02 12:21:26
Last Update: 2026-01-28 08:48:51
Commit Hash: 3d63110
Also Listed In: python
License: MIT
WWW:
https://github.com/WeblateOrg/unicode-segmentation-rs
Description:
Python bindings for the Rust unicode-segmentation and unicode-width crates, providing Unicode text segmentation and width calculation according to Unicode standards. Features: - Grapheme Cluster Segmentation: Split text into user-perceived characters - Word Segmentation: Split text into words according to Unicode rules - Sentence Segmentation: Split text into sentences - Display Width Calculation: Get the display width of text (for terminal/monospace display) - Gettext PO Wrapping: Wrap text for gettext PO files with proper handling of escape sequences and CJK characters
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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}unicode-segmentation-rs>0:textproc/py-unicode-segmentation-rs@${PY_FLAVOR}
To install the port:
cd /usr/ports/textproc/py-unicode-segmentation-rs/ && make install clean
To add the package, run one of these commands:
  • pkg install textproc/py-unicode-segmentation-rs
  • pkg install py311-unicode-segmentation-rs
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-unicode-segmentation-rs listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-unicode-segmentation-rs
Package flavors (<flavor>: <package>)
  • py311: py311-unicode-segmentation-rs
distinfo:
TIMESTAMP = 1766036515 SHA256 (unicode_segmentation_rs-0.2.1.tar.gz) = ca01aa024a6580960bdab8e4a1a0f1287e9592e66dfdae9e51a1d05f43768e78 SIZE (unicode_segmentation_rs-0.2.1.tar.gz) = 25041

Expand this list (50 items)

Collapse this list.

SHA256 (rust/crates/autocfg-1.5.0.crate) = c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8 SIZE (rust/crates/autocfg-1.5.0.crate) = 18729 SHA256 (rust/crates/cc-1.2.49.crate) = 90583009037521a116abf44494efecd645ba48b6622457080f080b85544e2215 SIZE (rust/crates/cc-1.2.49.crate) = 93145 SHA256 (rust/crates/find-msvc-tools-0.1.5.crate) = 3a3076410a55c90011c298b04d0cfa770b00fa04e1e3c97d3f6c9de105a03844 SIZE (rust/crates/find-msvc-tools-0.1.5.crate) = 30942 SHA256 (rust/crates/heck-0.5.0.crate) = 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea SIZE (rust/crates/heck-0.5.0.crate) = 11517 SHA256 (rust/crates/indoc-2.0.7.crate) = 79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706 SIZE (rust/crates/indoc-2.0.7.crate) = 17184 SHA256 (rust/crates/libc-0.2.178.crate) = 37c93d8daa9d8a012fd8ab92f088405fb202ea0b6ab73ee2482ae66af4f42091 SIZE (rust/crates/libc-0.2.178.crate) = 783720 SHA256 (rust/crates/memoffset-0.9.1.crate) = 488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a SIZE (rust/crates/memoffset-0.9.1.crate) = 9032 SHA256 (rust/crates/once_cell-1.21.3.crate) = 42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d SIZE (rust/crates/once_cell-1.21.3.crate) = 34534 SHA256 (rust/crates/portable-atomic-1.11.1.crate) = f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483 SIZE (rust/crates/portable-atomic-1.11.1.crate) = 185506 SHA256 (rust/crates/proc-macro2-1.0.103.crate) = 5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8 SIZE (rust/crates/proc-macro2-1.0.103.crate) = 60024 SHA256 (rust/crates/pyo3-0.27.2.crate) = ab53c047fcd1a1d2a8820fe84f05d6be69e9526be40cb03b73f86b6b03e6d87d SIZE (rust/crates/pyo3-0.27.2.crate) = 1171342 SHA256 (rust/crates/pyo3-build-config-0.27.2.crate) = b455933107de8642b4487ed26d912c2d899dec6114884214a0b3bb3be9261ea6 SIZE (rust/crates/pyo3-build-config-0.27.2.crate) = 35564 SHA256 (rust/crates/pyo3-ffi-0.27.2.crate) = 1c85c9cbfaddf651b1221594209aed57e9e5cff63c4d11d1feead529b872a089 SIZE (rust/crates/pyo3-ffi-0.27.2.crate) = 78552 SHA256 (rust/crates/pyo3-macros-0.27.2.crate) = 0a5b10c9bf9888125d917fb4d2ca2d25c8df94c7ab5a52e13313a07e050a3b02 SIZE (rust/crates/pyo3-macros-0.27.2.crate) = 8913 SHA256 (rust/crates/pyo3-macros-backend-0.27.2.crate) = 03b51720d314836e53327f5871d4c0cfb4fb37cc2c4a11cc71907a86342c40f9 SIZE (rust/crates/pyo3-macros-backend-0.27.2.crate) = 82513 SHA256 (rust/crates/python3-dll-a-0.2.14.crate) = d381ef313ae70b4da5f95f8a4de773c6aa5cd28f73adec4b4a31df70b66780d8 SIZE (rust/crates/python3-dll-a-0.2.14.crate) = 103489 SHA256 (rust/crates/quote-1.0.42.crate) = a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f SIZE (rust/crates/quote-1.0.42.crate) = 31504 SHA256 (rust/crates/rustversion-1.0.22.crate) = b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d SIZE (rust/crates/rustversion-1.0.22.crate) = 21096 SHA256 (rust/crates/shlex-1.3.0.crate) = 0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64 SIZE (rust/crates/shlex-1.3.0.crate) = 18713 SHA256 (rust/crates/syn-2.0.111.crate) = 390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87 SIZE (rust/crates/syn-2.0.111.crate) = 302117 SHA256 (rust/crates/target-lexicon-0.13.3.crate) = df7f62577c25e07834649fc3b39fafdc597c0a3527dc1c60129201ccfcbaa50c SIZE (rust/crates/target-lexicon-0.13.3.crate) = 28498 SHA256 (rust/crates/unicode-ident-1.0.22.crate) = 9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5 SIZE (rust/crates/unicode-ident-1.0.22.crate) = 47919 SHA256 (rust/crates/unicode-segmentation-1.12.0.crate) = f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493 SIZE (rust/crates/unicode-segmentation-1.12.0.crate) = 106323 SHA256 (rust/crates/unicode-width-0.2.2.crate) = b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254 SIZE (rust/crates/unicode-width-0.2.2.crate) = 282768 SHA256 (rust/crates/unindent-0.2.4.crate) = 7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3 SIZE (rust/crates/unindent-0.2.4.crate) = 7422

Collapse this list.


Packages (timestamps in pop-ups are UTC):
py311-unicode-segmentation-rs
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.2.10.2.1--0.2.1_1n/an/an/a
FreeBSD:13:quarterly0.2.10.2.1--0.2.1n/an/an/a
FreeBSD:14:latest0.2.10.2.1_1--0.2.1_1---
FreeBSD:14:quarterly0.2.10.2.1--0.2.1---
FreeBSD:15:latest0.2.1_10.2.1_1n/a-n/an/a--
FreeBSD:15:quarterly0.2.10.2.1n/a-n/an/a--
FreeBSD:16:latest0.2.10.2.1_1n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-maturin>=1.10.0<2.0 : devel/py-maturin@py311
  2. rust>=1.93.0 : lang/rust
  3. python3.11 : lang/python311
  4. py311-build>=0 : devel/py-build@py311
  5. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. python3.11 : lang/python311
This port is required by:
for Build
  1. textproc/translate-toolkit
for Run
  1. textproc/translate-toolkit

Configuration Options:
No options to configure
Options name:
textproc_py-unicode-segmentation-rs
USES:
cargo python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/u/unicode-segmentation-rs/
  2. https://pypi.org/packages/source/u/unicode-segmentation-rs/
Collapse this list.

Number of commits found: 4

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.2.1_1
28 Jan 2026 08:48:51
commit hash: 3d631100e8aa692b0bdc32c1ac4d11d4caf1a0a9commit hash: 3d631100e8aa692b0bdc32c1ac4d11d4caf1a0a9commit hash: 3d631100e8aa692b0bdc32c1ac4d11d4caf1a0a9commit hash: 3d631100e8aa692b0bdc32c1ac4d11d4caf1a0a9 files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.93.0

PR:		292360
0.2.1
19 Dec 2025 11:13:01
commit hash: 9f83bdbe84be1b0418f06415ed5cdf91b0319b5fcommit hash: 9f83bdbe84be1b0418f06415ed5cdf91b0319b5fcommit hash: 9f83bdbe84be1b0418f06415ed5cdf91b0319b5fcommit hash: 9f83bdbe84be1b0418f06415ed5cdf91b0319b5f files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
textproc/py-unicode-segmentation-rs: Update to 0.2.1

Changes:	https://github.com/WeblateOrg/unicode-segmentation-rs/releases
0.2.0_1
16 Dec 2025 12:12:31
commit hash: 5e496c77078638a3777140084ddcb183d51966f6commit hash: 5e496c77078638a3777140084ddcb183d51966f6commit hash: 5e496c77078638a3777140084ddcb183d51966f6commit hash: 5e496c77078638a3777140084ddcb183d51966f6 files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.92.0

PR:		291582
0.2.0
02 Dec 2025 12:04:15
commit hash: d02fe93101149762fef53b28ff03b0ed1a00f7b2commit hash: d02fe93101149762fef53b28ff03b0ed1a00f7b2commit hash: d02fe93101149762fef53b28ff03b0ed1a00f7b2commit hash: d02fe93101149762fef53b28ff03b0ed1a00f7b2 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
textproc/py-unicode-segmentation-rs: Add py-unicode-segmentation-rs 0.2.0

Python bindings for the Rust unicode-segmentation and unicode-width crates,
providing Unicode text segmentation and width calculation according to Unicode
standards.

Features:
- Grapheme Cluster Segmentation: Split text into user-perceived characters
- Word Segmentation: Split text into words according to Unicode rules
- Sentence Segmentation: Split text into sentences
- Display Width Calculation: Get the display width of text (for
  terminal/monospace display)
- Gettext PO Wrapping: Wrap text for gettext PO files with proper handling of
  escape sequences and CJK characters

Number of commits found: 4