gnu: python-tempora: Update to 5.8.1.

* gnu/packages/python-xyz.scm (python-tempora): Update to 5.8.1.
  [arguments] <test-flags>: Provide "tests" dirrectory to avoid running
  doctests.
  [propagated-inputs]: Remove python-pytz; add python-dateutil.
  [native-inputs]: Remove python-pytest-black, python-pytest-checkdocs,
  python-pytest-cov, python-pytest-enabler, python-pytest-flake8,
  python-pytest-freezegun, python-pytest-mypy, python-types-freezegun,
  python-types-pytz, and python-wheel; add python-tzdata.

Change-Id: I919e46694c5ff8627047250e8b62c87d0c579774
This commit is contained in:
Sharlatan Hellseher 2025-07-16 20:24:57 +01:00
parent 94e08b1bae
commit 64965b95ed
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -28210,34 +28210,27 @@ particularly convenient for use in tests.")
(define-public python-tempora (define-public python-tempora
(package (package
(name "python-tempora") (name "python-tempora")
(version "5.0.1") (version "5.8.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "tempora" version)) (uri (pypi-uri "tempora" version))
(sha256 (sha256
(base32 "09wirlk5vmxlhl9rnxp7g5qz2nsd6b0gnzk5fczbz0s8lsbz386b")))) (base32 "1k9d6qmlp0i4v3d0dcqcsndvmng3lfdh4y0p8gwy9i8cg7ndkddb"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
;; Do not test the myproject.toml build as it tries to pull (list
;; dependencies from the Internet. ;; Do not test the myproject.toml build as it tries to pull dependencies
(list #:test-flags #~'("-k" "not project"))) ;; from the Internet.
#:test-flags #~(list "-k" "not project"
"tests")))
(native-inputs (native-inputs
(list python-freezegun (list python-freezegun
python-pytest python-pytest
python-pytest-black
python-pytest-checkdocs
python-pytest-cov
python-pytest-enabler
python-pytest-flake8
python-pytest-freezegun
python-pytest-mypy
python-setuptools-scm
python-types-freezegun
python-types-pytz
python-setuptools python-setuptools
python-wheel)) python-setuptools-scm
(propagated-inputs (list python-jaraco-functools python-pytz)) python-tzdata))
(propagated-inputs (list python-dateutil python-jaraco-functools))
(home-page "https://github.com/jaraco/tempora") (home-page "https://github.com/jaraco/tempora")
(synopsis "Python date and time objects and routines") (synopsis "Python date and time objects and routines")
(description "The @code{tempora} Python library contains miscellaneous (description "The @code{tempora} Python library contains miscellaneous