[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55104] [PATCH 045/232] gnu: Add python-path-bootstrap.
From: |
Maxim Cournoyer |
Subject: |
[bug#55104] [PATCH 045/232] gnu: Add python-path-bootstrap. |
Date: |
Sun, 24 Apr 2022 23:56:11 -0400 |
* gnu/packages/python-xyz.scm (python-path-bootstrap): New variable.
---
gnu/packages/python-xyz.scm | 38 +++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3d481c419a..13c9694d9c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12556,6 +12556,44 @@ (define-public python-idna-ssl
domains support.")
(license license:expat)))
+;;; Variant used to break a cycle with python-pip-run-bootstrap.
+(define-public python-path-bootstrap
+ (hidden-package
+ (package
+ (name "python-path-bootstrap")
+ (version "16.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "path" version))
+ (sha256
+ (base32 "0lig13gxnfv98v790db1smvsbd3mnj7y8rwyiwhfi6xiqibygwms"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; XXX: PEP 517 manual build/install procedures copied from
+ ;; python-isort.
+ (replace 'build
+ (lambda _
+ ;; ZIP does not support timestamps before 1980.
+ (setenv "SOURCE_DATE_EPOCH" "315532800")
+ (invoke "python" "-m" "build" "--wheel" "--no-isolation" ".")))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((whl (car (find-files "dist" "\\.whl$"))))
+ (invoke "pip" "--no-cache-dir" "--no-input"
+ "install" "--no-deps" "--prefix" #$output whl)))))))
+ (native-inputs (list python-pypa-build python-setuptools-scm))
+ (home-page "https://github.com/jaraco/path")
+ (synopsis "Object-oriented file system path manipulation library")
+ (description "@code{path} (formerly @code{path.py}) implements path
+objects as first-class entities, allowing common operations on files to be
+invoked on those path objects directly.")
+ (license license:expat))))
+
(define-public python-pretend
(package
(name "python-pretend")
--
2.34.0
- [bug#55104] [PATCH 043/232] gnu: Add python-pytest-freezegun., (continued)
- [bug#55104] [PATCH 043/232] gnu: Add python-pytest-freezegun., Maxim Cournoyer, 2022/04/25
- [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 <=
- [bug#55104] [PATCH 046/232] gnu: Add python-pip-run-bootstrap., Maxim Cournoyer, 2022/04/25
- [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