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
(package
(name "python-tempora")
(version "5.0.1")
(version "5.8.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "tempora" version))
(sha256
(base32 "09wirlk5vmxlhl9rnxp7g5qz2nsd6b0gnzk5fczbz0s8lsbz386b"))))
(base32 "1k9d6qmlp0i4v3d0dcqcsndvmng3lfdh4y0p8gwy9i8cg7ndkddb"))))
(build-system pyproject-build-system)
(arguments
;; Do not test the myproject.toml build as it tries to pull
;; dependencies from the Internet.
(list #:test-flags #~'("-k" "not project")))
(list
;; Do not test the myproject.toml build as it tries to pull dependencies
;; from the Internet.
#:test-flags #~(list "-k" "not project"
"tests")))
(native-inputs
(list python-freezegun
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-wheel))
(propagated-inputs (list python-jaraco-functools python-pytz))
python-setuptools-scm
python-tzdata))
(propagated-inputs (list python-dateutil python-jaraco-functools))
(home-page "https://github.com/jaraco/tempora")
(synopsis "Python date and time objects and routines")
(description "The @code{tempora} Python library contains miscellaneous