[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
46/166: gnu: Add python-pip-run-bootstrap.
From: |
guix-commits |
Subject: |
46/166: gnu: Add python-pip-run-bootstrap. |
Date: |
Tue, 19 Apr 2022 09:17:54 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython+polyglossia
in repository guix.
commit e13f3bc24aae59fad0e7d60ab1f378ac51106308
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Apr 5 14:41:19 2022 -0400
gnu: Add python-pip-run-bootstrap.
* gnu/packages/python-xyz.scm (python-pip-run-bootstrap): New variable.
---
gnu/packages/python-xyz.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 13c9694d9c..0c0d46eb5a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12642,6 +12642,49 @@ Python Package Index (PyPI).")
(define-public python2-pip
(package-with-python2 python-pip))
+;;; Variant used to break a dependency cycle with
+;;; python-pytest-perf-bootstrap.
+(define-public python-pip-run-bootstrap
+ (hidden-package
+ (package
+ (name "python-pip-run-bootstrap")
+ (version "8.8.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jaraco/pip-run")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0ycrjj3jgqcr9c2k7y8vprq65iblg0q0hvwz8zwi13gmb0ffds0c"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'pretend-version
+ ;; The version string is usually derived via setuptools-scm, but
+ ;; without the git metadata available this fails.
+ (lambda _
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
+ (native-inputs (list python-setuptools-scm))
+ (propagated-inputs (list python-autocommand python-path-bootstrap
+ python-packaging))
+ (home-page "https://github.com/jaraco/pip-run")
+ (synopsis "Dynamic dependency loader for Python")
+ (description "The @command{pip-run} command provides on-demand temporary
+package installation for a single interpreter run. It replaces this series of
+commands:
+@example
+$ virtualenv --python pythonX.X --system-site-packages /tmp/env
+$ /tmp/env/bin/pip install pkg1 pkg2 -r reqs.txt
+$ /tmp/env/bin/python ...
+$ rm -rf /tmp/env
+@end example")
+ (license license:expat))))
+
(define-public python-tlsh
(package
(name "python-tlsh")
- 27/166: gnu: Add python-fontpens-bootstrap., (continued)
- 27/166: gnu: Add python-fontpens-bootstrap., guix-commits, 2022/04/19
- 33/166: gnu: Add python-cu2qu., guix-commits, 2022/04/19
- 36/166: gnu: Add python-types-toml., guix-commits, 2022/04/19
- 18/166: gnu: Add texlive-zref., guix-commits, 2022/04/19
- 25/166: gnu: python-fonttools-with-test: Rename to python-fonttools-full., guix-commits, 2022/04/19
- 30/166: gnu: Add python-fontpens., guix-commits, 2022/04/19
- 37/166: gnu: Add python-pytest-mypy., guix-commits, 2022/04/19
- 42/166: gnu: Add python-types-pytz., guix-commits, 2022/04/19
- 44/166: gnu: Add python-pytest-enabler-bootstrap., guix-commits, 2022/04/19
- 45/166: gnu: Add python-path-bootstrap., guix-commits, 2022/04/19
- 46/166: gnu: Add python-pip-run-bootstrap.,
guix-commits <=
- 47/166: gnu: python-importlib-metadata: Update to 4.11.3., guix-commits, 2022/04/19
- 49/166: gnu: python-mypy: Update to 0.942 and fix search path., guix-commits, 2022/04/19
- 52/166: gnu: Add python-jaraco-classes., guix-commits, 2022/04/19
- 53/166: gnu: Add python-jaraco-context., guix-commits, 2022/04/19
- 54/166: gnu: Add python-jaraco-functools., guix-commits, 2022/04/19
- 56/166: gnu: Add python-path., guix-commits, 2022/04/19
- 58/166: gnu: Add python-tempora., guix-commits, 2022/04/19
- 60/166: gnu: python-factory-boy: Update to 3.2.1., guix-commits, 2022/04/19
- 63/166: gnu: Add psautohint-font-data., guix-commits, 2022/04/19
- 66/166: gnu: Add python-xdoctest., guix-commits, 2022/04/19