jgart pushed a commit to branch master
in repository guix.
commit 01db401dc82179f83b38dcc5b393c16db7cdb701
Author: Fabio Natali <[email protected]>
AuthorDate: Wed Oct 9 18:52:26 2024 +0100
gnu: python-icalendar: Update to 5.0.13.
* gnu/packages/python-xyz.scm (python-icalendar): Update to 5.0.13.
[propagated-inputs]: Add python-tzdata.
[native-inputs]: Add python-pytest, python-pytz.
[synopsis]: Improve the synopsis.
[description]: Improve the description.
Change-Id: Iafa906540df87db84cd4752cb4b345d838bff15c
Signed-off-by: jgart <[email protected]>
---
gnu/packages/python-xyz.scm | 24 +++++++++++++++++-------
1 file changed, 17 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 38ee4a5908..7eb2498a99 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18517,19 +18517,29 @@ minimal and fast API targeting the following uses:
(define-public python-icalendar
(package
(name "python-icalendar")
- (version "4.1.0")
+ (version "5.0.13")
(source (origin
(method url-fetch)
(uri (pypi-uri "icalendar" version))
(sha256
(base32
- "15dkq42rkqjdi17rpvmd1plnbwn4daby0nk1s1c3xi7w5v0bfj4p"))))
- (build-system python-build-system)
+ "01lp0advx60z8wgng8aga1p1668ydn1r6d9qm3d622yfikg9yycj"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv" "src/icalendar/tests")))))))
(propagated-inputs
- (list python-dateutil python-pytz))
- (synopsis "Python library for parsing iCalendar files")
- (description "The icalendar package is a parser/generator of iCalendar
-files for use with Python.")
+ (list python-dateutil python-pytz python-tzdata))
+ (native-inputs
+ (list python-pytest python-pytz))
+ (synopsis "Python library for parsing and generating iCalendar files")
+ (description
+ "@code{icalendar} is a Python library for parsing and generating
iCalendar files.")
(home-page "https://github.com/collective/icalendar")
(license license:bsd-2)))