gnu: python-dotenv: Update to 1.1.1.

* gnu/packages/python-xyz.scm (python-dotenv): Update to 1.1.1.
  [build-system]: Use pyproject.
  [arguments]: Drop them.
  [native-inputs]: Remove python-mock; add python-setuptools.

Change-Id: I6dce45f8aabf5dc12f3b37b2d851d910a2786b6b
This commit is contained in:
Sharlatan Hellseher 2025-07-31 16:05:55 +01:00
parent ad8a8eb5d9
commit e84a749026
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -36785,30 +36785,20 @@ systems in Python.")
(define-public python-dotenv (define-public python-dotenv
(package (package
(name "python-dotenv") (name "python-dotenv")
(version "0.20.0") (version "1.1.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "python-dotenv" version)) (uri (pypi-uri "python_dotenv" version))
(sha256 (sha256
(base32 "13s9imfd0k4d7b1qy5wfqzw5vyj6rhmcrccsdz1l4g39b55b1qxp")))) (base32 "1aw9c5gw2gfjf7n3s7k6lb6ybz090hh60wq0daz4azr52sbkk9m8"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments (native-inputs
`(#:phases (list python-pytest
(modify-phases %standard-phases python-setuptools
(replace 'check python-sh))
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
(when tests?
(add-installed-pythonpath inputs outputs)
(setenv "PATH" (string-append (getenv "PATH") ":"
(assoc-ref outputs "out") "/bin"))
;; Skip the ipython tests.
(delete-file "tests/test_ipython.py")
(invoke "python" "-m" "pytest")))))))
(propagated-inputs (propagated-inputs
(list python-click)) (list python-click))
(native-inputs
(list python-mock python-pytest python-sh))
(home-page "https://saurabh-kumar.com/python-dotenv/") (home-page "https://saurabh-kumar.com/python-dotenv/")
(synopsis "Setup environment variables according to .env files") (synopsis "Setup environment variables according to .env files")
(description (description