diff options
| author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-11-27 17:39:51 +0000 |
|---|---|---|
| committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-11-27 18:07:45 +0000 |
| commit | 2136a0e91254e1c73c40483045df11a1a9fd936b (patch) | |
| tree | d0a33f62343a6cfd8a88e42a5f0866bf857ce15d | |
| parent | 032f8f48d9e65243597befec3fc5e1f4c8da43fc (diff) | |
devel/py-untokenize: Add py-untokenize 0.1.1
untokenize transforms tokens into source code. Unlike the standard library's
tokenize.untokenize(), it preserves the original whitespace between tokens.
| -rw-r--r-- | devel/Makefile | 1 | ||||
| -rw-r--r-- | devel/py-untokenize/Makefile | 18 | ||||
| -rw-r--r-- | devel/py-untokenize/distinfo | 3 | ||||
| -rw-r--r-- | devel/py-untokenize/pkg-descr | 2 |
4 files changed, 24 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 268cc60777a9..322bf371d366 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5732,6 +5732,7 @@ SUBDIR += py-unittest2 SUBDIR += py-unittest2pytest SUBDIR += py-unpaddedbase64 + SUBDIR += py-untokenize SUBDIR += py-update_checker SUBDIR += py-urlimport SUBDIR += py-urwid diff --git a/devel/py-untokenize/Makefile b/devel/py-untokenize/Makefile new file mode 100644 index 000000000000..3cbfa4c772bd --- /dev/null +++ b/devel/py-untokenize/Makefile @@ -0,0 +1,18 @@ +PORTNAME= untokenize +PORTVERSION= 0.1.1 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Transform tokens into original source code +WWW= https://github.com/myint/untokenize + +LICENSE= MIT + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-untokenize/distinfo b/devel/py-untokenize/distinfo new file mode 100644 index 000000000000..646e2f19a4a9 --- /dev/null +++ b/devel/py-untokenize/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1701083336 +SHA256 (untokenize-0.1.1.tar.gz) = 3865dbbbb8efb4bb5eaa72f1be7f3e0be00ea8b7f125c69cbd1f5fda926f37a2 +SIZE (untokenize-0.1.1.tar.gz) = 3099 diff --git a/devel/py-untokenize/pkg-descr b/devel/py-untokenize/pkg-descr new file mode 100644 index 000000000000..7a7bc2c61962 --- /dev/null +++ b/devel/py-untokenize/pkg-descr @@ -0,0 +1,2 @@ +untokenize transforms tokens into source code. Unlike the standard library's +tokenize.untokenize(), it preserves the original whitespace between tokens. |
