* [gentoo-commits] gentoo-x86 commit in dev-python/pyenchant: pyenchant-1.6.2.ebuild
@ 2010-06-07 16:28 Arfrever Frehtes Taifersar Arahesis (arfrever)
0 siblings, 0 replies; only message in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2010-06-07 16:28 UTC (permalink / raw
To: gentoo-commits
arfrever 10/06/07 16:28:39
Modified: pyenchant-1.6.2.ebuild
Log:
Fix dependencies. Disable tests when en_US.UTF-8 locale is missing.
(Portage version: HEAD/cvs/Linux x86_64)
Revision Changes Path
1.2 dev-python/pyenchant/pyenchant-1.6.2.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyenchant/pyenchant-1.6.2.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyenchant/pyenchant-1.6.2.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyenchant/pyenchant-1.6.2.ebuild?r1=1.1&r2=1.2
Index: pyenchant-1.6.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyenchant/pyenchant-1.6.2.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pyenchant-1.6.2.ebuild 29 May 2010 16:13:54 -0000 1.1
+++ pyenchant-1.6.2.ebuild 7 Jun 2010 16:28:39 -0000 1.2
@@ -1,6 +1,6 @@
# 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.2.ebuild,v 1.1 2010/05/29 16:13:54 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyenchant/pyenchant-1.6.2.ebuild,v 1.2 2010/06/07 16:28:39 arfrever Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
@@ -17,7 +17,7 @@
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
-DEPEND=">=app-text/enchant-1.4.0
+DEPEND=">=app-text/enchant-${PV%.*}
dev-python/setuptools"
RDEPEND="${DEPEND}"
@@ -30,3 +30,11 @@
# 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
+}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-06-07 16:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-07 16:28 [gentoo-commits] gentoo-x86 commit in dev-python/pyenchant: pyenchant-1.6.2.ebuild Arfrever Frehtes Taifersar Arahesis (arfrever)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox