devel/py-wcwidth 0.8.2 MidnightBSD
Determine the printable width of the terminal
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
299d793a25- License
- mit
- Categories
- devel, python
Description
This API is mainly for Terminal Emulator implementors -- any python program that attempts to determine the printable width of a string on a Terminal.
It is certainly possible to use your Operating System's wcwidth() and wcswidth() calls if it is POSIX-conforming, but this would not be possible on non-POSIX platforms, such as Windows, or for alternative Python implementations, such as jython.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/py-wcwidth | 0.8.2 |
| FreeBSD | devel/py-wcwidth | 0.8.4 |
| OpenBSD | devel/py-wcwidth | 0.9.2 |
| NetBSD | devel/py-wcwidth | 0.8.3 |
| DragonFly | devel/py-wcwidth | 0.2.8_1 |
| HardenedBSD | devel/py-wcwidth | 0.8.4 |
| GhostBSD | devel/py-wcwidth | 0.8.4 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}wcwidth
From mports:
cd /usr/mports/devel/py-wcwidth && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wcwidth>0:devel/py-wcwidth
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}hatchling>=0: devel/py-hatchling
Build dependencies 1
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| wcwidth-0.8.2.tar.gz | 1.466253e+06 | 91fbef97204b96a3d4d421609b80340b760cf33e26da123ff243d76b1fda8dda |
Master sites 1
- PYPI
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
299d793a25 |
Lucas Holt | devel/py-wcwidth: update to 0.8.2 (#894) Updates py-wcwidth to 0.8.2 from the FreeBSD ports reference.
Validation: makesum, patch, build, fake, clean package, check-license,
1,318 upstream tests (10 skipped), portlint -C, and git diff --check.
## Summary by Sourcery
Update the wcwidth Python port to version 0.8.2 using its current
packaging metadata and build configuration.
Enhancements:
- Update the wcwidth Python port to version 0.8.2 and migrate it to the
modern PEP 517 build system.
- Declare the package license file and add the Hatchling build
dependency.
Signed-off-by: Lucas Holt <[email protected]> |