From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 59030@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#59030] [PATCH 1/1] gnu: python-glymur: Update to 0.12.0
Date: Fri, 4 Nov 2022 23:13:37 +0000 [thread overview]
Message-ID: <20221104231337.13672-1-sharlatanus@gmail.com> (raw)
In-Reply-To: <20221104231154.13547-1-sharlatanus@gmail.com>
* 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
next prev parent reply other threads:[~2022-11-04 23:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-04 23:11 [bug#59030] [PATCH 0/1] gnu: python-glymur: Update to 0.12.0 Sharlatan Hellseher
2022-11-04 23:13 ` Sharlatan Hellseher [this message]
2022-11-06 15:02 ` Christopher Baines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221104231337.13672-1-sharlatanus@gmail.com \
--to=sharlatanus@gmail.com \
--cc=59030@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).