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 photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details
py-unicode-segmentation-rs Unicode segmentation and width for Python using Rust
0.2.2_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.1_2Version 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-04-27 12:26:47
Commit Hash: 17bf498
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 = 1775587632 SHA256 (unicode_segmentation_rs-0.2.2.tar.gz) = 381fc095be217a6ba08384afbf115fa48735bed66e99a3f5c1130ab43508ef5b SIZE (unicode_segmentation_rs-0.2.2.tar.gz) = 27124

Expand this list (40 items)

Collapse this list.

SHA256 (rust/crates/cc-1.2.57.crate) = 7a0dd1ca384932ff3641c8718a02769f1698e7563dc6974ffd03346116310423 SIZE (rust/crates/cc-1.2.57.crate) = 96188 SHA256 (rust/crates/find-msvc-tools-0.1.9.crate) = 5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582 SIZE (rust/crates/find-msvc-tools-0.1.9.crate) = 31493 SHA256 (rust/crates/heck-0.5.0.crate) = 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea SIZE (rust/crates/heck-0.5.0.crate) = 11517 SHA256 (rust/crates/libc-0.2.183.crate) = b5b646652bf6661599e1da8901b3b9522896f01e736bad5f723fe7a3a27f899d SIZE (rust/crates/libc-0.2.183.crate) = 816918 SHA256 (rust/crates/once_cell-1.21.4.crate) = 9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50 SIZE (rust/crates/once_cell-1.21.4.crate) = 35010 SHA256 (rust/crates/portable-atomic-1.13.1.crate) = c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49 SIZE (rust/crates/portable-atomic-1.13.1.crate) = 197001 SHA256 (rust/crates/proc-macro2-1.0.106.crate) = 8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934 SIZE (rust/crates/proc-macro2-1.0.106.crate) = 59765 SHA256 (rust/crates/pyo3-0.28.2.crate) = cf85e27e86080aafd5a22eae58a162e133a589551542b3e5cee4beb27e54f8e1 SIZE (rust/crates/pyo3-0.28.2.crate) = 1202843 SHA256 (rust/crates/pyo3-build-config-0.28.2.crate) = 8bf94ee265674bf76c09fa430b0e99c26e319c945d96ca0d5a8215f31bf81cf7 SIZE (rust/crates/pyo3-build-config-0.28.2.crate) = 35958 SHA256 (rust/crates/pyo3-ffi-0.28.2.crate) = 491aa5fc66d8059dd44a75f4580a2962c1862a1c2945359db36f6c2818b748dc SIZE (rust/crates/pyo3-ffi-0.28.2.crate) = 80837 SHA256 (rust/crates/pyo3-macros-0.28.2.crate) = f5d671734e9d7a43449f8480f8b38115df67bef8d21f76837fa75ee7aaa5e52e SIZE (rust/crates/pyo3-macros-0.28.2.crate) = 8960 SHA256 (rust/crates/pyo3-macros-backend-0.28.2.crate) = 22faaa1ce6c430a1f71658760497291065e6450d7b5dc2bcf254d49f66ee700a SIZE (rust/crates/pyo3-macros-backend-0.28.2.crate) = 87939 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.45.crate) = 41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924 SIZE (rust/crates/quote-1.0.45.crate) = 31564 SHA256 (rust/crates/shlex-1.3.0.crate) = 0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64 SIZE (rust/crates/shlex-1.3.0.crate) = 18713 SHA256 (rust/crates/syn-2.0.117.crate) = e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99 SIZE (rust/crates/syn-2.0.117.crate) = 306011 SHA256 (rust/crates/target-lexicon-0.13.5.crate) = adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca SIZE (rust/crates/target-lexicon-0.13.5.crate) = 26928 SHA256 (rust/crates/unicode-ident-1.0.24.crate) = e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75 SIZE (rust/crates/unicode-ident-1.0.24.crate) = 49298 SHA256 (rust/crates/unicode-segmentation-1.13.2.crate) = 9629274872b2bfaf8d66f5f15725007f635594914870f65218920345aa11aa8c SIZE (rust/crates/unicode-segmentation-1.13.2.crate) = 111829 SHA256 (rust/crates/unicode-width-0.2.2.crate) = b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254 SIZE (rust/crates/unicode-width-0.2.2.crate) = 282768

Collapse this list.


Packages (timestamps in pop-ups are UTC):
py311-unicode-segmentation-rs
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.2.20.2.2_1--0.2.2_1n/an/an/a
FreeBSD:13:quarterly0.2.1_20.2.1_2--0.2.1_2n/an/an/a
FreeBSD:14:latest0.2.2_10.2.2_1--0.2.2_1---
FreeBSD:14:quarterly0.2.1_20.2.1_2--0.2.1_2---
FreeBSD:15:latest0.2.2_10.2.2_1n/a-n/an/a--
FreeBSD:15:quarterly0.2.1_20.2.1_2n/a-n/an/a--
FreeBSD:16:latest0.2.2_10.2.2_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.95.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: 7

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.2.2_1
27 Apr 2026 12:26:47
commit hash: 17bf498fd2289d1c8b6319ea897d3dd307eac991commit hash: 17bf498fd2289d1c8b6319ea897d3dd307eac991commit hash: 17bf498fd2289d1c8b6319ea897d3dd307eac991commit hash: 17bf498fd2289d1c8b6319ea897d3dd307eac991 files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.95.0

PR:		294615
0.2.2
18 Apr 2026 21:53:00
commit hash: cf6809fc4008e88b894b0c29da0ddc01b17f35aecommit hash: cf6809fc4008e88b894b0c29da0ddc01b17f35aecommit hash: cf6809fc4008e88b894b0c29da0ddc01b17f35aecommit hash: cf6809fc4008e88b894b0c29da0ddc01b17f35ae 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.2

Changes:	https://github.com/WeblateOrg/unicode-segmentation-rs/releases
0.2.1_2
23 Mar 2026 07:33:11
commit hash: 43f5b4a72fea3f97a2fc7d5d37f671b82377feb2commit hash: 43f5b4a72fea3f97a2fc7d5d37f671b82377feb2commit hash: 43f5b4a72fea3f97a2fc7d5d37f671b82377feb2commit hash: 43f5b4a72fea3f97a2fc7d5d37f671b82377feb2 files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Bump revisions after 1.94.0

PR:		293615
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: 7