guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 4bfc33e1d27f2af87aca3dae6853d506b3aa02b6
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Jul 24 11:29:59 2025 +0100
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 <https://github.com/leohemsted/smartypants.py>
to <https://github.com/justinmayer/smartypants.py>.
[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 e670c929a5..57156fcc6f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -35791,30 +35791,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: