[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
39/55: gnu: python-distlib: Update to 0.3.7.
From: |
guix-commits |
Subject: |
39/55: gnu: python-distlib: Update to 0.3.7. |
Date: |
Thu, 21 Sep 2023 13:31:38 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit c08b919b67dc1a0b1e6e537bdc19a4b19b8dc84a
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun Sep 10 15:02:23 2023 +0800
gnu: python-distlib: Update to 0.3.7.
* gnu/packages/python-xyz.scm (python-distlib): Update to 0.3.7.
[build-system]: Switch to PYPROJECT-BUILD-SYSTEM.
[arguments]: Remove redundant phases.
[native-inputs]: Remove PYTHON-PYPA-BUILD.
---
gnu/packages/python-xyz.scm | 26 +++++++-------------------
1 file changed, 7 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0426220ef2..b574ec2efe 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8537,42 +8537,30 @@ and therefore easier to read and write.")
(define-public python-distlib
(package
(name "python-distlib")
- (version "0.3.5")
+ (version "0.3.7")
(source
(origin
(method url-fetch)
(uri (pypi-uri "distlib" version))
(sha256
(base32
- "1zmjraasgqkz0gfv4mc4w4fj4k2fxj62h1pf5dgb5qqbqwvmgxx7"))))
- (build-system python-build-system)
+ "1a27f5p93j9i1l3324qgahs3g8ai91fmx783jpyyla506i5ybbwx"))))
+ (build-system pyproject-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
- (replace 'build
- (lambda _
- ;; ZIP does not support timestamps before 1980.
- (setenv "SOURCE_DATE_EPOCH" "315532800")
- (invoke "python" "-m" "build" "--wheel" "--no-isolation" ".")))
(add-before 'build 'no-/bin/sh
(lambda _
(substitute* '("distlib/scripts.py" "tests/test_scripts.py")
(("/bin/sh") (which "sh")))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
+ (add-before 'check 'prepare-test-environment
+ (lambda _
(setenv "HOME" "/tmp")
;; NOTE: Any value works, the variable just has to be present.
- (setenv "SKIP_ONLINE" "1")
- (when tests?
- (invoke "pytest" "-vv"))))
- (replace 'install
- (lambda _
- (let ((whl (car (find-files "dist" "\\.whl$"))))
- (invoke "pip" "--no-cache-dir" "--no-input"
- "install" "--no-deps" "--prefix" #$output whl)))))))
+ (setenv "SKIP_ONLINE" "1"))))))
(native-inputs
- (list python-pypa-build python-pytest))
+ (list python-pytest))
(home-page "https://github.com/pypa/distlib")
(synopsis "Distribution utilities")
(description "Distlib is a library which implements low-level functions
that
- 24/55: gnu: websockify: Update to 0.11.0., (continued)
- 24/55: gnu: websockify: Update to 0.11.0., guix-commits, 2023/09/21
- 26/55: gnu: python-httpx: Update to 0.24.1., guix-commits, 2023/09/21
- 25/55: gnu: websockify: Don't propagate inputs., guix-commits, 2023/09/21
- 30/55: gnu: python-deprecated: Update to 1.2.14., guix-commits, 2023/09/21
- 32/55: gnu: python-pkginfo: Update to 1.9.6., guix-commits, 2023/09/21
- 31/55: gnu: python-daemon: Update to 3.0.1., guix-commits, 2023/09/21
- 33/55: gnu: python-pytest-django: Update to 4.5.2., guix-commits, 2023/09/21
- 38/55: gnu: python-platformdirs: Update to 3.10.0., guix-commits, 2023/09/21
- 42/55: gnu: python-cmarkgfm: Update to 2022.10.27., guix-commits, 2023/09/21
- 36/55: gnu: python-django@4: Update to 4.2.5., guix-commits, 2023/09/21
- 39/55: gnu: python-distlib: Update to 0.3.7.,
guix-commits <=
- 41/55: gnu: python-cachetools: Update to 5.3.1., guix-commits, 2023/09/21
- 37/55: gnu: python-bleach: Update to 6.0.0., guix-commits, 2023/09/21
- 51/55: gnu: python-sphinxcontrib-autoprogram: Update to 0.1.8., guix-commits, 2023/09/21
- 43/55: gnu: python-websockets: Update to 11.0.3., guix-commits, 2023/09/21
- 50/55: gnu: barectf: Update to 3.1.2., guix-commits, 2023/09/21
- 53/55: gnu: python-duniterpy: Update to 1.1.1., guix-commits, 2023/09/21
- 47/55: gnu: python-hyperlink: Update to 21.0.0., guix-commits, 2023/09/21
- 45/55: gnu: python-psycopg-pool: Update to 3.1.7., guix-commits, 2023/09/21
- 54/55: gnu: python-arboreto: Add missing inputs., guix-commits, 2023/09/21