mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Remove python2-pythondialog.
* gnu/packages/python-xyz.scm (python2-pythondialog): Delete variable.
This commit is contained in:
parent
39d627447c
commit
fdf3f8d6d0
1 changed files with 21 additions and 36 deletions
|
@ -14540,48 +14540,33 @@ tasks. It includes single-command deployment for the Django Girls tutorial.")
|
||||||
(package
|
(package
|
||||||
(name "python-pythondialog")
|
(name "python-pythondialog")
|
||||||
(version "3.4.0")
|
(version "3.4.0")
|
||||||
(source
|
(source (origin
|
||||||
(origin
|
(method url-fetch)
|
||||||
(method url-fetch)
|
(uri (pypi-uri "pythondialog" version))
|
||||||
(uri (pypi-uri "pythondialog" version))
|
(sha256
|
||||||
(sha256
|
(base32
|
||||||
(base32
|
"1728ghsran47jczn9bhlnkvk5bvqmmbihabgif5h705b84r1272c"))))
|
||||||
"1728ghsran47jczn9bhlnkvk5bvqmmbihabgif5h705b84r1272c"))))
|
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases (modify-phases %standard-phases
|
||||||
(modify-phases %standard-phases
|
(add-after 'unpack 'patch-path
|
||||||
(add-after 'unpack 'patch-path
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(let* ((dialog (assoc-ref inputs "dialog")))
|
||||||
(let* ((dialog (assoc-ref inputs "dialog")))
|
(substitute* "dialog.py"
|
||||||
;; Since this library really wants to grovel the search path, we
|
(("os.getenv\\(\"PATH\", \":/bin:/usr/bin\"\\)") (string-append
|
||||||
;; must hardcode dialog's store path into it.
|
"os.getenv(\"PATH\") + \":"
|
||||||
(substitute* "dialog.py"
|
dialog
|
||||||
(("os.getenv\\(\"PATH\", \":/bin:/usr/bin\"\\)")
|
"/bin\"")))
|
||||||
(string-append "os.getenv(\"PATH\") + \":" dialog "/bin\"")))
|
#t))))
|
||||||
#t))))
|
#:tests? #f))
|
||||||
#:tests? #f)) ; no test suite
|
(propagated-inputs (list dialog))
|
||||||
(propagated-inputs
|
|
||||||
(list dialog))
|
|
||||||
(home-page "http://pythondialog.sourceforge.net/")
|
(home-page "http://pythondialog.sourceforge.net/")
|
||||||
(synopsis "Python interface to the UNIX dialog utility")
|
(synopsis "Python interface to the UNIX dialog utility")
|
||||||
(description "A Python wrapper for the dialog utility. Its purpose is to
|
(description
|
||||||
|
"A Python wrapper for the dialog utility. Its purpose is to
|
||||||
provide an easy to use, pythonic and comprehensive Python interface to dialog.
|
provide an easy to use, pythonic and comprehensive Python interface to dialog.
|
||||||
This allows one to make simple text-mode user interfaces on Unix-like systems")
|
This allows one to make simple text-mode user interfaces on Unix-like systems")
|
||||||
(license license:lgpl2.1)
|
(license license:lgpl2.1)))
|
||||||
(properties `((python2-variant . ,(delay python2-pythondialog))))))
|
|
||||||
|
|
||||||
(define-public python2-pythondialog
|
|
||||||
(let ((base (package-with-python2 (strip-python2-variant python-pythondialog))))
|
|
||||||
(package
|
|
||||||
(inherit base)
|
|
||||||
(version (package-version python-pythondialog))
|
|
||||||
(source (origin
|
|
||||||
(method url-fetch)
|
|
||||||
(uri (pypi-uri "python2-pythondialog" version))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"0d8k7lxk50imdyx85lv8j98i4c93a71iwpapnl1506rpkbm9qvd9")))))))
|
|
||||||
|
|
||||||
(define-public python-configobj
|
(define-public python-configobj
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue