GNU bug report logs - #59030
[PATCH 0/1] gnu: python-glymur: Update to 0.12.0

Previous Next

Package: guix-patches;

Reported by: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Date: Fri, 4 Nov 2022 23:13:02 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59030 in the body.
You can then email your comments to 59030 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#59030; Package guix-patches. (Fri, 04 Nov 2022 23:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 04 Nov 2022 23:13:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 0/1] gnu: python-glymur: Update to 0.12.0
Date: Fri,  4 Nov 2022 23:11:54 +0000
Hi Guix team,

python-glymur updated to the latest version with simplify package by using
pyproject-build-system.

> ./pre-inst-env guix build python-glymur --rounds=2
> /gnu/store/jjp6y8r82n8q0kcq2cj7g10zdxnzvq4i-python-glymur-0.12.0

Sharlatan Hellseher (1):
  gnu: python-glymur: Update to 0.12.0

 gnu/packages/python-xyz.scm | 34 +++++++++-------------------------
 1 file changed, 9 insertions(+), 25 deletions(-)


base-commit: 3a227cff367e5b5415624adcb15eed124ac7768d
-- 
2.38.0





Information forwarded to guix-patches <at> gnu.org:
bug#59030; Package guix-patches. (Fri, 04 Nov 2022 23:14:02 GMT) Full text and rfc822 format available.

Message #8 received at 59030 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 59030 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH 1/1] gnu: python-glymur: Update to 0.12.0
Date: Fri,  4 Nov 2022 23:13:37 +0000
* gnu/packages/python-xyz.scm (python-glymur): Update to 0.12.0
  [build-system]: python-build-system -> pyproject-build-system
  [arguments]: Drop redundant phases
  [native-inputs]: Remove python-pypa-build
---
 gnu/packages/python-xyz.scm | 34 +++++++++-------------------------
 1 file changed, 9 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 19bbea7d42..3adbede1b0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1153,7 +1153,7 @@ (define-public python-pyprind
 (define-public python-glymur
   (package
     (name "python-glymur")
-    (version "0.10.1")
+    (version "0.12.0")
     (source
      (origin
        (method git-fetch)   ; no tests data in PyPi package
@@ -1162,8 +1162,8 @@ (define-public python-glymur
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1cq9r8vzwvds1kasy5gc2rxw034jh9l43rraps1n739072pfz6qg"))))
-    (build-system python-build-system)
+        (base32 "03nny8k42yxdyw7sjv43szmg23x3rqplbaf7m0a0lpvwla1dl78i"))))
+    (build-system pyproject-build-system)
     (arguments
      (list
       #:phases
@@ -1184,29 +1184,13 @@ (define-public python-glymur
                   "    elif libname == \"c\":\n"
                   "        path = \""
                   (search-input-file inputs "/lib/libc.so.6") "\"\n")))))
-          ;; TODO: implement as a feature of python-build-system (PEP-621,
-          ;; PEP-631, PEP-660)
-          (replace 'build
+          (add-before 'check 'disable-failing-tests
             (lambda _
-              (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)
-              ;; 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))))
-          (replace 'check
-            (lambda* (#:key tests? #:allow-other-keys)
-              (when tests?
-                ;; Failing test due to inability of
-                ;; ctypes.util.find_library() to determine library path,
-                ;; which is patched above.
-                (delete-file "tests/test_config.py")
-                (invoke "python" "-m" "pytest" "-vv" "tests")))))))
-    (native-inputs
-     (list python-pypa-build python-pytest))
+              ;; Failing test due to inability of
+              ;; ctypes.util.find_library() to determine library path,
+              ;; which is patched above.
+              (delete-file "tests/test_config.py"))))))
+    (native-inputs(list python-pytest))
     (inputs
      (list openjpeg  ; glymur/lib/openjp2.py
            libtiff)) ; glymur/lib/tiff.py
-- 
2.38.0





Information forwarded to guix-patches <at> gnu.org:
bug#59030; Package guix-patches. (Sun, 06 Nov 2022 15:06:01 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Cc: 59030-done <at> debbugs.gnu.org, guix-patches <at> gnu.org
Subject: Re: [bug#59030] [PATCH 0/1] gnu: python-glymur: Update to 0.12.0
Date: Sun, 06 Nov 2022 16:02:36 +0100
[Message part 1 (text/plain, inline)]
Sharlatan Hellseher <sharlatanus <at> gmail.com> writes:

> python-glymur updated to the latest version with simplify package by using
> pyproject-build-system.
>
>> ./pre-inst-env guix build python-glymur --rounds=2
>> /gnu/store/jjp6y8r82n8q0kcq2cj7g10zdxnzvq4i-python-glymur-0.12.0
>
> Sharlatan Hellseher (1):
>   gnu: python-glymur: Update to 0.12.0
>
>  gnu/packages/python-xyz.scm | 34 +++++++++-------------------------
>  1 file changed, 9 insertions(+), 25 deletions(-)

Thanks, I've pushed this to master as
9315fcc21120ddc1343454bd29d0538a1b1287b7.

Chris
[signature.asc (application/pgp-signature, inline)]

Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Sun, 06 Nov 2022 15:06:02 GMT) Full text and rfc822 format available.

Notification sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
bug acknowledged by developer. (Sun, 06 Nov 2022 15:06:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 05 Dec 2022 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 248 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.