summaryrefslogtreecommitdiff
path: root/dev-python/pyenchant
diff options
context:
space:
mode:
authorPalica <palica+gitlab@liguros.net>2020-06-23 22:35:08 +0200
committerPalica <palica+gitlab@liguros.net>2020-06-23 22:35:08 +0200
commitecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch)
treeb89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/pyenchant
parent1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff)
downloadbaldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz
baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz
baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip
Updating liguros repo
Diffstat (limited to 'dev-python/pyenchant')
-rw-r--r--dev-python/pyenchant/Manifest3
-rw-r--r--dev-python/pyenchant/metadata.xml22
-rw-r--r--dev-python/pyenchant/pyenchant-2.0.0.ebuild38
-rw-r--r--dev-python/pyenchant/pyenchant-3.0.1-r1.ebuild27
-rw-r--r--dev-python/pyenchant/pyenchant-3.1.0.ebuild27
5 files changed, 117 insertions, 0 deletions
diff --git a/dev-python/pyenchant/Manifest b/dev-python/pyenchant/Manifest
new file mode 100644
index 000000000000..048a0bb94cf7
--- /dev/null
+++ b/dev-python/pyenchant/Manifest
@@ -0,0 +1,3 @@
+DIST pyenchant-2.0.0.tar.gz 64022 BLAKE2B ee1200ded8e2a8f9145fece64cee1c8ea3129d540e10708d51acf6491c200a0f39927b47fce51d2e2f932e465d7acd5bb4afd31712183530f6da5e8ea899c0c7 SHA512 c985714bc8ad69b6580fa1dd546243da5f3f92e8681d846ed265b086c486ae7ed33754fba303b450be4c0cb20e975a9a10efbeb700ea5213a11ed00612a93af0
+DIST pyenchant-3.0.1.gh.tar.gz 75730 BLAKE2B 499638a238fa00510c9fcd3bc3d91c6486af8476b857781e70c142bbabac3933611d96f745bd44cbf707a4051ea0b83534bfe1da78b9a5631dbd52c157f6b4c2 SHA512 61ab856071bb2c49b31f4f10562c0f6c2d1812537de927905427d61b9b183f8e25eb1ae01ca5655812512d9634be0e5fa7df8b393f9080e2ddd6700ccd049287
+DIST pyenchant-3.1.0.gh.tar.gz 75012 BLAKE2B dde78c4f8e986be7e7b4f82979bc446d68a88c3289d472948bb704120fb0dfc3064b8fd46b1883724b0084eefb9e52dfd522bcda290ed5e7a99ae62c948f828c SHA512 d2bf872c15fca1e2c1aa8de06a9ee2c0e6128a69f728383ae9b91fb0ead2d66f804388671cc8156716e240548c29da41eb6c0678dd889012009c690bd078a7de
diff --git a/dev-python/pyenchant/metadata.xml b/dev-python/pyenchant/metadata.xml
new file mode 100644
index 000000000000..ee687097d072
--- /dev/null
+++ b/dev-python/pyenchant/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <longdescription lang="en">
+ PyEnchant is a set of language bindings and some wrapper classes to
+ make the excellent Enchant spellchecker available as a Python
+ module. The bindings are generated using SWIG. It includes all the
+ functionality of Enchant with the flexibility of Python and a nice
+ 'Pythonic' object-oriented interface. It also aims to provide some
+ higher-level functionality than is available in the C API.
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">pyenchant</remote-id>
+ <remote-id type="sourceforge">pyenchant</remote-id>
+ <remote-id type="github">rfk/pyenchant</remote-id>
+ </upstream>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
diff --git a/dev-python/pyenchant/pyenchant-2.0.0.ebuild b/dev-python/pyenchant/pyenchant-2.0.0.ebuild
new file mode 100644
index 000000000000..3c17fb97e4be
--- /dev/null
+++ b/dev-python/pyenchant/pyenchant-2.0.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy3 python{2_7,3_{6,7,8}} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python bindings for the Enchant spellchecking system"
+HOMEPAGE="http://pyenchant.sourceforge.net https://pypi.org/project/pyenchant/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 sparc x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="app-text/enchant:0"
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ ${RDEPEND}
+ app-dicts/myspell-en
+ )"
+
+python_prepare_all() {
+ # Avoid a test failure when there is no dictionary
+ # matching the available locales
+ # https://github.com/rfk/pyenchant/issues/134
+ sed -i 's/test_default_language/_&/' enchant/checker/tests.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ esetup.py test
+}
diff --git a/dev-python/pyenchant/pyenchant-3.0.1-r1.ebuild b/dev-python/pyenchant/pyenchant-3.0.1-r1.ebuild
new file mode 100644
index 000000000000..466fac197d5c
--- /dev/null
+++ b/dev-python/pyenchant/pyenchant-3.0.1-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python bindings for the Enchant spellchecking system"
+HOMEPAGE="https://github.com/pyenchant/pyenchant
+ https://pypi.org/project/pyenchant/"
+SRC_URI="
+ https://github.com/pyenchant/pyenchant/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND="app-text/enchant:*"
+BDEPEND="
+ test? (
+ app-dicts/myspell-en
+ )"
+
+distutils_enable_tests pytest
diff --git a/dev-python/pyenchant/pyenchant-3.1.0.ebuild b/dev-python/pyenchant/pyenchant-3.1.0.ebuild
new file mode 100644
index 000000000000..ec2269fe01ab
--- /dev/null
+++ b/dev-python/pyenchant/pyenchant-3.1.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy3 python3_{6..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python bindings for the Enchant spellchecking system"
+HOMEPAGE="https://github.com/pyenchant/pyenchant
+ https://pypi.org/project/pyenchant/"
+SRC_URI="
+ https://github.com/pyenchant/pyenchant/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND="app-text/enchant:*"
+BDEPEND="
+ test? (
+ app-dicts/myspell-en
+ )"
+
+distutils_enable_tests pytest