From patchwork Fri Apr 3 19:32:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Christine Lemmer-Webber X-Patchwork-Id: 21075 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id F0AE727BBE4; Fri, 3 Apr 2020 20:33:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id A058827BBE1 for ; Fri, 3 Apr 2020 20:33:12 +0100 (BST) Received: from localhost ([::1]:60408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jKS40-00024c-22 for patchwork@mira.cbaines.net; Fri, 03 Apr 2020 15:33:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60240) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jKS3r-00024S-Bq for guix-patches@gnu.org; Fri, 03 Apr 2020 15:33:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jKS3q-0000mA-3K for guix-patches@gnu.org; Fri, 03 Apr 2020 15:33:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59913) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jKS3q-0000lU-04 for guix-patches@gnu.org; Fri, 03 Apr 2020 15:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jKS3p-0000An-Rt for guix-patches@gnu.org; Fri, 03 Apr 2020 15:33:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40416] Add python-titlecase. Resent-From: Christopher Lemmer Webber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 03 Apr 2020 19:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40416 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 40416@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1585942370617 (code B ref -1); Fri, 03 Apr 2020 19:33:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Apr 2020 19:32:50 +0000 Received: from localhost ([127.0.0.1]:43226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKS3Y-00009W-T9 for submit@debbugs.gnu.org; Fri, 03 Apr 2020 15:32:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:47946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKS3S-00009A-Kz for submit@debbugs.gnu.org; Fri, 03 Apr 2020 15:32:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59230) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jKS3R-00020J-8u for guix-patches@gnu.org; Fri, 03 Apr 2020 15:32:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jKS3P-0008FN-VA for guix-patches@gnu.org; Fri, 03 Apr 2020 15:32:37 -0400 Received: from dustycloud.org ([2600:3c02::f03c:91ff:feae:cb51]:44840) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jKS3P-0008BV-QK for guix-patches@gnu.org; Fri, 03 Apr 2020 15:32:35 -0400 Received: from twig (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 4812E265E6 for ; Fri, 3 Apr 2020 15:32:34 -0400 (EDT) User-agent: mu4e 1.2.0; emacs 26.3 From: Christopher Lemmer Webber Date: Fri, 03 Apr 2020 15:32:33 -0400 Message-ID: <877dywcqlq.fsf@dustycloud.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From e566b6434b8696be3d12cd37f3362752c30433e8 Mon Sep 17 00:00:00 2001 From: Christopher Lemmer Webber Date: Fri, 3 Apr 2020 15:28:46 -0400 Subject: [PATCH] gnu: Add python-titlecase. * gnu/packages/python-xyz.scm (python-titlecase): New variable. --- gnu/packages/python-xyz.scm | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e5bf2f5a3d..cf4ef40895 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8,7 +8,7 @@ ;;; Copyright © 2015 Omar Radwan ;;; Copyright © 2015 Pierre-Antoine Rault ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus -;;; Copyright © 2015, 2016 Christopher Allan Webber +;;; Copyright © 2015, 2016, 2020 Christopher Lemmer Webber ;;; Copyright © 2015 Eric Dvorsak ;;; Copyright © 2015, 2016 David Thompson ;;; Copyright © 2015, 2016, 2017, 2019 Leo Famulari @@ -18726,3 +18726,28 @@ HTML-containing files.") usable as a configuration language. This Python package implements parsing and dumping of JSON5 data structures.") (license license:asl2.0))) + +(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 + "Python library to 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))) -- 2.26.0