From mboxrd@z Thu Jan 1 00:00:00 1970 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 Subject: [bug#40416] Add python-titlecase. Resent-Message-ID: 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) From: Christopher Lemmer Webber Date: Fri, 03 Apr 2020 15:32:33 -0400 Message-ID: <877dywcqlq.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40416@debbugs.gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-python-titlecase.patch Content-Transfer-Encoding: quoted-printable From=20e566b6434b8696be3d12cd37f3362752c30433e8 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. =2D-- 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 =2D-- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8,7 +8,7 @@ ;;; Copyright =C2=A9 2015 Omar Radwan ;;; Copyright =C2=A9 2015 Pierre-Antoine Rault ;;; Copyright =C2=A9 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus =2D;;; Copyright =C2=A9 2015, 2016 Christopher Allan Webber +;;; Copyright =C2=A9 2015, 2016, 2020 Christopher Lemmer Webber ;;; Copyright =C2=A9 2015 Eric Dvorsak ;;; Copyright =C2=A9 2015, 2016 David Thompson ;;; Copyright =C2=A9 2015, 2016, 2017, 2019 Leo Famulari @@ -18726,3 +18726,28 @@ HTML-containing files.") usable as a configuration language. This Python package implements parsin= g 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 wor= ds +lowercase.") + (license license:expat))) =2D-=20 2.26.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEUQqGKOKndniPjHCcS8Alkl/49NMFAl6Hj1EACgkQS8Alkl/4 9NO0eBAAvA+9fMDNeNTIkU7EM3hAGxj4EXtvPt6XNiH43IIrO4JAq1cSupaFpcfQ QPiFgqPFNuFidX1RGBfg4xo6lBG0lzGK3BDCirExnDRv0whR7hNfzt7qns6qR8Qa VFIbXZehBL/4RsDi+wawhdrhbxXviANzoL4MWhiRvm7p8ZnoEb1NXv4t/Ci6NaJj tnrDxeQBaTnRNbRfttSNXf1gq5O0GfeWEqAStOxh5NiJvdx2lRxbIWUoRXU7gUPr w2A+f45uOQDFAZfF++wvEaUXoT+KOO3MLDljk54WT4vhZmG1sElfpe7UVrTfucp+ m7BqF697wTxa4TgA2D+pxLgXzsfWW4GnC1YolsUUvTvFlIuaBemRSeH3Eq8gOKD1 MS5vWiNhhhgXbX0PmNgTaTRIukL5pToc/u5Hyqh2WRi3FHYDHBfqpmsThGVgbH11 WUyqQV/ATrB/y6aIPlhFG5WXfOz7LbFJNh/bKmD3N2SmMJONLonM4JtO4tJ+Z/gB o0gzg3g9PxEVoI/upFvs5B2DQnA7rFmuBMNdy6BSt2oNySFvyN0jL3A12iMfWulZ qHUpIYpFMFjvI7rbJ16z4pcjQ/SLbR3WS8oFbZdw9ILodi/SCUqXeDKB+yc8709t C7idxMUAnJeXxJeoglJwb9w1+VLX+Od+KrHZ1+vF+/XhLOCqi6k= =0kMc -----END PGP SIGNATURE----- --==-=-=--