summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2013-06-06 17:49:06 +0000
committerIan Delaney <idella4@gentoo.org>2013-06-06 17:49:06 +0000
commit4638f420ce4990efc8645ee925ec78a393a4a6a4 (patch)
tree7a5f2af706a4a6072915e81341c0ec8f63a68228 /dev-python/ipython
parentBug #471398: nofiles group should be GID 200. (diff)
downloadhistorical-4638f420ce4990efc8645ee925ec78a393a4a6a4.tar.gz
historical-4638f420ce4990efc8645ee925ec78a393a4a6a4.tar.bz2
historical-4638f420ce4990efc8645ee925ec78a393a4a6a4.zip
Fix to testsuite wrt and fixes Bug #472152
Package-Manager: portage-2.1.11.63/cvs/Linux x86_64 Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'dev-python/ipython')
-rw-r--r--dev-python/ipython/ChangeLog5
-rw-r--r--dev-python/ipython/Manifest10
-rw-r--r--dev-python/ipython/ipython-0.13.2.ebuild18
3 files changed, 20 insertions, 13 deletions
diff --git a/dev-python/ipython/ChangeLog b/dev-python/ipython/ChangeLog
index 5e818bb56dbf..9083eb68015f 100644
--- a/dev-python/ipython/ChangeLog
+++ b/dev-python/ipython/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/ipython
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ChangeLog,v 1.108 2013/05/10 11:52:34 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ChangeLog,v 1.109 2013/06/06 17:48:36 idella4 Exp $
+
+ 06 Jun 2013; Ian Delaney <idella4@gentoo.org> ipython-0.13.2.ebuild:
+ Fix to testsuite wrt and fixes Bug #472152
10 May 2013; Markus Meier <maekke@gentoo.org> ipython-0.13.1-r1.ebuild:
add ~arm, bug #452764
diff --git a/dev-python/ipython/Manifest b/dev-python/ipython/Manifest
index accb15b594eb..abf11b68d787 100644
--- a/dev-python/ipython/Manifest
+++ b/dev-python/ipython/Manifest
@@ -20,14 +20,14 @@ EBUILD ipython-0.12-r1.ebuild 3978 SHA256 14df5c4f519c7e5a8257302ef11c891462bd45
EBUILD ipython-0.12.1.ebuild 4016 SHA256 d4ad879fae3cf331374a5625b604a2101181db2072670c4512efb338eac80340 SHA512 eb33d0e6f3c8e6948b92227c68d975a5c2da572f23446c30ac74d5f53bd13ef1547e3d9b001526726578f798e79bb545e3ed304d3ccde33ce92bf68e0a887c39 WHIRLPOOL 35e791ff12b0697fb44f8d1625b880675f789aa75f622445385b98607d777798898356853ba1315aebefef7e42cfd426eac51c14a4c29cc3f827a2780ab086b0
EBUILD ipython-0.13.1-r1.ebuild 5599 SHA256 ffdbe769228c1461f6d301c4b31676935a69f9873eab16302e7921997b6a7ce8 SHA512 e6adb214848a976445099fbece901be969b995f12af08e03c5ad624dfe9d60add79dc8cfd549d09f791412e4fbdc96625e6c96bf03b282300970ce2d81679eac WHIRLPOOL eff97c61075a9b97b4289286eb32ec1e64966cf7c953b989fc17d8d881c446a4a97c69ef8a2dd11b9ed44ad2d630d20ece68ce64bf04a7c469ad7150bbf7b614
EBUILD ipython-0.13.1.ebuild 3682 SHA256 ac51d373dfe436d88329a42f23ddfc14ac829bf5f72bb22df7fc8f0af0477f40 SHA512 446ea2c55f57f4ba2d08f2de272ce2589d57736ac70228a47e283004d1700f673a893414863ae7452610a7326477d8c5cc934cfeeca571c2b47a9f7201338bec WHIRLPOOL 7885f8d7487fcc0685005e376ed5b58bce71db907841dad5b8033ec0b3a3627c4b2f4be16ff5621806e6d215bfd19747c424d0172bff6b380fc64a74bd9b370c
-EBUILD ipython-0.13.2.ebuild 5248 SHA256 b5371254bc2c10aeef94dc21b37872161f0ea80b7fc8122b9a0fc81cf46aa581 SHA512 da24a3350a1737d2d14cbda21a5809adcfa4e5d975cb425bfc1ee9b9a6861c33093508b9aeb0430009f72fcdc8a1c497cfef8c5bef9a778c0fffdbe10d15f58f WHIRLPOOL 2f2b50c9478c9ae14b89b3b3d796900579f3468c3147f164343ddfed158003ee9d1b3ae6cb87822bec80172310dace8563c9b6522043c4a6b5f76947886c455e
+EBUILD ipython-0.13.2.ebuild 5344 SHA256 f94977376cfe88ae49facb6e6da39214724b28c6e91665f7b906be1eba559ea4 SHA512 8389bbba3883873e36dab1e642dcf7f36e26a63d7f05a2f3a681ce2eff6e82f46a20aa30b03a1ec3a6cb5ba6b3e841350330f4ace16723b82eb582f2cec6ce07 WHIRLPOOL 089c8fc707155f06776bff610f8f5bbe7b628093dc089b859af8bf2246d0d2ca42327eb26f79cfbf965919fc38d87bbb573d2a4d1bb41967d992494f024e320c
EBUILD ipython-0.13.ebuild 3726 SHA256 b0d4b2dd175778ac38ea684d4080dc7232c1bd557f5390c7a5d1851ac90b40a9 SHA512 3cd5a69759a1b3690f4686ed8c755a5282030ff01841b6a62b2bef17c63419b45f4992370b6b0aa9ecf0c9ed18c541b10068ed267c289ee658b840289cc40c9b WHIRLPOOL e3f3b82d6866cf3a21039ed78f278fbd787746aea544c7b51ba0182eb5cb7a08528c46e1b7c9b4c262aa3c9c15abd9aab0d846d46ef81eef2bfc5e80f98654b7
-MISC ChangeLog 16199 SHA256 bf16854aa137a1d5d3c131e192b30dd50b146bd9cb589d212b18cfb3033226fd SHA512 b7bdc582fc63ce8f1055a574a2ca3a77b384a4fffd8d37da7115be58c224648a468518f08ef454748296c030e66523edf746b61a35003c3f1cbfa6506020ba39 WHIRLPOOL 13875ff204ee2e646210a889fc406716b9f6b8591b04488abd1ebadcf32719caa25770b331f8d0bfd30f081bddc46ebf29ffea6d9faef3aed744a95ebf72bdd9
+MISC ChangeLog 16317 SHA256 1359653dfe46b7c7d5184650f5483cf7f663ffef3220263c33f28f54c537eecb SHA512 3aaeb6a03639b2cd5dba8929db484abb79addfc1ce953c59db0b966821812fe351cec090a2577f61c50bc060340bb9e7f5d8ab3c791c8bf15136f847f9661d96 WHIRLPOOL bd4e4259d8ba1cb880658d495ac75d23c77c83550c5cf85fd5811435141e99a328525c6fa0e7048018b2f9734ef75aa1d963789ee8828013df42deb4ca55dabe
MISC metadata.xml 2641 SHA256 15153c7c170d5a31424157705ad535f6212baa8d13806645dd768c380b527082 SHA512 6720ef9a6dfd75015cb9a02be260be03633446eda9bf9aab899f5326f893303128878b7ea0fac9982933cf0259429ef4e3d422ba716586c823068bbd0a9554c0 WHIRLPOOL 3f24897567d32ea80cf881ee3f9bec2d659318ce0f861471fcbb2c3a059c923a6e035cb8c5c9e91fccc7703b26e2f362364b0196f5d89ab56ff5ff4634edfe1c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlGM4NAACgkQkKaRLQcq0GIsegCfT5VQTFcaah1D/2Awp7PBuh5v
-TfMAn0b3HzD56h44KnCAJcRWLWT9hIha
-=mh6H
+iEYEAREIAAYFAlGwy4EACgkQso7CE7gHKw34YACgiIYnpJ+hsJgArvCwo0p2mPHU
+YUsAnRRbxpaN/KTJLDh8NojsfLuiMQ5+
+=WJ7+
-----END PGP SIGNATURE-----
diff --git a/dev-python/ipython/ipython-0.13.2.ebuild b/dev-python/ipython/ipython-0.13.2.ebuild
index c8e888c96c55..d5c3ebf3e141 100644
--- a/dev-python/ipython/ipython-0.13.2.ebuild
+++ b/dev-python/ipython/ipython-0.13.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ipython-0.13.2.ebuild,v 1.2 2013/05/07 17:30:28 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ipython-0.13.2.ebuild,v 1.3 2013/06/06 17:48:36 idella4 Exp $
EAPI=5
@@ -48,6 +48,7 @@ REQUIRED_USE="mongodb? ( ${PY2_REQUSE} )
notebook? ( ${PY2_REQUSE} )
octave? ( ${PY2_REQUSE} )
wxwidgets? ( ${PY2_REQUSE} )"
+DISTUTILS_IN_SOURCE_BUILD=1
python_prepare_all() {
epatch "${FILESDIR}"/${PN}-0.12-globalpath.patch
@@ -88,6 +89,8 @@ python_prepare_all() {
setupbase.py || die
fi
+ # testsuite runs fine with in source
+
distutils-r1_python_prepare_all
}
@@ -106,8 +109,6 @@ python_test() {
# https://github.com/ipython/ipython/issues/2083
unset PYTHONWARNINGS
- distutils_install_for_testing
-
# ipython skips mongodb tests only if it's not running.
# since we want the widest test range, and don't want it to fiddle
# with user-running mongodb, we always run it if it's available.
@@ -115,6 +116,8 @@ python_test() {
local DB_IP=127.0.0.1
local DB_PORT=-1 # disable
+ pushd "${BUILD_DIR}"/../IPython/scripts/ > /dev/null
+
if has_version dev-db/mongodb; then
# please keep in sync with dev-python/pymongo
@@ -156,16 +159,17 @@ python_test() {
# No support for DB_IP and DB_PORT.
# https://github.com/ipython/ipython/pull/2910
sed -i -e "s:Connection(:&host='${DB_IP}', port=${DB_PORT}:" \
- "${TEST_DIR}"/lib/*/IPython/parallel/tests/test_mongodb.py \
+ "${BUILD_DIR}"/lib/IPython/parallel/tests/test_mongodb.py \
|| die "Unable to sed mongod port into tests"
- local fail
+
+ local fail
run_tests() {
# Initialize ~/.ipython directory.
- "${TEST_DIR}"/scripts/ipython </dev/null >/dev/null || fail=1
+ "${PYTHON}" ipython </dev/null >/dev/null || fail=1
# Run tests (-v for more verbosity).
- "${TEST_DIR}"/scripts/iptest -v || fail=1
+ PYTHONPATH=${PYTHONPATH}. "${PYTHON}" iptest -v || fail=1
}
VIRTUALX_COMMAND=run_tests virtualmake