[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
45/233: gnu: Add python-path-bootstrap.
From: |
guix-commits |
Subject: |
45/233: gnu: Add python-path-bootstrap. |
Date: |
Sun, 24 Apr 2022 23:39:39 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 235a6b089074106cd977ab4533aac4db45d4cb39
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Apr 5 14:35:40 2022 -0400
gnu: Add python-path-bootstrap.
* 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 @@ is binding LibSass.")
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")
- 36/233: gnu: Add python-types-toml., (continued)
- 36/233: gnu: Add python-types-toml., guix-commits, 2022/04/24
- 37/233: gnu: Add python-pytest-mypy., guix-commits, 2022/04/24
- 40/233: gnu: Add python-autocommand., guix-commits, 2022/04/24
- 25/233: gnu: python-fonttools-with-test: Rename to python-fonttools-full., guix-commits, 2022/04/24
- 44/233: gnu: Add python-pytest-enabler-bootstrap., guix-commits, 2022/04/24
- 46/233: gnu: Add python-pip-run-bootstrap., guix-commits, 2022/04/24
- 59/233: gnu: Add python-pytest-perf., guix-commits, 2022/04/24
- 54/233: gnu: Add python-jaraco-functools., guix-commits, 2022/04/24
- 27/233: gnu: Add python-fontpens-bootstrap., guix-commits, 2022/04/24
- 41/233: gnu: Add python-types-freezegun., guix-commits, 2022/04/24
- 45/233: gnu: Add python-path-bootstrap.,
guix-commits <=
- 48/233: gnu: python-pytest-black: Update to 0.3.12., guix-commits, 2022/04/24
- 72/233: gnu: Add python-scikit-build., guix-commits, 2022/04/24
- 57/233: gnu: Add python-pip-run., guix-commits, 2022/04/24
- 60/233: gnu: python-factory-boy: Update to 3.2.1., guix-commits, 2022/04/24
- 63/233: gnu: Add psautohint-font-data., guix-commits, 2022/04/24
- 61/233: gnu: python-faker: Update to 13.3.4 and honor TESTS?., guix-commits, 2022/04/24
- 62/233: gnu: Add python-pytest-randomly., guix-commits, 2022/04/24
- 69/233: gnu: python-pathpy: Deprecate by python-path., guix-commits, 2022/04/24
- 71/233: gnu: python-pytest-cov: Update to 3.0.0., guix-commits, 2022/04/24
- 74/233: gnu: python-scipy: Move input fields below arguments field., guix-commits, 2022/04/24