[Python-modules-commits] [pyenchant] 02/05: Import pyenchant_2.0.0.orig.tar.gz
Piotr Ożarowski
piotr at moszumanska.debian.org
Wed Dec 20 10:53:18 UTC 2017
This is an automated email from the git hooks/post-receive script.
piotr pushed a commit to branch master
in repository pyenchant.
commit 9ccdbf27fbb8d03b5be5cae7115cba5bedbb5208
Author: Piotr Ożarowski <piotr at debian.org>
Date: Wed Dec 20 11:37:01 2017 +0100
Import pyenchant_2.0.0.orig.tar.gz
---
PKG-INFO | 3 ++-
enchant/__init__.py | 15 +++------------
enchant/_enchant.py | 6 ------
enchant/pypwl.py | 6 ------
pyenchant.egg-info/PKG-INFO | 3 ++-
setup.cfg | 1 -
6 files changed, 7 insertions(+), 27 deletions(-)
diff --git a/PKG-INFO b/PKG-INFO
index 07fbccd..120a6f8 100755
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,11 +1,12 @@
Metadata-Version: 1.1
Name: pyenchant
-Version: 1.6.11
+Version: 2.0.0
Summary: Python bindings for the Enchant spellchecking system
Home-page: https://pythonhosted.org/pyenchant/
Author: Ryan Kelly
Author-email: ryan at rfk.id.au
License: LGPL
+Description-Content-Type: UNKNOWN
Description: UNKNOWN
Keywords: spelling spellcheck enchant
Platform: UNKNOWN
diff --git a/enchant/__init__.py b/enchant/__init__.py
index 016d32f..9002695 100755
--- a/enchant/__init__.py
+++ b/enchant/__init__.py
@@ -79,9 +79,9 @@ of 'Error'.
_DOC_ERRORS = ['enchnt','enchnt','incant','fr']
# Make version info available
-__ver_major__ = 1
-__ver_minor__ = 6
-__ver_patch__ = 11
+__ver_major__ = 2
+__ver_minor__ = 0
+__ver_patch__ = 0
__ver_sub__ = ""
__version__ = "%d.%d.%d%s" % (__ver_major__,__ver_minor__,
__ver_patch__,__ver_sub__)
@@ -715,15 +715,6 @@ class Dict(_EnchantObject):
word = self._StringClass(word)
return _e.dict_is_removed(self._this,word.encode())
- def is_in_session(self,word):
- """Check whether a word is in the session list."""
- warnings.warn("Dict.is_in_session is deprecated, "\
- "please use Dict.is_added",
- category=DeprecationWarning,stacklevel=2)
- self._check_this()
- word = self._StringClass(word)
- return _e.dict_is_in_session(self._this,word.encode())
-
def store_replacement(self,mis,cor):
"""Store a replacement spelling for a miss-spelled word.
diff --git a/enchant/_enchant.py b/enchant/_enchant.py
index a07058d..cf77908 100755
--- a/enchant/_enchant.py
+++ b/enchant/_enchant.py
@@ -309,12 +309,6 @@ dict_is_removed1.restype = c_int
def dict_is_removed(dict,word):
return dict_is_removed1(dict,word,len(word))
-dict_is_in_session1 = e.enchant_dict_is_in_session
-dict_is_in_session1.argtypes = [t_dict,c_char_p,c_size_t]
-dict_is_in_session1.restype = c_int
-def dict_is_in_session(dict,word):
- return dict_is_in_session1(dict,word,len(word))
-
dict_store_replacement1 = e.enchant_dict_store_replacement
dict_store_replacement1.argtypes = [t_dict,c_char_p,c_size_t,c_char_p,c_size_t]
dict_store_replacement1.restype = None
diff --git a/enchant/pypwl.py b/enchant/pypwl.py
index 3a2248f..282c015 100755
--- a/enchant/pypwl.py
+++ b/enchant/pypwl.py
@@ -247,12 +247,6 @@ class PyPWL:
"""Add a word to the session list."""
self._words.insert(word)
- def is_in_session(self,word):
- """Check whether a word is in the session list."""
- warnings.warn("PyPWL.is_in_session is deprecated, please use PyPWL.is_added",category=DeprecationWarning)
- # Consider all words to be in the session list
- return self.check(word)
-
def store_replacement(self,mis,cor):
"""Store a replacement spelling for a miss-spelled word.
diff --git a/pyenchant.egg-info/PKG-INFO b/pyenchant.egg-info/PKG-INFO
index 07fbccd..120a6f8 100755
--- a/pyenchant.egg-info/PKG-INFO
+++ b/pyenchant.egg-info/PKG-INFO
@@ -1,11 +1,12 @@
Metadata-Version: 1.1
Name: pyenchant
-Version: 1.6.11
+Version: 2.0.0
Summary: Python bindings for the Enchant spellchecking system
Home-page: https://pythonhosted.org/pyenchant/
Author: Ryan Kelly
Author-email: ryan at rfk.id.au
License: LGPL
+Description-Content-Type: UNKNOWN
Description: UNKNOWN
Keywords: spelling spellcheck enchant
Platform: UNKNOWN
diff --git a/setup.cfg b/setup.cfg
index 76870a7..126a010 100755
--- a/setup.cfg
+++ b/setup.cfg
@@ -4,5 +4,4 @@ python-tag = py2.py3.cp27.cp32.cp33.cp34.cp35.cp36.pp27.pp33.pp35
[egg_info]
tag_build =
tag_date = 0
-tag_svn_revision = 0
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pyenchant.git
More information about the Python-modules-commits
mailing list