diff options
author | Ian Delaney <idella4@gentoo.org> | 2014-07-05 06:28:29 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2014-07-05 06:28:29 +0000 |
commit | 947e7ded217d023fa65ae101c360ded930bb3803 (patch) | |
tree | b3f3787ebe468984aa750372f2051015feb4eff1 /dev-python/bpython | |
parent | Drop automagick dependency. #514284 (diff) | |
download | historical-947e7ded217d023fa65ae101c360ded930bb3803.tar.gz historical-947e7ded217d023fa65ae101c360ded930bb3803.tar.bz2 historical-947e7ded217d023fa65ae101c360ded930bb3803.zip |
update test phase
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'dev-python/bpython')
-rw-r--r-- | dev-python/bpython/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/bpython/Manifest | 11 | ||||
-rw-r--r-- | dev-python/bpython/bpython-0.13.ebuild | 10 | ||||
-rw-r--r-- | dev-python/bpython/files/bpython-0.13-test_repl.patch | 34 |
4 files changed, 49 insertions, 12 deletions
diff --git a/dev-python/bpython/ChangeLog b/dev-python/bpython/ChangeLog index 891b16791fe8..67c616ec0082 100644 --- a/dev-python/bpython/ChangeLog +++ b/dev-python/bpython/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/bpython # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/ChangeLog,v 1.39 2014/07/04 15:55:26 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/ChangeLog,v 1.40 2014/07/05 06:28:05 idella4 Exp $ + + 05 Jul 2014; Ian Delaney <idella4@gentoo.org> + +files/bpython-0.13-test_repl.patch, bpython-0.13.ebuild: + update test phase 04 Jul 2014; Ian Delaney <idella4@gentoo.org> bpython-0.13.ebuild: tidy diff --git a/dev-python/bpython/Manifest b/dev-python/bpython/Manifest index fe75c3065994..81e8ed1315a4 100644 --- a/dev-python/bpython/Manifest +++ b/dev-python/bpython/Manifest @@ -1,17 +1,18 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 +AUX bpython-0.13-test_repl.patch 1237 SHA256 ec5bcb2d2ba551605714d89b8a2b2b00d33e5325367814f20b3816e612297ed3 SHA512 d7da4066bca54a0cd908235269acfc343a28a2f85599928980be4cab911eaef7efa88d555f1b46495db248714e40f14eb84f00c0de15aa8cc2ded2f8315a682b WHIRLPOOL b9c22a1faeaf36dbb164bbda5e7774deec7ce85be2b472131f93a9a9039058127c277dad0201dcafe6bb960695607b9c3f6eec218c4718c6389f197323a6f33e AUX bpython-desktop.patch 374 SHA256 ce2a6de9b55f40a5dd0cf8177d405af740f58272a4b3cdd5c1ce70164e3ab991 SHA512 41e6e74bc1edb4631d4926588aa361234560b95d63d07c4d7005ea1577a6d324f49ae9dcd0ede2ecaec9532a3e48075040c53deeeaf9e1a97ab7749fedecc0bb WHIRLPOOL 66e8e114cd4ae9fd94f474deb29a380497103049876049f7fe64c9a1aea95307828ebb8732fd82980d0021954e83f1c66793f1c19a23b3023af285539c7657ea DIST bpython-0.12.tar.gz 130968 SHA256 74a9074c5d5448e09ea9efe6b5305a4f580617d73c38f21eab5fe983312a8ec6 SHA512 001deb068dbc31e592b1c9c524cfbb5061cc9f1abb30d7597472920032285d20632f4ca75a10d4444be947413f9d2d65f476b64a66717956bca7d52b6b7ce948 WHIRLPOOL 15c7b6821af6893a88f91bc25b624af99423324a29bfc97eae5861a83e722cb1e3da478ef1838bb650e836e2b3e51dc90a5cca130bd95e64c3e0d8799af082b2 DIST bpython-0.13.tar.gz 153843 SHA256 151cadfa376341c04728c9f1cf54c28528ffa2f9f7e420bcdf517169eb55260a SHA512 72eaa6a5fc9275381e64a96d7bdc72faff5b1bfbe598ee3a7afbd0a149d94084e4d70329b479d8581a3b110cc8031276be0a3bf64a92a4cdf1cde4b8dd606268 WHIRLPOOL 82b920100084443a57d400b8791155cfe01978c62ee5556379e1fd563c2094adeb24473da0eb282ae0b20666d9ca7760a8fa97bb4d4b94f1be646f22a24ccb3b EBUILD bpython-0.12.ebuild 1513 SHA256 decdc8795bdf2313787d31cd13602a1719375cd36f18ec016cf6a8bb058898a8 SHA512 db8481456253fc22839babb8923443b827563d62cfe3efa6592824ddc48f93d08c264dfafcae4a4788ad3a262943841f004b345f210c0f6845b0719d9a520dd9 WHIRLPOOL 34d509997e37c894a87ab88f6c98027bcea2c2130f6a7623c006a1100df8804de90ded673629f16e8fd12fe03c0955c7d2306c32097cbeb4e87f0392a5a3f7a3 -EBUILD bpython-0.13.ebuild 2026 SHA256 b2cb1bdd21717a9239da055b5709600c84234ebc6c9156a5da085153b5cdc1ae SHA512 9853c89130fbcd72dfe88400c53390cef0a80a18d936bcd461c4afe53326b3d73dccc6ed33b53dc1452d90fd464a4389afdd791cdb3e1c52bd9b71d648810b5a WHIRLPOOL 9e056fd908c6233ddc2d62e301fbba0099e66f8e3f66f4756a81c514b5148d0b214f26ea3574a279cc8638e8c568b8719f7ac1ac4622475bce2b6f92798147a7 -MISC ChangeLog 5490 SHA256 fc3e65045c8a0e6820879f418462a143cc999d522661805c4342f67339eadc48 SHA512 e4c72e34c0443d3ddc4a3513d87205931cd123bbb273defa8e53650b5854b3ed1d6b32bbbb04c2a86fc8d33d59b8583d616c2fa6dbfd5598bffea4ae2bf66372 WHIRLPOOL c62bd6e67959b3e698c6b65af3b58f883d05b71dd7a8b2de3a3aa422287743d136dffe3a47b1695e4aca2c908e1f4c45053a48629863d5c7320bd63ef0237aa4 +EBUILD bpython-0.13.ebuild 1947 SHA256 0522790af06b4102d72e05e87927d3cfd11c9fdb452db9c80701173a7be53279 SHA512 9521e1a12d5bfe738bd0847a833321523b3c1cbf0f95b00626575bd673629516bd1e6cbc5123dfd047541824812014460403a72195c0f6c2014c6545594de779 WHIRLPOOL a12ec8b2c19a94fb1530037df0bfdd2c39b36f88e3611b540971458926ec63d27a9741fb084bb912b7db46ebddd866375c61f1147dc7b516f915964204f057a4 +MISC ChangeLog 5619 SHA256 3e441640803a76117fc0d387ddfa761743a632d5b719876d3b442e4ac0ac05d5 SHA512 29f44b8bab473633a10769980033c5033c6e5c95d9811598bdac8d08d84556b9d629cde0818291ccb59c56148b2660f763613e57baf6f363f06c843dbf5531b0 WHIRLPOOL b23946603c09365a2f00fcc4c07c3c645273cd67dddc1d12fd4d06b2b288e6ebb31532746eefa8c7aba79ff3fcda84176f62464caeea5c885f1e998a081d8836 MISC metadata.xml 449 SHA256 4b992d5cc49195e1023670ae41e3a9092a655e92aa80fe718aa4a8af6b9d76ec SHA512 618449ef58c211c7142b783c07ac5bb7b480c854314a1190e8969f3836129e83bbb2e664b84c7a1aea688466527d01f3e77cf278f299118e5c2977866ace8cfe WHIRLPOOL 15f384f63a48ffdfa1caea0388e225eedbb0b81e821e83e4aea07d69be62ff1bc1905182e673f7f7606a13856f57b8c35bf0f081169eeff5ecfa082b30987d18 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iEYEAREIAAYFAlO2zHsACgkQso7CE7gHKw3gXQCfbCqQO1JjWph8RXZ7iyVNCF3S -/uQAnRU8Xcy0xYtE4jJgi/qJYJdAW7wI -=tKNQ +iEYEAREIAAYFAlO3mP8ACgkQso7CE7gHKw3ueQCfW9/IeMHJGnffWLYYVOJoRMHu +U30Anj4kchuIThcrTG0/g/o7rokUwsIN +=OnYv -----END PGP SIGNATURE----- diff --git a/dev-python/bpython/bpython-0.13.ebuild b/dev-python/bpython/bpython-0.13.ebuild index 1878081457bd..8a3080d924b6 100644 --- a/dev-python/bpython/bpython-0.13.ebuild +++ b/dev-python/bpython/bpython-0.13.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/bpython-0.13.ebuild,v 1.2 2014/07/04 15:55:26 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/bpython-0.13.ebuild,v 1.3 2014/07/05 06:28:04 idella4 Exp $ EAPI=5 PYTHON_COMPAT=( python{2_7,3_3} ) @@ -28,7 +28,8 @@ DEPEND="${RDEPEND} DOCS=( AUTHORS CHANGELOG TODO sample-config sample.theme light.theme ) -PATCHES=( "${FILESDIR}"/${PN}-desktop.patch ) +PATCHES=( "${FILESDIR}"/${PN}-desktop.patch + "${FILESDIR}"/${P}-test_repl.patch ) # Req'd for clean build by each impl DISTUTILS_IN_SOURCE_BUILD=1 @@ -53,10 +54,7 @@ python_test() { pushd build/lib > /dev/null # https://bitbucket.org/bobf/bpython/issue/289/test-failures-in-latest-release-py27-py33 sed -e s':test_enter:_&:' -i bpython/test/test_repl.py || die - if python_is_python3; then - sed -e s':test_fuzzy_global_complete:_&:' \ - -i bpython/test/test_repl.py || die - fi + "${PYTHON}" -m unittest discover || popd > /dev/null } diff --git a/dev-python/bpython/files/bpython-0.13-test_repl.patch b/dev-python/bpython/files/bpython-0.13-test_repl.patch new file mode 100644 index 000000000000..b71cfbea3440 --- /dev/null +++ b/dev-python/bpython/files/bpython-0.13-test_repl.patch @@ -0,0 +1,34 @@ +https://bitbucket.org/thomasballinger/bpython-for-clean-patch/commits/94c4664c1303 +# HG changeset patch +# User Thomas Ballinger <thomasballinger@gmail.com> +# Date 1404088731 14400 +# Branch 0.13-bugfix +# Node ID 94c4664c130303b1ae53629d6ebcff04f5d5d7ae +# Parent 106c49981f5e2db325d543d24c063f9c38013023 +simplest possible fix for test that changes in py3.3 + +diff --git a/bpython/test/test_repl.py b/bpython/test/test_repl.py +--- a/bpython/test/test_repl.py ++++ b/bpython/test/test_repl.py +@@ -1,4 +1,5 @@ + import os ++import sys + import unittest + from itertools import islice + from mock import Mock +@@ -280,8 +281,12 @@ + + self.assertTrue(self.repl.complete()) + self.assertTrue(hasattr(self.repl.completer,'matches')) +- self.assertEqual(self.repl.completer.matches, +- ['UnboundLocalError(', '__doc__']) ++ if sys.version_info[0] == 3 and sys.version_info[1] >= 3: ++ self.assertEqual(self.repl.completer.matches, ++ ['ChildProcessError(', 'UnboundLocalError(', '__doc__']) ++ else: ++ self.assertEqual(self.repl.completer.matches, ++ ['UnboundLocalError(', '__doc__']) + + # 2. Attribute tests + def test_simple_attribute_complete(self): + |