[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
46/242: gnu: Add python-pip-run-bootstrap.
From: |
guix-commits |
Subject: |
46/242: gnu: Add python-pip-run-bootstrap. |
Date: |
Wed, 11 May 2022 18:02:49 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit ed2a68fd72b934f7f435eb3cda603071dd6df55e
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 a8301ad203..00e6de8e20 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12648,6 +12648,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")
- 215/242: gnu: python-pydata-sphinx-theme: Update to 0.7.2., (continued)
- 215/242: gnu: python-pydata-sphinx-theme: Update to 0.7.2., guix-commits, 2022/05/11
- 221/242: gnu: python-sphinx-cloud-sptheme: Update to 1.10.1 [still broken]., guix-commits, 2022/05/11
- 80/242: gnu: Add skia., guix-commits, 2022/05/11
- 79/242: gnu: Add python-cffsubr., guix-commits, 2022/05/11
- 02/242: gnu: python-astroid: Propagate python-typing-extensions., guix-commits, 2022/05/11
- 08/242: gnu: python-jinja2: Update to 3.1.1., guix-commits, 2022/05/11
- 22/242: gnu: Add python-defcon-bootstrap., guix-commits, 2022/05/11
- 29/242: gnu: Add python-fontparts-bootstrap., guix-commits, 2022/05/11
- 40/242: gnu: Add python-autocommand., guix-commits, 2022/05/11
- 37/242: gnu: Add python-pytest-mypy., guix-commits, 2022/05/11
- 46/242: gnu: Add python-pip-run-bootstrap.,
guix-commits <=
- 53/242: gnu: Add python-jaraco-context., guix-commits, 2022/05/11
- 69/242: gnu: python-pathpy: Deprecate by python-path., guix-commits, 2022/05/11
- 67/242: gnu: Add python-ubelt., guix-commits, 2022/05/11
- 70/242: gnu: python-pytest-shutil: Adjust to use python-path., guix-commits, 2022/05/11
- 72/242: gnu: Add python-scikit-build., guix-commits, 2022/05/11
- 78/242: gnu: Add python-afdko., guix-commits, 2022/05/11
- 92/242: gnu: Add python-untangle., guix-commits, 2022/05/11
- 88/242: gnu: Add texlive-bidi., guix-commits, 2022/05/11
- 89/242: gnu: Add font-gfs-ambrosia., guix-commits, 2022/05/11
- 87/242: gnu: Add font-sil-ezra., guix-commits, 2022/05/11