From: Julien Lepiller <julien@lepiller.eu>
To: 39128@debbugs.gnu.org
Subject: [bug#39128] [PATCH 01/12] gnu: Add python-pyenchant.
Date: Tue, 14 Jan 2020 02:57:28 +0100 [thread overview]
Message-ID: <20200114015739.14432-1-julien@lepiller.eu> (raw)
In-Reply-To: <20200114025253.3a99b3c7@tachikoma.lepiller.eu>
* gnu/packages/enchant.scm (python-pyenchant): New variable.
---
gnu/packages/enchant.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/enchant.scm b/gnu/packages/enchant.scm
index bcf2507e86..25825997bb 100644
--- a/gnu/packages/enchant.scm
+++ b/gnu/packages/enchant.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2014 Marek Benc <merkur32@gmail.com>
;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2020 Julien Lepiller <julien@lepiller.eu>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -23,10 +24,12 @@
#:use-module (gnu packages aspell)
#:use-module (gnu packages check)
#:use-module (gnu packages glib)
+ #:use-module (gnu packages libreoffice)
#:use-module (gnu packages pkg-config)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system python)
#:use-module (guix licenses)
#:use-module (srfi srfi-1))
@@ -86,3 +89,35 @@ working\".")
(sha256
(base32
"0zq9yw1xzk8k9s6x83n1f9srzcwdavzazn3haln4nhp9wxxrxb1g"))))))
+
+(define-public python-pyenchant
+ (package
+ (name "python-pyenchant")
+ (version "2.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "pyenchant" version))
+ (sha256
+ (base32
+ "1872ckgdip8nj9rnh167m0gsj5754qfg2hjxzsl1s06f5akwscgw"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f; FIXME: Dictionary for language 'en_US' could not be found
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'setlib
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "enchant/_enchant.py"
+ (("/opt/local/lib/libenchant.dylib\"")
+ (string-append "/opt/local/lib/libenchant.dylib\"\n"
+ " yield \"" (assoc-ref inputs "enchant")
+ "/lib/libenchant-2.so\""))))))))
+ (inputs
+ `(("enchant" ,enchant)))
+ (home-page "https://github.com/pyenchant/pyenchant")
+ (synopsis "Spellchecking library for Python")
+ (description "PyEnchant is a spellchecking library for Python, based on the
+Enchant library. PyEnchant combines all the functionality of the underlying
+Enchant library with the flexibility of Python. It also provides some
+higher-level functionality than is available in the C API.")
+ (license lgpl2.1+)))
--
2.24.0
next prev parent reply other threads:[~2020-01-14 1:58 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-14 1:52 [bug#39128] [PATCH] Add offlate Julien Lepiller
2020-01-14 1:57 ` Julien Lepiller [this message]
2020-01-14 1:57 ` [bug#39128] [PATCH 02/12] gnu: Add python-check-manifest Julien Lepiller
2020-01-14 1:57 ` [bug#39128] [PATCH 03/12] gnu: Add python-codacy-coverage Julien Lepiller
2020-01-14 1:57 ` [bug#39128] [PATCH 04/12] gnu: Add python-translation-finder Julien Lepiller
2020-01-14 1:57 ` [bug#39128] [PATCH 05/12] gnu: add python-httmock Julien Lepiller
2020-01-14 1:57 ` [bug#39128] [PATCH 06/12] gnu: Add python-gitlab Julien Lepiller
2020-01-14 1:57 ` [bug#39128] [PATCH 07/12] gnu: Add python-android-stringslib Julien Lepiller
2020-01-14 1:57 ` [bug#39128] [PATCH 08/12] gnu: Add python-pathtools Julien Lepiller
2020-01-14 1:57 ` [bug#39128] [PATCH 09/12] gnu: Add python-iocapture Julien Lepiller
2020-01-14 1:57 ` [bug#39128] [PATCH 10/12] gnu: Add python-argh Julien Lepiller
2020-01-14 1:57 ` [bug#39128] [PATCH 11/12] gnu: Add python-watchdog Julien Lepiller
2020-01-14 1:57 ` [bug#39128] [PATCH 12/12] gnu: Add offlate Julien Lepiller
2020-01-24 23:00 ` [bug#39128] [PATCH] " Ludovic Courtès
2020-03-30 18:18 ` bug#39128: Done: offlate Jakub Kądziołka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200114015739.14432-1-julien@lepiller.eu \
--to=julien@lepiller.eu \
--cc=39128@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.