gnu: khal: Update to 0.10.0.
* gnu/packages/calendar.scm (khal): Update to 0.10.0. [native-inputs]: Replace tzdata with tzdata-for-tests. [arguments]: Simplify the check phase.
This commit is contained in:
parent
e23f2ff183
commit
6e1f91d91c
1 changed files with 4 additions and 12 deletions
|
@ -96,13 +96,13 @@ data units.")
|
||||||
(define-public khal
|
(define-public khal
|
||||||
(package
|
(package
|
||||||
(name "khal")
|
(name "khal")
|
||||||
(version "0.9.10")
|
(version "0.10.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "khal" version))
|
(uri (pypi-uri "khal" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"03h0j0d3xyqh98x5v2gv63wv3g91hip3vsaxvybsn5iz331d23h4"))))
|
"1p49f3g25x900vk32spjbr2aipj12kcbhayny2vwhdpkjlv6k396"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases (modify-phases %standard-phases
|
`(#:phases (modify-phases %standard-phases
|
||||||
|
@ -122,22 +122,14 @@ data units.")
|
||||||
(setenv "TZ"
|
(setenv "TZ"
|
||||||
(string-append (assoc-ref inputs "tzdata")
|
(string-append (assoc-ref inputs "tzdata")
|
||||||
"/share/zoneinfo/Zulu"))
|
"/share/zoneinfo/Zulu"))
|
||||||
(invoke "py.test" "tests" "-k"
|
(invoke "py.test" "tests"))))))
|
||||||
(string-append
|
|
||||||
;; These tests are known to fail in when not
|
|
||||||
;; running in a TTY:
|
|
||||||
;; https://github.com/pimutils/khal/issues/683
|
|
||||||
"not test_printics_read_from_stdin "
|
|
||||||
"and not test_import_from_stdin "
|
|
||||||
;; https://github.com/pimutils/khal/issues/825
|
|
||||||
"and not test_description_and_location_and_categories")))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-pytest" ,python-pytest)
|
`(("python-pytest" ,python-pytest)
|
||||||
("python-pytest-cov" ,python-pytest-cov)
|
("python-pytest-cov" ,python-pytest-cov)
|
||||||
("python-setuptools-scm" ,python-setuptools-scm)
|
("python-setuptools-scm" ,python-setuptools-scm)
|
||||||
;; Required for tests
|
;; Required for tests
|
||||||
("python-freezegun" ,python-freezegun)
|
("python-freezegun" ,python-freezegun)
|
||||||
("tzdata" ,tzdata)
|
("tzdata" ,tzdata-for-tests)
|
||||||
("vdirsyncer" ,vdirsyncer)
|
("vdirsyncer" ,vdirsyncer)
|
||||||
;; Required to build manpage
|
;; Required to build manpage
|
||||||
("python-sphinxcontrib-newsfeed" ,python-sphinxcontrib-newsfeed)
|
("python-sphinxcontrib-newsfeed" ,python-sphinxcontrib-newsfeed)
|
||||||
|
|
Reference in a new issue