diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-01-29 10:38:17 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-01-29 10:58:25 -0500 |
commit | aa0d1e3306ed819afd182ee28e25d68e0b8c47ec (patch) | |
tree | 05e1de3b42a1ed35a20d0860b46216bff254e4b1 | |
parent | 64c8f49ccce3d0084450037646659cdcbbedfb33 (diff) | |
download | guix-aa0d1e3306ed819afd182ee28e25d68e0b8c47ec.tar.gz |
gnu: python2-virtualenv: Remove package.
* gnu/packages/python-xyz.scm (python2-virtualenv): Delete.
-rw-r--r-- | gnu/packages/python-xyz.scm | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 012e0f0168..5b5514d4cd 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3194,40 +3194,8 @@ e.g. filters, callbacks and errbacks can all be promises.") (synopsis "Virtual Python environment builder") (description "Virtualenv is a tool to create isolated Python environments.") - (properties `((python2-variant . ,(delay python2-virtualenv)))) (license license:expat))) -(define-public python2-virtualenv - (let ((base (package-with-python2 (strip-python2-variant python-virtualenv)))) - (package - (inherit base) - (arguments - `(#:python ,python-2 - #:phases - (modify-phases %standard-phases - (add-after 'set-paths 'adjust-PYTHONPATH - (lambda* (#:key inputs #:allow-other-keys) - (let* ((python (assoc-ref inputs "python")) - (python-sitedir (string-append python "/lib/python2.7" - "/site-packages"))) - ;; XXX: 'python2' always comes first on PYTHONPATH - ;; and shadows the 'setuptools' input. Move python2 - ;; last: this should be fixed in python-build-system - ;; in a future rebuild cycle. - (setenv "PYTHONPATH" - (string-append (string-join (delete python-sitedir - (string-split - (getenv "PYTHONPATH") - #\:)) - ":") - ":" python-sitedir)) - (format #t "environment variable `PYTHONPATH' changed to `~a'~%" - (getenv "PYTHONPATH")) - #t)))))) - (propagated-inputs - `(("python-contextlib2" ,python2-contextlib2) - ,@(package-propagated-inputs base)))))) - (define-public python-markupsafe (package (name "python-markupsafe") |