[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
111/150: gnu: python-unpaddedbase64: Build using poetry.
From: |
guix-commits |
Subject: |
111/150: gnu: python-unpaddedbase64: Build using poetry. |
Date: |
Sun, 24 Apr 2022 05:12:31 -0400 (EDT) |
lbraun pushed a commit to branch wip-python-pep517
in repository guix.
commit 2e8f7dfcad2e4b1a653b647e23e6787efeaaf4f8
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Fri Jan 7 13:56:35 2022 +0100
gnu: python-unpaddedbase64: Build using poetry.
* gnu/packages/python-xyz.scm (python-unpaddedbase64)[source]: Use
git-fetch.
[arguments]: Remove custom 'check phase.
[native-inputs]: Add python-poetry-core, remove git-fetch origin for tests.
---
gnu/packages/python-xyz.scm | 28 +++++-----------------------
1 file changed, 5 insertions(+), 23 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 62606b48b0..96b43fed59 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25660,29 +25660,8 @@ replacement for dictionaries where immutability is
desired.")
(name "python-unpaddedbase64")
(version "2.1.0")
(source
+ ;; The PyPi release comes without tests.
(origin
- (method url-fetch)
- (uri (pypi-uri "unpaddedbase64" version))
- (sha256
- (base32 "01ghlmw63fgslwj8j74vkpf1kqvr7a4agm6nyn89vqwx106ccwvj"))))
- (build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs tests? #:allow-other-keys)
- (when tests?
- (copy-recursively (string-append
- (assoc-ref inputs "tests") "/tests")
- "tests")
- (invoke "python" "-m" "pytest" "-vv")))))))
- (native-inputs
- `(("python-pytest" ,python-pytest)
- ("tests"
- ;; The release on pypi comes without tests. We can't build from this
- ;; checkout, though, because installation requires an invocation of
- ;; poetry.
- ,(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/matrix-org/python-unpaddedbase64")
@@ -25690,7 +25669,10 @@ replacement for dictionaries where immutability is
desired.")
(file-name (git-file-name name version))
(sha256
(base32
- "1n6har8pxv0mqb96lanzihp1xf76aa17jw3977drb1fgz947pnmz"))))))
+ "1n6har8pxv0mqb96lanzihp1xf76aa17jw3977drb1fgz947pnmz"))))
+ (build-system python-build-system)
+ (native-inputs
+ (list python-pytest python-poetry-core))
(home-page "https://github.com/matrix-org/python-unpaddedbase64")
(synopsis "Encode and decode Base64 without “=” padding")
(description
- 63/150: gnu: python-hupper: Remove obsolete argument., (continued)
- 63/150: gnu: python-hupper: Remove obsolete argument., guix-commits, 2022/04/24
- 66/150: gnu: python-virtualenv: Disable tests., guix-commits, 2022/04/24
- 77/150: gnu: python-qstylizer: Remove obsolete argument., guix-commits, 2022/04/24
- 87/150: gnu: python-locket: Add missing test input., guix-commits, 2022/04/24
- 98/150: tests: Remove obsolete flag and import missing module., guix-commits, 2022/04/24
- 104/150: gnu: python-carbon: Disable tests., guix-commits, 2022/04/24
- 103/150: gnu: python-sphinxcontrib-github-alt: Use flit-core to build., guix-commits, 2022/04/24
- 94/150: gnu: btrfs-progs: Add missing input., guix-commits, 2022/04/24
- 110/150: gnu: python-flake8-print: Add missing build input., guix-commits, 2022/04/24
- 102/150: gnu: python-tinycss2: Remove custom build process., guix-commits, 2022/04/24
- 111/150: gnu: python-unpaddedbase64: Build using poetry.,
guix-commits <=
- 120/150: gnu: python-pypandoc: Add missing build input., guix-commits, 2022/04/24
- 124/150: gnu: python-annoy: Disable tests., guix-commits, 2022/04/24
- 127/150: gnu: python-bigfloat: Update to 0.4.0., guix-commits, 2022/04/24
- 132/150: gnu: python-cons: Disable tests., guix-commits, 2022/04/24
- 142/150: gnu: python-lcov-cobertura: Disable tests., guix-commits, 2022/04/24
- 147/150: gnu: python-typing-extensions: Remove custom 'build and 'install., guix-commits, 2022/04/24
- 150/150: gnu: python-markdown: Switch testing to unittest., guix-commits, 2022/04/24
- 61/150: gnu: python-httptools: Disable tests., guix-commits, 2022/04/24
- 75/150: gnu: python-bleach: Selectively disable tests., guix-commits, 2022/04/24
- 86/150: gnu: python-devtools: Disable tests., guix-commits, 2022/04/24