Port details |
- py-simple-term-menu Creates simple menus for interactive command line programs
- 1.6.4 devel
=2 1.6.4Version of this port present on the latest quarterly branch. - Maintainer: dvl@FreeBSD.org
 - Port Added: 2023-04-26 15:24:07
- Last Update: 2024-12-02 18:03:54
- Commit Hash: 0bfb728c
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
- License: MIT
- WWW:
- https://github.com/IngoMeyer441/simple-term-menu
- Description:
- simple-term-menu creates simple menus for interactive command line programs. It
can be used to offer a choice of different options to the user. Menu entries
can be selected with the arrow, j/k, or emacs (C-n/C-p) keys. The module uses
the terminfo database to detect terminal features automatically and disables
styles that are not available. Currently, Linux and macOS are supported.
Usage: Create a menu with the default style
Create an instance of the class TerminalMenu and pass the menu entries as a
list of strings to the constructor. Call the show method to output the menu
and wait for keyboard input:
#!/usr/bin/env python3
from simple_term_menu import TerminalMenu
def main():
options = ["entry 1", "entry 2", "entry 3"]
terminal_menu = TerminalMenu(options)
menu_entry_index = terminal_menu.show()
print(f"You have selected {options[menu_entry_index]}!")
if __name__ == "__main__":
main()
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}simple-term-menu>0:devel/py-simple-term-menu@${PY_FLAVOR}
- No installation instructions:
- This port has been deleted.
- PKGNAME: py39-simple-term-menu
- Package flavors (<flavor>: <package>)
- py39: py39-simple-term-menu
- distinfo:
- TIMESTAMP = 1702649469
SHA256 (simple-term-menu-1.6.4.tar.gz) = be9c5dbd8df12a404b14cd8e95d6fc02d58c60e2555f65ddde41777c487fb3b9
SIZE (simple-term-menu-1.6.4.tar.gz) = 35357
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_py-simple-term-menu
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.6.4 02 Dec 2024 18:03:54
    |
Dan Langille (dvl)  |
devel/py-simple-term-menu: rename to py-simple_term_menu
Move py-simple-term-menu to py-simple_term_menu
Upstream renamed the distfile. While here, update to 1.6.6
re: https://github.com/IngoMeyer441/simple-term-menu/releases/tag/v1.6.6 |
1.6.4 15 Dec 2023 14:15:27
    |
Dan Langille (dvl)  |
devel/py-simple-term-menu: Update to 1.6.4
re: https://github.com/IngoMeyer441/simple-term-menu/releases/tag/v1.6.4 |
1.6.3 14 Nov 2023 17:16:47
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-simple-term-menu: Use PYPI instead of CHEESESHOP
Approved by: portmgr (blanket)
With hat: python |
1.6.3 09 Nov 2023 15:04:12
    |
Dan Langille (dvl)  |
devel/py-simple-term-menu: Update to 1.6.3 |
1.6.2 08 Nov 2023 15:17:13
    |
Dan Langille (dvl)  |
devel/py-simple-term-menu: Update to 1.6.2 |
1.6.1 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
1.6.1 26 Apr 2023 15:21:18
    |
Dan Langille (dvl)  |
devel/py-simple-term-menu: New port
Simple menus for interactive command line programs. |