diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-12-23 17:19:04 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-28 20:51:52 +0000 |
| commit | b7fd221b8b14cfa1cc8f6c11a40ba9f4c21d3375 (patch) | |
| tree | 8b2cf2844d99d16183387613f76bd9c56ef4ac26 /gnu/packages/python-web.scm | |
| parent | 12d7fa7ac8fe4b6b83dc3462ef4009aad88c9055 (diff) | |
gnu: python-slugify: Update to 8.0.4.
* gnu/packages/python-web.scm (python-slugify): Update to 8.0.4.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Drop them.
<#:test-backend>: Set it.
[native-inputs]: Add python-setuptools.
Change-Id: Iaa66cd7808cb4262e3d4c0594a270292fa5805e9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index fe86272492b..26d4eabeb60 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -9149,23 +9149,20 @@ Fastapi.") (define-public python-slugify (package (name "python-slugify") - (version "5.0.2") + (version "8.0.4") (source (origin - (method url-fetch) - (uri (pypi-uri "python-slugify" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/un33k/python-slugify") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "1aww2ncglyii4jkbfjxqhinivawf9zmwifcj32d69gpwp6h86czi")))) - (propagated-inputs - (list python-unidecode python-text-unidecode)) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "python" "test.py"))))))) - (build-system python-build-system) + (base32 "0z83nwy7acc72mb2jv3516nfplah1wm61wkmnzl71dh8i4q985yd")))) + (build-system pyproject-build-system) + (arguments (list #:test-backend #~'unittest)) + (native-inputs (list python-setuptools)) + (propagated-inputs (list python-unidecode python-text-unidecode)) (home-page "https://github.com/un33k/python-slugify") (synopsis "Python Slugify application that handles Unicode") (description "This package provides a @command{slufigy} command and |
