From 9982a88654fd57ab407246e7c9c387b484f05575 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 24 Jul 2025 11:29:59 +0100 Subject: [PATCH] gnu: python-smartypants: Update to 2.0.2. * gnu/packages/python-xyz.scm (python-smartypants): Update to 2.0.2. [source]: Switch to PyPI which provides source tarball as the owner of the project has been changed. [build-system]: Use pyproject. [arguments]: Drop them. [home-page]: Fix permament redirect from to . [native-inputs]: Remove python-nose; add python-setuptools. Change-Id: I12faf46dd759672d20c15e34c2df14d90a8b9b1b --- gnu/packages/python-xyz.scm | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 03b2e595af30d0c998592f5adf84acf2864bebef..aa6064f6b3a3dcbea17331955714d19eef52336b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -35750,30 +35750,17 @@ iGoogle subscription lists.") (define-public python-smartypants (package (name "python-smartypants") - (version "2.0.1") + (version "2.0.2") (source (origin - ;; There's no source tarball for 2.0.1 on PyPI. - (method git-fetch) - (uri (git-reference - (url "https://github.com/leohemsted/smartypants.py") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) + (method url-fetch) + (uri (pypi-uri "smartypants" version)) (sha256 - (base32 "00p1gnb9pzb3svdq3c5b9b332gsp50wrqqa39gj00m133zadanjp")))) - (build-system python-build-system) - (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - ;; Its `setup.py test` doesn't report failure with exit status, so - ;; we use `nose` instead. - (lambda _ - (invoke "nosetests" "-v" "--exclude=^load_tests$")))))) + (base32 "1ih0z32xfz45bpjyc27nnx8k4b613cwxyyr9k2v68sfcszhlrmir")))) + (build-system pyproject-build-system) (native-inputs - ;; For tests. - (list python-docutils python-nose python-pygments)) - (home-page "https://github.com/leohemsted/smartypants.py") + (list python-docutils python-pygments python-setuptools)) + (home-page "https://github.com/justinmayer/smartypants.py") (synopsis "Translate punctuation characters into smart quotes") (description "@command{smartpants} can perform the following transformations: