[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
45/242: gnu: Add python-path-bootstrap.
From: |
guix-commits |
Subject: |
45/242: gnu: Add python-path-bootstrap. |
Date: |
Thu, 12 May 2022 14:14:04 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit fc7fc0764b9deb41c9425f0c1596d2298cb3a935
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 3ef29cccc2..563ff63e7a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12572,6 +12572,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")
- 211/242: gnu: python2-sqlalchemy: Skip a failing test., (continued)
- 211/242: gnu: python2-sqlalchemy: Skip a failing test., guix-commits, 2022/05/12
- 217/242: gnu: python-sphinx-click: Update to 4.0.3 and enable tests., guix-commits, 2022/05/12
- 224/242: gnu: python-sphinx-autodoc-typehints: Update to 1.18.1., guix-commits, 2022/05/12
- 222/242: gnu: Add python-beartype., guix-commits, 2022/05/12
- 225/242: gnu: python-sphinxext-opengraph: Update to 0.6.3., guix-commits, 2022/05/12
- 226/242: gnu: python-sphinx-rtd-theme: Update to 1.0.0., guix-commits, 2022/05/12
- 57/242: gnu: Add python-pip-run., guix-commits, 2022/05/12
- 10/242: gnu: python-ipython: Update to 8.2.0 [fixes CVE-2022-21699]., guix-commits, 2022/05/12
- 19/242: gnu: Add python-pcpp., guix-commits, 2022/05/12
- 36/242: gnu: Add python-types-toml., guix-commits, 2022/05/12
- 45/242: gnu: Add python-path-bootstrap.,
guix-commits <=
- 58/242: gnu: Add python-tempora., guix-commits, 2022/05/12
- 75/242: gnu: python-scipy: Update to 1.8.0 and enable parallel build., guix-commits, 2022/05/12
- 81/242: gnu: Add python-skia-pathops., guix-commits, 2022/05/12
- 92/242: gnu: Add python-untangle., guix-commits, 2022/05/12
- 107/242: gnu: python-ipyparallel: Update to 8.2.1., guix-commits, 2022/05/12
- 84/242: gnu: Add python-ufo2ft., guix-commits, 2022/05/12
- 80/242: gnu: Add skia., guix-commits, 2022/05/12
- 99/242: gnu: Add python-pytest-forked-next., guix-commits, 2022/05/12
- 119/242: gnu: Add python-docrepr., guix-commits, 2022/05/12
- 128/242: download: Add a mirror for CTAN., guix-commits, 2022/05/12