diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-07 16:28:39 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-07 16:28:39 +0000 |
commit | cb1fcb1ba67895939dd0f4f9ea9229be60ad5dbc (patch) | |
tree | d81e5878ed7333df78680bb15bdef2dc64588a6e /dev-python/pyenchant | |
parent | remove now-unneeded games-simulation/openttd mask (diff) | |
download | historical-cb1fcb1ba67895939dd0f4f9ea9229be60ad5dbc.tar.gz historical-cb1fcb1ba67895939dd0f4f9ea9229be60ad5dbc.tar.bz2 historical-cb1fcb1ba67895939dd0f4f9ea9229be60ad5dbc.zip |
Fix dependencies. Disable tests when en_US.UTF-8 locale is missing.
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pyenchant')
-rw-r--r-- | dev-python/pyenchant/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyenchant/pyenchant-1.6.2.ebuild | 12 |
2 files changed, 11 insertions, 3 deletions
diff --git a/dev-python/pyenchant/Manifest b/dev-python/pyenchant/Manifest index b05d2ee7367d..a8a24b6d3734 100644 --- a/dev-python/pyenchant/Manifest +++ b/dev-python/pyenchant/Manifest @@ -3,6 +3,6 @@ DIST pyenchant-1.6.1.tar.gz 57744 RMD160 7edcfaeaf87c46bc3bb39ad3f371da204d06291 DIST pyenchant-1.6.2.tar.gz 57761 RMD160 8dc31b837e33d2fe517b9346077060767526861b SHA1 54937a31dfdd1023f588ff599135b541f7845eb8 SHA256 016959bcce601bb011fa67b2745d90f5285e3e0ff8b49b0d8832fddece558ba2 EBUILD pyenchant-1.5.3.ebuild 955 RMD160 513da73cb1d1b3f93c90f4f0ddfaa5831d09fd9f SHA1 b918a64d064e315079d0b285a492463c81889ce3 SHA256 9ce1557863f08302d9f6adf1dc8b575c1871471a70322a4532f298589a661850 EBUILD pyenchant-1.6.1.ebuild 999 RMD160 c334058291e7ef00e17f58655cdec5d9b66ffbc7 SHA1 1460ec5297a3e9251f5e151147cbf6f1b7a69370 SHA256 f87e9ed86bcfe00fa835d538c0c9db15778da2dc9173aa58b35e9c09720c0f9f -EBUILD pyenchant-1.6.2.ebuild 1002 RMD160 e28ae3666949fdefa87378033f65b684337fab6d SHA1 c0e935fabc117e77d6118ee7860a2d84b0b55e25 SHA256 922dd6942d616c976cd6329dfb8e9cb7755dd179a9071b35600578baf664b800 +EBUILD pyenchant-1.6.2.ebuild 1173 RMD160 0626c9c491c906780966de2f818a117d587e965f SHA1 3ebc05cd37cd734decbf364faefaab376d2e05c2 SHA256 0a55f3d85ffff125ad7ed95aba2199f7e61a499e21f3a468f6932eb238a1e02e MISC ChangeLog 2922 RMD160 38e82e33eb73b423c107d91b75c754c45521c3ec SHA1 c9f9a395c17d78d69deb28aa9bf54d854780c1de SHA256 ed7326b2ee10042c43edcef99595f4e9fa871ea06fb0eaa2601e5e9559ffe711 MISC metadata.xml 611 RMD160 e01ed53771ed7a3bc53cca9a23f9cb12bc6cb46b SHA1 155cd755570b59419bbd33f392737ca3892fdff1 SHA256 63af15cecf80147f168cfbb44ae508094eb3bfe2f6cae2f2031dc2c213153e6b diff --git a/dev-python/pyenchant/pyenchant-1.6.2.ebuild b/dev-python/pyenchant/pyenchant-1.6.2.ebuild index 4f5c44768582..24c37d8487b4 100644 --- a/dev-python/pyenchant/pyenchant-1.6.2.ebuild +++ b/dev-python/pyenchant/pyenchant-1.6.2.ebuild @@ -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 @@ SLOT="0" 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 @@ 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 +} |