diff options
author | Bryan Østergaard <kloeri@gentoo.org> | 2005-05-07 16:30:24 +0000 |
---|---|---|
committer | Bryan Østergaard <kloeri@gentoo.org> | 2005-05-07 16:30:24 +0000 |
commit | b3d0eeb3b292f5bdb7ec5e045c0540cdcf62f63e (patch) | |
tree | 68e39f777cb4ec3356cd67de7e6d1ed0533db7d9 /dev-lang/python | |
parent | remove net-dialup/freeradius:frlargefiles (diff) | |
download | historical-b3d0eeb3b292f5bdb7ec5e045c0540cdcf62f63e.tar.gz historical-b3d0eeb3b292f5bdb7ec5e045c0540cdcf62f63e.tar.bz2 historical-b3d0eeb3b292f5bdb7ec5e045c0540cdcf62f63e.zip |
Fix FEATURES=test using slightly modified patch by Rob Cakebread, bug 67970.
Package-Manager: portage-2.0.51.21-r1
Diffstat (limited to 'dev-lang/python')
-rw-r--r-- | dev-lang/python/ChangeLog | 6 | ||||
-rw-r--r-- | dev-lang/python/Manifest | 82 | ||||
-rw-r--r-- | dev-lang/python/python-2.3.5.ebuild | 31 | ||||
-rw-r--r-- | dev-lang/python/python-2.4.1.ebuild | 29 |
4 files changed, 109 insertions, 39 deletions
diff --git a/dev-lang/python/ChangeLog b/dev-lang/python/ChangeLog index 9135a0934d6a..5bd044a523c2 100644 --- a/dev-lang/python/ChangeLog +++ b/dev-lang/python/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-lang/python # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.141 2005/05/01 15:28:15 spb Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.142 2005/05/07 16:30:24 kloeri Exp $ + + 07 May 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5.ebuild, + python-2.4.1.ebuild: + Fix FEATURES=test using slightly modified patch by Rob Cakebread, bug 67970. 01 May 2005; Stephen Bennett <spb@gentoo.org> python-2.3.4-r1.ebuild, python-2.3.5.ebuild, python-2.4.1.ebuild: diff --git a/dev-lang/python/Manifest b/dev-lang/python/Manifest index 4d85f5e19410..2a2437497ee7 100644 --- a/dev-lang/python/Manifest +++ b/dev-lang/python/Manifest @@ -1,49 +1,59 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 1e424541a26b4d5785a6e830e6a14fe8 python-2.2.3-r6.ebuild 4498 +MD5 7f3667e4438f584ce1c60834a8d8c6d8 ChangeLog 24193 MD5 8145ce0144332d6caca98fa5fb648741 metadata.xml 221 MD5 b0dabb5b661c34b2054f5ae852c2fd45 python-2.1.3-r1.ebuild 2329 -MD5 11883082a4dbea2432a68330776944dd python-2.4-r3.ebuild 7102 -MD5 09e6b25fff88b0b13cb92e18963b6ac7 python-2.4.1.ebuild 7239 -MD5 1e424541a26b4d5785a6e830e6a14fe8 python-2.2.3-r6.ebuild 4498 -MD5 3d925a0d5812584957d2153e6e8e5992 ChangeLog 24013 +MD5 c2855c96958ce131b60abeb826387439 python-2.4.1.ebuild 7952 MD5 6bfece64d89a1688ed4736f94a5b966e python-2.3.4-r1.ebuild 7182 -MD5 2c92a40a207d21098e026f9f436bd768 python-2.3.5.ebuild 7735 -MD5 e8c8ffd37f007b6ee62180d31b2100fe files/python-2.3-xmlrpc.patch 4228 -MD5 a387f41bfc6767b90a51daaa0c0aac45 files/python-2.3.4-lib64.patch 11779 -MD5 7808762bbf53647c7cd597be4044e9f7 files/python-2.3-gentoo_py_dontcompile.patch 478 -MD5 55af7ba61954f03e09bcafbce1227c61 files/python-2.2.3-xmlrpc.patch 3659 -MD5 ec16631b538a7481f0537191d5f23b27 files/python-2.4-mimetypes_apache.patch 454 -MD5 96d4207fb41391c70d5f02e1785c9527 files/python-2.2.3-db4.patch 1220 -MD5 7a12ce3bbe0961cf1533fcf838e17fa9 files/python-2.4-db4.2.patch 1015 -MD5 46588eb4b2cfdd8277153e8e6f728eca files/python-2.3-add_portage_search_path.patch 607 -MD5 9fe31aedbbc7e8ea1847ed6dd70bf15b files/python-2.2.3-fPIC.patch 767 -MD5 201acd1cfd5124f25c58a8db3f78a502 files/python-config-2.3 178 +MD5 79152d78bd231a04f69f481035c088fd python-2.3.5.ebuild 8450 +MD5 11883082a4dbea2432a68330776944dd python-2.4-r3.ebuild 7102 MD5 47e9455f3e16c3369c9e57388ba3d643 files/python-2.4.1-readline.patch 8984 -MD5 e9cc1b9be363e6c3f8df75cdb2ea9621 files/python-2.3-readline.patch 9596 -MD5 1e4084c2a8ee240668d02e703e7c171f files/digest-python-2.4.1 66 -MD5 b530d6f9dbcf30239061be3de80932cc files/python-config-2.2.1 178 MD5 1cf4c21ad3b0aafc571b05b9a9e54594 files/python-updater 8761 -MD5 5bee9fa15d4effc7423e76d2f7f47655 files/python-2.4-add_portage_search_path.patch 556 MD5 7a12ce3bbe0961cf1533fcf838e17fa9 files/python-2.3-db4.2.patch 1015 -MD5 7ed8f8f52ed392ef28dd320b130e3c6b files/python-2.4-lib64.patch 9941 MD5 11aa066154fe2e0a4c306124c7e5dd4a files/python-2.2.2-tk-8.4.x.patch 2997 -MD5 1c5cd53cb89c821a549968bac31df0f1 files/depreorder.py 2235 -MD5 ec16631b538a7481f0537191d5f23b27 files/python-2.3-mimetypes_apache.patch 454 -MD5 2b953054102d344834597bc73b209e12 files/python-2.3.2-disable_modules_and_ssl.patch 1285 -MD5 fccf57b8c47164b676517e516898dc46 files/digest-python-2.4-r3 64 -MD5 6eab04aaa6abe2b795e4e5f4983bea38 files/python-2.4-readline.patch 9099 -MD5 e8c8ffd37f007b6ee62180d31b2100fe files/python-2.4-xmlrpc.patch 4228 -MD5 d74e7f0fd47f00e8b3fe7ca36b7eb629 files/python-config-2.4 179 +MD5 5f2361b3e770981b737a9ad3d2863931 files/python-2.2.1-r5-gentoo.diff 4152 +MD5 e9cc1b9be363e6c3f8df75cdb2ea9621 files/python-2.3-readline.patch 9596 MD5 b530d6f9dbcf30239061be3de80932cc files/python-config-2.2.2 178 -MD5 849ff6337b70ef28009c90021dfae0da files/digest-python-2.3.5 66 -MD5 7480e63a1ff3aff7eaf8718424add7f8 files/python-2.2.3-disable_modules_and_ssl.patch 1212 -MD5 2b953054102d344834597bc73b209e12 files/python-2.4-disable_modules_and_ssl.patch 1285 -MD5 c2e3a6ed5d700a7976f5b763cd935599 files/digest-python-2.3.4-r1 66 -MD5 3c77f8f9d55bbedacd9476a428088250 files/python-2.4-libdir.patch 8358 +MD5 ec16631b538a7481f0537191d5f23b27 files/python-2.3-mimetypes_apache.patch 454 MD5 b530d6f9dbcf30239061be3de80932cc files/python-config-2.2 178 +MD5 3c77f8f9d55bbedacd9476a428088250 files/python-2.4-libdir.patch 8358 +MD5 eaa33949f072a9787c453c37c1236108 files/python-2.4.1-db4.patch 1414 +MD5 96d4207fb41391c70d5f02e1785c9527 files/python-2.2.3-db4.patch 1220 +MD5 a387f41bfc6767b90a51daaa0c0aac45 files/python-2.3.4-lib64.patch 11779 +MD5 2b953054102d344834597bc73b209e12 files/python-2.4-disable_modules_and_ssl.patch 1285 +MD5 2121d3986faa4b6c2c3ed472f77f2a9d files/python-2.4-gentoo_py_dontcompile.patch 477 +MD5 849ff6337b70ef28009c90021dfae0da files/digest-python-2.3.5 66 MD5 f3f370c8d1382c1a7571cfc1cbb196d9 files/digest-python-2.1.3-r1 62 +MD5 7a12ce3bbe0961cf1533fcf838e17fa9 files/python-2.4-db4.2.patch 1015 +MD5 55af7ba61954f03e09bcafbce1227c61 files/python-2.2.3-xmlrpc.patch 3659 +MD5 e8c8ffd37f007b6ee62180d31b2100fe files/python-2.3-xmlrpc.patch 4228 +MD5 fccf57b8c47164b676517e516898dc46 files/digest-python-2.4-r3 64 +MD5 07398060a831f18193315973df204cbf files/python-2.2.3-gentoo_py_dontcompile.patch 732 +MD5 2b953054102d344834597bc73b209e12 files/python-2.3.2-disable_modules_and_ssl.patch 1285 +MD5 5bee9fa15d4effc7423e76d2f7f47655 files/python-2.4-add_portage_search_path.patch 556 MD5 f11f5d528c570ef739ea10806cebfa9f files/digest-python-2.2.3-r6 62 +MD5 7480e63a1ff3aff7eaf8718424add7f8 files/python-2.2.3-disable_modules_and_ssl.patch 1212 +MD5 9fe31aedbbc7e8ea1847ed6dd70bf15b files/python-2.2.3-fPIC.patch 767 MD5 4b9922f74b1076d82d1fdb653fa5769a files/python-2.3-add_portage_search_path_take_2.patch 614 -MD5 eaa33949f072a9787c453c37c1236108 files/python-2.4.1-db4.patch 1414 -MD5 07398060a831f18193315973df204cbf files/python-2.2.3-gentoo_py_dontcompile.patch 732 -MD5 2121d3986faa4b6c2c3ed472f77f2a9d files/python-2.4-gentoo_py_dontcompile.patch 477 -MD5 5f2361b3e770981b737a9ad3d2863931 files/python-2.2.1-r5-gentoo.diff 4152 +MD5 e8c8ffd37f007b6ee62180d31b2100fe files/python-2.4-xmlrpc.patch 4228 +MD5 b530d6f9dbcf30239061be3de80932cc files/python-config-2.2.1 178 +MD5 7ed8f8f52ed392ef28dd320b130e3c6b files/python-2.4-lib64.patch 9941 +MD5 1e4084c2a8ee240668d02e703e7c171f files/digest-python-2.4.1 66 +MD5 d74e7f0fd47f00e8b3fe7ca36b7eb629 files/python-config-2.4 179 +MD5 46588eb4b2cfdd8277153e8e6f728eca files/python-2.3-add_portage_search_path.patch 607 +MD5 ec16631b538a7481f0537191d5f23b27 files/python-2.4-mimetypes_apache.patch 454 +MD5 7808762bbf53647c7cd597be4044e9f7 files/python-2.3-gentoo_py_dontcompile.patch 478 +MD5 201acd1cfd5124f25c58a8db3f78a502 files/python-config-2.3 178 +MD5 1c5cd53cb89c821a549968bac31df0f1 files/depreorder.py 2235 MD5 30646e9931667060229fcf9685050ff4 files/python-2.4.1-libdir.patch 7910 +MD5 c2e3a6ed5d700a7976f5b763cd935599 files/digest-python-2.3.4-r1 66 +MD5 6eab04aaa6abe2b795e4e5f4983bea38 files/python-2.4-readline.patch 9099 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.1 (GNU/Linux) + +iD8DBQFCfO07Kf2g/qXtneoRAtZnAJ0VoM2G7xYPZnxSNHF2pZOlYrZ2IgCePUBd +spoZohfpzaqTodG8cej2jbI= +=6Wd4 +-----END PGP SIGNATURE----- diff --git a/dev-lang/python/python-2.3.5.ebuild b/dev-lang/python/python-2.3.5.ebuild index 8f59cc86ba94..163bcf826dcb 100644 --- a/dev-lang/python/python-2.3.5.ebuild +++ b/dev-lang/python/python-2.3.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.3.5.ebuild,v 1.10 2005/05/01 15:28:16 spb Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.3.5.ebuild,v 1.11 2005/05/07 16:30:24 kloeri Exp $ # NOTE about python-portage interactions : # - Do not add a pkg_setup() check for a certain version of portage @@ -233,3 +233,32 @@ pkg_postinst() { ewarn ebeep 5 } + +src_test() { + # PYTHON_DONTCOMPILE=1 breaks test_import + unset PYTHON_DONTCOMPILE + + #skip all tests that fail during emerge but pass without emerge: + #(See bug# 67970) + local skip_tests="sax subprocess tcl urllib urllib2" + + for test in ${skip_tests} ; do + mv ${S}/Lib/test/test_${test}.py ${T} + done + + make test || die "make test failed" + + for test in ${skip_tests} ; do + mv ${T}/test_${test}.py ${S}/Lib/test/test_${test}.py + done + + einfo "Portage skipped the following tests which aren't able to run from emerge:" + for test in ${skip_tests} ; do + einfo "test_${test}.py" + done + + einfo "If you'd like to run them, you may:" + einfo "cd /usr/lib/python${PYVER}/test" + einfo "and run the tests separately." +} + diff --git a/dev-lang/python/python-2.4.1.ebuild b/dev-lang/python/python-2.4.1.ebuild index 0c8436a299b2..6081b77bc045 100644 --- a/dev-lang/python/python-2.4.1.ebuild +++ b/dev-lang/python/python-2.4.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.4.1.ebuild,v 1.2 2005/05/01 15:28:16 spb Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.4.1.ebuild,v 1.3 2005/05/07 16:30:24 kloeri Exp $ # NOTE about python-portage interactions : # - Do not add a pkg_setup() check for a certain version of portage @@ -225,3 +225,30 @@ pkg_postinst() { ebeep 5 } +src_test() { + # PYTHON_DONTCOMPILE=1 breaks test_import + unset PYTHON_DONTCOMPILE + + #skip all tests that fail during emerge but pass without emerge: + #(See bug# 67970) + local skip_tests="sax subprocess tcl urllib urllib2" + + for test in ${skip_tests} ; do + mv ${S}/Lib/test/test_${test}.py ${T} + done + + make test || die "make test failed" + + for test in ${skip_tests} ; do + mv ${T}/test_${test}.py ${S}/Lib/test/test_${test}.py + done + + einfo "Portage skipped the following tests which aren't able to run from emerge:" + for test in ${skip_tests} ; do + einfo "test_${test}.py" + done + + einfo "If you'd like to run them, you may:" + einfo "cd /usr/lib/python${PYVER}/test" + einfo "and run the tests separately." +} |