devel/py-tokenize-rt 6.2.0 OpenBSD
round-tripping wrapper for Python stdlib's "tokenize"
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Categories
- devel, lang/python
Description
The stdlib tokenize module does not properly roundtrip. This wrapper around the stdlib provides two additional tokens ESCAPED_NL and UNIMPORTANT_WS, and a Token data type. Use src_to_tokens and tokens_to_src to roundtrip.
This library is useful if you're writing a refactoring tool based on the Python tokenization.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/py-tokenize-rt | 6.2.0 |
| FreeBSD | devel/py-tokenize-rt | 6.2.0 |
| DragonFly | devel/py-tokenize-rt | 6.1.0_1 |
| MidnightBSD | devel/py-tokenize-rt | 5.2.0_1 |
| HardenedBSD | devel/py-tokenize-rt | 6.2.0 |
| GhostBSD | devel/py-tokenize-rt | 6.2.0 |
Install
Binary package:
pkg_add py3-tokenize-rt
From the ports tree:
cd /usr/ports/devel/py-tokenize-rt && make install