summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-09-21 21:53:00 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-09-21 21:53:00 +0000
commit3a3d78622fb4a5aa9e84db5b6793078ec8f14e48 (patch)
tree727662436bf1e020bb6123580996f21b9f77d545 /dev-python/pyenchant
parentadd x11-misc/videogen to package.mask (diff)
downloadgentoo-2-3a3d78622fb4a5aa9e84db5b6793078ec8f14e48.tar.gz
gentoo-2-3a3d78622fb4a5aa9e84db5b6793078ec8f14e48.tar.bz2
gentoo-2-3a3d78622fb4a5aa9e84db5b6793078ec8f14e48.zip
Version bump.
(Portage version: 2.2_rc85_p18/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyenchant')
-rw-r--r--dev-python/pyenchant/ChangeLog8
-rw-r--r--dev-python/pyenchant/pyenchant-1.6.3.ebuild40
2 files changed, 47 insertions, 1 deletions
diff --git a/dev-python/pyenchant/ChangeLog b/dev-python/pyenchant/ChangeLog
index 5d41b016942f..bcb25029df86 100644
--- a/dev-python/pyenchant/ChangeLog
+++ b/dev-python/pyenchant/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pyenchant
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyenchant/ChangeLog,v 1.27 2010/07/18 13:22:28 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyenchant/ChangeLog,v 1.28 2010/09/21 21:53:00 arfrever Exp $
+
+*pyenchant-1.6.3 (21 Sep 2010)
+
+ 21 Sep 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +pyenchant-1.6.3.ebuild:
+ Version bump.
18 Jul 2010; <nixnut@gentoo.org> pyenchant-1.6.2.ebuild:
ppc stable #323093
diff --git a/dev-python/pyenchant/pyenchant-1.6.3.ebuild b/dev-python/pyenchant/pyenchant-1.6.3.ebuild
new file mode 100644
index 000000000000..2048f5b49025
--- /dev/null
+++ b/dev-python/pyenchant/pyenchant-1.6.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyenchant/pyenchant-1.6.3.ebuild,v 1.1 2010/09/21 21:53:00 arfrever Exp $
+
+EAPI="3"
+SUPPORT_PYTHON_ABIS="1"
+DISTUTILS_SRC_TEST="setup.py"
+
+inherit distutils
+
+DESCRIPTION="Python wrapper for the Enchant spellchecking wrapper library"
+HOMEPAGE="http://pyenchant.sourceforge.net http://pypi.python.org/pypi/pyenchant"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DEPEND=">=app-text/enchant-${PV%.*}
+ dev-python/setuptools"
+RDEPEND="${DEPEND}"
+
+DOCS="README.txt TODO.txt"
+PYTHON_MODNAME="enchant"
+
+src_prepare() {
+ distutils_src_prepare
+
+ # TestInstallEnv tests are broken with Python 3 (enchant.tokenize is wrongly imported as tokenize).
+ sed -e "s/test_basic/_&/;s/test_UnicodeInstallPath/_&/" -i enchant/tests.py || die "sed failed"
+}
+
+src_test() {
+ if [[ -n "$(LC_ALL="en_US.UTF-8" bash -c "" 2>&1)" ]]; then
+ ewarn "Disabling tests due to missing en_US.UTF-8 locale"
+ else
+ distutils_src_test
+ fi
+}