diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/reportlab/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/reportlab/files/2.1-test_no_network.patch | 14 | ||||
-rw-r--r-- | dev-python/reportlab/reportlab-1.20.ebuild | 10 | ||||
-rw-r--r-- | dev-python/reportlab/reportlab-2.0.ebuild | 10 | ||||
-rw-r--r-- | dev-python/reportlab/reportlab-2.1.ebuild | 3 |
5 files changed, 33 insertions, 12 deletions
diff --git a/dev-python/reportlab/ChangeLog b/dev-python/reportlab/ChangeLog index a5c95a9a7895..c2717150e3ea 100644 --- a/dev-python/reportlab/ChangeLog +++ b/dev-python/reportlab/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/reportlab # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/ChangeLog,v 1.46 2008/04/24 17:33:31 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/ChangeLog,v 1.47 2008/05/13 12:07:42 hawking Exp $ + + 13 May 2008; Ali Polatel <hawking@gentoo.org> + +files/2.1-test_no_network.patch, reportlab-1.20.ebuild, + reportlab-2.0.ebuild, reportlab-2.1.ebuild: + Added patch to remove a test that requires network access. Thanks to + Víctor Enríquez, #219927. Quoting. 24 Apr 2008; Markus Rothe <corsair@gentoo.org> reportlab-2.1.ebuild: Stable on ppc64; bug #217761 diff --git a/dev-python/reportlab/files/2.1-test_no_network.patch b/dev-python/reportlab/files/2.1-test_no_network.patch new file mode 100644 index 000000000000..d3b6548362ab --- /dev/null +++ b/dev-python/reportlab/files/2.1-test_no_network.patch @@ -0,0 +1,14 @@ +--- test/test_lib_utils.py 2008-05-13 14:57:23.350829336 +0300 ++++ test/test_lib_utils.py 2008-05-13 14:57:33.962839567 +0300 +@@ -95,11 +95,6 @@ + from reportlab.lib.utils import open_and_read + b = open_and_read('file:../docs/images/Edit_Prefs.gif') + +- def test9(self): +- "test open and read of an http: URL" +- from reportlab.lib.utils import open_and_read +- b = open_and_read('http://www.reportlab.com/rsrc/encryption.gif') +- + def test10(self): + "test open and read of a simple relative file" + from reportlab.lib.utils import open_and_read, getStringIO diff --git a/dev-python/reportlab/reportlab-1.20.ebuild b/dev-python/reportlab/reportlab-1.20.ebuild index ebb1ddde2183..bf40fd43492f 100644 --- a/dev-python/reportlab/reportlab-1.20.ebuild +++ b/dev-python/reportlab/reportlab-1.20.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/reportlab-1.20.ebuild,v 1.12 2006/06/27 22:53:14 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/reportlab-1.20.ebuild,v 1.13 2008/05/13 12:07:42 hawking Exp $ #goofy tarball versioning vmaj=${PV%%.*} @@ -25,9 +25,9 @@ KEYWORDS="alpha amd64 ~hppa ia64 ppc ppc64 sparc x86" src_unpack() { unpack ${A} || die - cd ${WORKDIR} + cd "${WORKDIR}" mv ${PN}_${vmaj}_${vmin}/${PN} . || die - cd ${S} + cd "${S}" } src_install() { @@ -35,7 +35,7 @@ src_install() { distutils_src_install # docs - cd ${S} + cd "${S}" dodoc README license.txt insinto /usr/share/doc/${PF} doins docs/* diff --git a/dev-python/reportlab/reportlab-2.0.ebuild b/dev-python/reportlab/reportlab-2.0.ebuild index e7e5ebf974d8..f79193f2cf39 100644 --- a/dev-python/reportlab/reportlab-2.0.ebuild +++ b/dev-python/reportlab/reportlab-2.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/reportlab-2.0.ebuild,v 1.7 2007/10/09 07:01:11 tgall Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/reportlab-2.0.ebuild,v 1.8 2008/05/13 12:07:42 hawking Exp $ #goofy tarball versioning vmaj=${PV%%.*} @@ -26,9 +26,9 @@ KEYWORDS="alpha ~amd64 hppa ia64 ppc ppc64 sparc x86" src_unpack() { unpack ${A} || die - cd ${WORKDIR} + cd "${WORKDIR}" mv ${PN}_${vmaj}_${vmin}/${PN} . || die - cd ${S} + cd "${S}" } src_install() { @@ -36,7 +36,7 @@ src_install() { distutils_src_install # docs - cd ${S} + cd "${S}" dodoc README license.txt insinto /usr/share/doc/${PF} doins docs/* diff --git a/dev-python/reportlab/reportlab-2.1.ebuild b/dev-python/reportlab/reportlab-2.1.ebuild index 40226ed05e32..8cf1de952b69 100644 --- a/dev-python/reportlab/reportlab-2.1.ebuild +++ b/dev-python/reportlab/reportlab-2.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/reportlab-2.1.ebuild,v 1.7 2008/04/24 17:33:31 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/reportlab-2.1.ebuild,v 1.8 2008/05/13 12:07:42 hawking Exp $ NEED_PYTHON=2.4 @@ -29,6 +29,7 @@ src_unpack() { epatch "${FILESDIR}/${PV}-tests_report_failure.patch" epatch "${FILESDIR}/${PV}-test_fix.patch" + epatch "${FILESDIR}/${PV}-test_no_network.patch" sed -i \ -e "/'docs/d" -e "/'test/d" \ |