1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-26 19:11:46 +02:00

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
This commit is contained in:
Sharlatan Hellseher
2025-10-23 15:32:03 +01:00
parent bf97078682
commit 7548be58c7
+15 -8
View File
@@ -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