[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50628] [PATCH 003/154] gnu: Add python-xlwt.
From: |
Maxime Devos |
Subject: |
[bug#50628] [PATCH 003/154] gnu: Add python-xlwt. |
Date: |
Fri, 17 Sep 2021 14:35:09 +0200 |
User-agent: |
Evolution 3.34.2 |
Hartmut Goebel schreef op vr 17-09-2021 om 00:52 [+0200]:
> +(define-public python-xlwt
> + (package
> + (name "python-xlwt")
> + (version "1.3.0")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (pypi-uri "xlwt" version))
> + (sha256
> + (base32 "123c2pdamshkq75wwvck8fq0cjq1843xd3x9qaiz2a4vg9qi56f5"))))
> + (build-system python-build-system)
> + (arguments
> + `(#:phases
> + (modify-phases %standard-phases
> + (replace 'check
> + (lambda _
> + (setenv "PYTHONPATH"
> + (string-append (getcwd) "/build/lib:"
> + (getenv "PYTHONPATH")))
> + (invoke "nosetests" "-v"))))))
Use (lambda* (#:key tests? #:allow-other-keys) (when tests? (setenv ...)
(invoke ...)))
to let "guix build python-xlwt --without-tests=python-xlwt" work. This would
be detected by "guix lint -c optional-tests" I think.
Greetings,
Maxime
signature.asc
Description: This is a digitally signed message part
- [bug#50628] [PATCH 000/154] Add 146 Tryton modules and some dependencies, Hartmut Goebel, 2021/09/16
- [bug#50628] [PATCH 001/154] gnu: Add python-braintree., Hartmut Goebel, 2021/09/16
- [bug#50628] [PATCH 002/154] gnu: Add python-markuppy., Hartmut Goebel, 2021/09/16
- [bug#50628] [PATCH 003/154] gnu: Add python-xlwt., Hartmut Goebel, 2021/09/16
- [bug#50628] [PATCH 006/154] gnu: Add python-febelfin-coda., Hartmut Goebel, 2021/09/16
- [bug#50628] [PATCH 005/154] gnu: Add python-csb43., Hartmut Goebel, 2021/09/16
- [bug#50628] [PATCH 004/154] gnu: Add python-tablib., Hartmut Goebel, 2021/09/16
- [bug#50628] [PATCH 007/154] gnu: Add python-ofxparse., Hartmut Goebel, 2021/09/16
- [bug#50628] [PATCH 008/154] gnu: Add python-stripe., Hartmut Goebel, 2021/09/16
- [bug#50628] [PATCH 011/154] gnu: Add trytond-account-cash-rounding., Hartmut Goebel, 2021/09/16
- [bug#50628] [PATCH 013/154] gnu: Add trytond-account-de-skr03., Hartmut Goebel, 2021/09/16