guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: Add python-titlecase.


From: guix-commits
Subject: branch master updated: gnu: Add python-titlecase.
Date: Thu, 09 Apr 2020 17:08:56 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 575a9b0  gnu: Add python-titlecase.
575a9b0 is described below

commit 575a9b03aebbdc109540ef5c287f254f6fd9579c
Author: Christopher Lemmer Webber <address@hidden>
AuthorDate: Fri Apr 3 15:28:46 2020 -0400

    gnu: Add python-titlecase.
    
    * gnu/packages/python-xyz.scm (python-titlecase): New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 gnu/packages/python-xyz.scm | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f2e75d5..d7b9ebb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8,7 +8,7 @@
 ;;; Copyright © 2015 Omar Radwan <address@hidden>
 ;;; Copyright © 2015 Pierre-Antoine Rault <address@hidden>
 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus 
<address@hidden>
-;;; Copyright © 2015, 2016 Christopher Allan Webber <address@hidden>
+;;; Copyright © 2015, 2016, 2020 Christopher Allan Webber <address@hidden>
 ;;; Copyright © 2015 Eric Dvorsak <address@hidden>
 ;;; Copyright © 2015, 2016 David Thompson <address@hidden>
 ;;; Copyright © 2015, 2016, 2017, 2019 Leo Famulari <address@hidden>
@@ -18754,6 +18754,29 @@ dedicated platform.  The tool proposes a unified 
interface for any format and
 an upload option to send your work back to the platform.")
     (license license:gpl3+)))
 
+(define-public python-titlecase
+  (package
+    (name "python-titlecase")
+    (version "0.12.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "titlecase" version))
+       (sha256
+        (base32
+         "0486i99wf8ssa7sgn81fn6fv6i4rhhq6n751bc740b3hzfbpmpl4"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-nose" ,python-nose)))
+    (home-page "https://github.com/ppannuto/python-titlecase";)
+    (synopsis "Capitalize strings similar to book titles")
+    (description
+     "Python-Titlecase is a Python port of John Gruber's titlecase.pl.
+It capitalizes (predominantly English) strings in a way that is similar to
+book titles, using the New York Times Manual of Style to leave certain words
+lowercase.")
+    (license license:expat)))
+
 (define-public python-pypng
   (package
     (name "python-pypng")



reply via email to

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