guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 7548be58c79fe66d24b7de26207526f057c1fa8c
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Oct 23 15:32:03 2025 +0100
gnu: txt2tags: Switch to pyproject.
* gnu/packages/textutils.scm (txt2tags)[source]: Switch to git-fetch
providing tests.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Remove python-tox; add python-setuptools.
Change-Id: Ief209c0de837c6f2e02eaa346f47c56ad09d037f
---
gnu/packages/textutils.scm | 23 +++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 715b9c4f98..368cd1bd71 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -1173,14 +1173,21 @@ file, but can even be dynamic.")
(package
(name "txt2tags")
(version "3.9")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "txt2tags" version))
- (sha256
- (base32
- "0ik7gpr3gymgxnj0p86k8768kyxncbncv93zq67sbak3dbdl8hky"))))
- (build-system python-build-system)
- (native-inputs (list python-tox))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/txt2tags/txt2tags")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1nfps6c3jchjkbwzh8v919fxql91l1lxa6q1vssprxivk0jcc0rz"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:test-backend #~'custom
+ #:test-flags #~(list "test/run.py")))
+ (native-inputs
+ (list python-setuptools))
(home-page "https://txt2tags.org")
(synopsis "Convert between markup languages")
(description