diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-04 20:13:05 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-04 20:13:05 +0000 |
commit | 3d633b81391681d6981d5dd1e5203fda179faecd (patch) | |
tree | 1661bd4d064a5be26aef108108a42b22e643b461 /dev-python/reportlab | |
parent | Bump to Snow Lepard versions, drop installation of 'su', as it isn't of much ... (diff) | |
download | gentoo-2-3d633b81391681d6981d5dd1e5203fda179faecd.tar.gz gentoo-2-3d633b81391681d6981d5dd1e5203fda179faecd.tar.bz2 gentoo-2-3d633b81391681d6981d5dd1e5203fda179faecd.zip |
Set SUPPORT_PYTHON_ABIS.
(Portage version: 14182-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/reportlab')
-rw-r--r-- | dev-python/reportlab/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/reportlab/reportlab-2.3.ebuild | 31 |
2 files changed, 22 insertions, 15 deletions
diff --git a/dev-python/reportlab/ChangeLog b/dev-python/reportlab/ChangeLog index aa1add18b624..842b43dd4012 100644 --- a/dev-python/reportlab/ChangeLog +++ b/dev-python/reportlab/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/reportlab # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/ChangeLog,v 1.52 2009/09/04 17:46:53 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/ChangeLog,v 1.53 2009/09/04 20:13:05 arfrever Exp $ + + 04 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + reportlab-2.3.ebuild: + Set SUPPORT_PYTHON_ABIS. 04 Sep 2009; Patrick Lauer <patrick@gentoo.org> -reportlab-1.20.ebuild, -reportlab-2.2.ebuild: diff --git a/dev-python/reportlab/reportlab-2.3.ebuild b/dev-python/reportlab/reportlab-2.3.ebuild index fdf67f1ab77c..225294b948ac 100644 --- a/dev-python/reportlab/reportlab-2.3.ebuild +++ b/dev-python/reportlab/reportlab-2.3.ebuild @@ -1,8 +1,10 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/reportlab-2.3.ebuild,v 1.1 2009/02/15 15:08:54 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/reportlab-2.3.ebuild,v 1.2 2009/09/04 20:13:05 arfrever Exp $ -NEED_PYTHON=2.4 +EAPI="2" +NEED_PYTHON="2.4" +SUPPORT_PYTHON_ABIS="1" inherit distutils versionator @@ -21,37 +23,38 @@ DEPEND="sys-libs/zlib dev-python/imaging media-fonts/ttf-bitstream-vera" RDEPEND="${DEPEND}" +RESTRICT_PYTHON_ABIS="3.*" S=${WORKDIR}/${MY_PN}_${MY_PV} -src_unpack() { - unpack ${A} - cd "${S}" - +src_prepare() { sed -i \ -e 's|/usr/lib/X11/fonts/TrueType/|/usr/share/fonts/ttf-bitstream-vera/|' \ -e 's|/usr/local/Acrobat|/opt/Acrobat|g' \ -e 's|%(HOME)s/fonts|%(HOME)s/.fonts|g' \ src/reportlab/rl_config.py || die "sed failed" - epatch "${FILESDIR}"/${PN}-2.2_qa_msg.patch + epatch "${FILESDIR}/${PN}-2.2_qa_msg.patch" +} + +src_test() { + einfo "Tests could take some time. Please be patient." + testing() { + "$(PYTHON)" setup.py tests-preinstall + } + python_execute_function testing } src_install() { distutils_src_install - if use doc ; then + if use doc; then insinto /usr/share/doc/${PF} doins -r docs/* fi - if use examples ; then + if use examples; then insinto /usr/share/doc/${PF} doins -r demos insinto /usr/share/doc/${PF}/tools/pythonpoint doins -r tools/pythonpoint/demos fi } - -src_test() { - einfo "Tests could take some time. Please be patient." - ${python} setup.py tests-preinstall || die "tests failed" -} |