editors/py-editor 2.0.1 FreeBSD
Open the default text editor
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
f9ebe22fff- License
- MIT
- Categories
- editors, python
- Package size
- 6.6 KiB, 20.0 KiB installed
Description
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.
Install
Binary package:
pkg install py312-editor
From the ports tree:
cd /usr/ports/editors/py-editor/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-editor>0:editors/py-editor
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.0.1 | 2.0.1 | - | - | 2.0.1 |
| FreeBSD:14:quarterly | 2.0.1 | 2.0.1 | n/a | - | 2.0.1 |
| FreeBSD:15:latest | 2.0.1 | 2.0.1 | n/a | - | - |
| FreeBSD:15:quarterly | 2.0.1 | 2.0.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.0.1 | 2.0.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}hatchling>0: devel/py-hatchling
Runtime 2
${PYTHON_PKGNAMEPREFIX}runs>0: devel/py-runs${PYTHON_PKGNAMEPREFIX}xmod>0: devel/py-xmod
The full lists below include those, and their dependencies in turn.
Build dependencies 19
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 9
Required by 2
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| editor-2.0.1.tar.gz | 29018 | 6ecdff42bf4a32ba250f42676dbcdd75ce5fa498ca8dd1e1918c63a2518538cf |
Master sites 1
- PYPI