guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

12/55: gnu: Add python-towncrier.


From: guix-commits
Subject: 12/55: gnu: Add python-towncrier.
Date: Thu, 21 Sep 2023 13:31:34 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 370c8bd78b06314dc860695a6aad820c209e1386
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Sep 11 23:01:03 2023 +0800

    gnu: Add python-towncrier.
    
    * gnu/packages/python-xyz.scm (python-towncrier): New variable.
---
 gnu/packages/python-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 927c031869..0dd94edf8a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24096,6 +24096,40 @@ standard library.  It provides two additional tokens 
@code{ESCAPED_NL} and
 and @code{tokens_to_src} to roundtrip.")
     (license license:expat)))
 
+(define-public python-towncrier
+  (package
+    (name "python-towncrier")
+    (version "23.6.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "towncrier" version))
+              (sha256
+               (base32
+                "1hbhzxcn30qlnab1rnk2bf09jfy5bpxzfdp6zfn8sz3jnidbsagw"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list #:test-flags
+           ;; TODO: Why is this failing?
+           #~'("-k" "not test_version")))
+    (propagated-inputs
+     (list python-click
+           python-click-default-group
+           python-incremental
+           python-jinja2
+           python-tomli))
+    (native-inputs
+     (list git-minimal/pinned           ;tests create git repositories
+           python-hatchling
+           python-packaging
+           python-pytest
+           python-twisted))
+    (home-page "https://towncrier.readthedocs.io/en/stable/";)
+    (synopsis "Manage release notes")
+    (description
+     "@code{towncrier} is a utility to produce useful, summarized news
+files (also known as changelogs) for a project.")
+    (license license:expat)))
+
 (define-public python-future-fstrings
   (package
     (name "python-future-fstrings")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]