diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-17 21:36:18 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:35:44 +0100 |
| commit | d709cb4b2efe75db729d5e080e0cdb3d13f6ca97 (patch) | |
| tree | d3c430870ca8d1cf3b417ee3e4b0cd6e1fcb9468 /gnu/packages/python-xyz.scm | |
| parent | bb55c28ea72c50dce53e89a1face13b4f862bc7c (diff) | |
gnu: python-typogrify: Update to 2.1.0.
Development of <https://github.com/mintchaos/typogrify> has been moved
to a maintained fork of this project. Please file any issues and pull
requests at that repository <https://github.com/justinmayer/typogrify>.
* gnu/packages/python-xyz.scm (python-typogrify): Update to 2.1.0.
[build-system]: Use pyproject.
[arguments] <test-flags>: Provide test options as seen in GitHub
Actions workflow.
[home-page]: Fix URL.
[native-inputs]: Remove python-nose; add python-pytest and
python-hatchling.
Change-Id: I77a22b795b8912b722ef8c67e11fb555dd4b7194
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index aa6064f6b3..e0f030c006 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -35776,26 +35776,26 @@ entities (define-public python-typogrify (package (name "python-typogrify") - (version "2.0.7") - (source (origin - (method url-fetch) - (uri (pypi-uri "typogrify" version)) - (sha256 - (base32 - "0f6b2gnnxjbx1fbmkcscc6qjr4hi78kwm1wx4b766ha3va66dr4b")))) - (build-system python-build-system) + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "typogrify" version)) + (sha256 + (base32 "1vk17q04sax8rpdqll5zldnf6l3ixgknbnn9wimnwah3k1701aph")))) + (build-system pyproject-build-system) (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda _ - (invoke "nosetests" "-v")))))) + (list + #:test-flags + #~(list "--doctest-modules" + "typogrify/filters.py" + "typogrify/packages/titlecase/tests.py"))) + (native-inputs + (list python-pytest + python-hatchling)) (propagated-inputs (list python-smartypants)) - (native-inputs - ;; For tests. - (list python-nose)) - (home-page "https://github.com/mintchaos/typogrify") + (home-page "https://github.com/justinmayer/typogrify") (synopsis "Filters to transform text into typographically-improved HTML") (description "@code{typogrify} provides a set of custom filters that automatically |
