gnu: python-docx: Update to 1.1.2.

* gnu/packages/python-xyz.scm (python-docx): Update to 1.1.2.
[source]: Update PyPI source uri.
[native-inputs]: Remove python-flake8 and python-mock.
Add python-pytest-cov and python-pytest-xdist.
[propagated-inputs]: Add python-typing-extensions.

Change-Id: Ib43120dcc35a0a24a1456022c4d9ea6fb06f6b20
This commit is contained in:
jgart 2024-08-16 19:05:38 -05:00
parent 0a18e7b983
commit baa21af539
No known key found for this signature in database
GPG Key ID: A52AA2B477B6DD35

View File

@ -6993,22 +6993,22 @@ via commands such as @command{rst2man}, as well as supporting Python code.")
(define-public python-docx (define-public python-docx
(package (package
(name "python-docx") (name "python-docx")
(version "0.8.11") (version "1.1.2")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "python-docx" version)) (uri (pypi-uri "python_docx" version))
(sha256 (sha256
(base32 (base32
"1i7bxghb7knlyjain101qg1jmmz2b6qj03bi3vfxhvcml0rx418i")))) "1z9ffsvksaaxr90ijzq4k3adzb6p5ipy2j3rrbfjl05rjlpg5w8c"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(native-inputs (native-inputs
(list behave (list behave
python-flake8
python-mock
python-pyparsing python-pyparsing
python-pytest)) python-pytest
python-pytest-cov
python-pytest-xdist))
(propagated-inputs (propagated-inputs
(list python-lxml)) (list python-lxml python-typing-extensions))
(home-page "https://github.com/python-openxml/python-docx/") (home-page "https://github.com/python-openxml/python-docx/")
(synopsis "Python library to create and modify Microsoft Word documents") (synopsis "Python library to create and modify Microsoft Word documents")
(description "This Python library can be used to create and update (description "This Python library can be used to create and update