[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55104] [PATCH 046/232] gnu: Add python-pip-run-bootstrap.
From: |
Maxim Cournoyer |
Subject: |
[bug#55104] [PATCH 046/232] gnu: Add python-pip-run-bootstrap. |
Date: |
Sun, 24 Apr 2022 23:56:12 -0400 |
* 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 @@ (define-public python-pip
(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")
--
2.34.0
- [bug#55104] [PATCH 075/232] gnu: python-scipy: Update to 1.8.0 and enable parallel build., (continued)
- [bug#55104] [PATCH 075/232] gnu: python-scipy: Update to 1.8.0 and enable parallel build., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 083/232] gnu: Add python-compreffor., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 011/232] gnu: python-nbformat: Update to 5.3.0., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 013/232] gnu: Add texlive-stix2-otf., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 012/232] gnu: Add texlive-paralist., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 014/232] gnu: Add texlive-metalogo., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 019/232] gnu: Add python-pcpp., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 017/232] gnu: Add texlive-cs., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 028/232] gnu: Add python-booleanoperations., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 045/232] gnu: Add python-path-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 046/232] gnu: Add python-pip-run-bootstrap.,
Maxim Cournoyer <=
- [bug#55104] [PATCH 029/232] gnu: Add python-fontparts-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 044/232] gnu: Add python-pytest-enabler-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 033/232] gnu: Add python-cu2qu., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 026/232] gnu: Add python-mutatormath., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 023/232] gnu: Add python-fontmath., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 037/232] gnu: Add python-pytest-mypy., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 055/232] gnu: Add python-pytest-enabler., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 056/232] gnu: Add python-path., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 040/232] gnu: Add python-autocommand., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 041/232] gnu: Add python-types-freezegun., Maxim Cournoyer, 2022/04/25