From 61e3b86cbf2238d13a557722e69cf3b343fa427d Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Fri, 24 Sep 2021 23:45:33 -0400 Subject: gnu: Add python-fancycompleter. * gnu/packages/python-xyz.scm (python-fancycompleter): New variable. --- gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b659513800..f9492908a3 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5558,6 +5558,35 @@ controlling Xorg windows using Python. The library relies on the @command{wmctrl} to do so.") (license license:expat))) +(define-public python-fancycompleter + (package + (name "python-fancycompleter") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "fancycompleter" version)) + (sha256 + (base32 "0wkj4h01pxa8prv59zl09a0i3w26k835bfpjgvyvsai4mswgxq09")))) + (build-system python-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'fix-setup.py + (lambda _ + (substitute* "setup.py" + ((".*setupmeta.*") + "") + (("versioning=.*") + (string-append "version='" ,version "',")) + ((".*pyrepl.*") ;broken on Python 3 + ""))))))) + (home-page "https://github.com/pdbpp/fancycompleter") + (synopsis "TAB completion library for Python") + (description "@code{fancycompleter} is a module that adds TAB completion +to the interactive prompt. It is an extension of the @code{rlcompleter} +module from the standard Python library.") + (license license:bsd-3))) + (define-public python-pdftotext (package (name "python-pdftotext") -- cgit v1.2.3