diff options
Diffstat (limited to 'editors/py-editor')
| -rw-r--r-- | editors/py-editor/Makefile | 23 | ||||
| -rw-r--r-- | editors/py-editor/distinfo | 3 | ||||
| -rw-r--r-- | editors/py-editor/pkg-descr | 8 |
3 files changed, 34 insertions, 0 deletions
diff --git a/editors/py-editor/Makefile b/editors/py-editor/Makefile new file mode 100644 index 000000000000..80cd5febd672 --- /dev/null +++ b/editors/py-editor/Makefile @@ -0,0 +1,23 @@ +PORTNAME= editor +DISTVERSION= 1.6.6 +CATEGORIES= editors python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Open the default text editor +WWW= https://github.com/rec/editor + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}runs>0:devel/py-runs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}xmod>0:devel/py-xmod@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/editors/py-editor/distinfo b/editors/py-editor/distinfo new file mode 100644 index 000000000000..19c2b320202f --- /dev/null +++ b/editors/py-editor/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1760642616 +SHA256 (editor-1.6.6.tar.gz) = bb6989e872638cd119db9a4fce284cd8e13c553886a1c044c6b8d8a160c871f8 +SIZE (editor-1.6.6.tar.gz) = 3197 diff --git a/editors/py-editor/pkg-descr b/editors/py-editor/pkg-descr new file mode 100644 index 000000000000..6f0a0b679076 --- /dev/null +++ b/editors/py-editor/pkg-descr @@ -0,0 +1,8 @@ +The editor Python library allows users to open their default text +editor or a specified editor to edit existing files, new files, or +temporary files. It blocks execution while the user edits the text +and then returns the file's contents. + +The library determines the editor to use based on the VISUAL or +EDITOR environment variables, or defaults to 'Notepad' on Windows +and 'vim' otherwise. |
