From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:47651) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGLSJ-0004nV-UD for guix-patches@gnu.org; Fri, 04 Oct 2019 07:09:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iGLSI-00019b-Or for guix-patches@gnu.org; Fri, 04 Oct 2019 07:09:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32989) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iGLSI-00019V-M1 for guix-patches@gnu.org; Fri, 04 Oct 2019 07:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iGLSI-0006xe-Fj for guix-patches@gnu.org; Fri, 04 Oct 2019 07:09:02 -0400 Subject: [bug#37617] [PATCH 5/6] gnu: Add python-pyphen. Resent-Message-ID: From: Hartmut Goebel Date: Fri, 4 Oct 2019 13:08:23 +0200 Message-Id: <20191004110824.16081-5-h.goebel@crazy-compilers.com> In-Reply-To: <20191004110824.16081-1-h.goebel@crazy-compilers.com> References: <20191004110824.16081-1-h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: 37617@debbugs.gnu.org * gnu/packages/python-xyz.scm (python-pyphen): New variable. --- gnu/packages/python-xyz.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index abcd7e7408..c7ffecabbf 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16509,3 +16509,22 @@ SVG parser, trying to follow the SVG 1.1 recommendation from the W3C. Once parsed, the result is drawn to a Cairo surface that can be exported to qvarious formats: PDF, PostScript, PNG and even SVG.") (license license:lgpl3+))) + +(define-public python-pyphen + (package + (name "python-pyphen") + (version "0.9.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "Pyphen" version)) + (sha256 + (base32 "08c9y69ry9d6m4zalhnalg86lsp9v2j5n1ziw5vxfmiihx83lqrv")))) + (build-system python-build-system) + ;; TODO: Use the Guix system hyphenation packages hyphen-* rather than the + ;; embedded set provided by upstream - like Debian does. + (home-page "https://github.com/Kozea/Pyphen") + (synopsis "Pure Python module to hyphenate text") + (description "Pyphen is a pure Python module to hyphenate text using +existing Hunspell hyphenation dictionaries.") + (license (list license:gpl2 license:lgpl2.1 license:mpl1.1)))) -- 2.21.0