summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-04 20:13:05 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-04 20:13:05 +0000
commitd4820740200c59bb20b406575afa826f073f3ef8 (patch)
treed6dc6b61c17518b30f895f1b4ac36e9fb9fa1e33 /dev-python/reportlab
parentBump to Snow Lepard versions, drop installation of 'su', as it isn't of much ... (diff)
downloadhistorical-d4820740200c59bb20b406575afa826f073f3ef8.tar.gz
historical-d4820740200c59bb20b406575afa826f073f3ef8.tar.bz2
historical-d4820740200c59bb20b406575afa826f073f3ef8.zip
Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-14182-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python/reportlab')
-rw-r--r--dev-python/reportlab/ChangeLog6
-rw-r--r--dev-python/reportlab/Manifest4
-rw-r--r--dev-python/reportlab/reportlab-2.3.ebuild31
3 files changed, 24 insertions, 17 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/Manifest b/dev-python/reportlab/Manifest
index 63edf7891f3a..c7b128725add 100644
--- a/dev-python/reportlab/Manifest
+++ b/dev-python/reportlab/Manifest
@@ -5,6 +5,6 @@ AUX reportlab-2.2_qa_msg.patch 736 RMD160 3ee7043a9c5f999b097e4800c5fcda57d732e4
DIST ReportLab_2_1.tgz 3303983 RMD160 3aa6c7683f9d291c82cd3e8b1c545bbe9c522e37 SHA1 67c6fba57b6372987dd3280be257a1f6bb7fff80 SHA256 8fb088c79975bb20815f495fb91cd02b2942e255dd3f95223a807b51ff720c1e
DIST ReportLab_2_3.tar.gz 1857239 RMD160 ebb347765d516e74b965ec89c7909ec7592e3f54 SHA1 cb5e27fef02eceaab79236d5a074cdfb92bff179 SHA256 b63872c4b29063f0e0c2fe56223585175f03c7a6991e2a8bc9a221ae5ee2c092
EBUILD reportlab-2.1.ebuild 1951 RMD160 257f6ad3dbdf180f2e52d3b64c5679c5b55ff420 SHA1 815569df48e0f8c1a75db67849b4f0f116776f50 SHA256 35b48465600839c6d66bb5b7e1e21a3e84898c48f2a0b4477603bf62975a5768
-EBUILD reportlab-2.3.ebuild 1485 RMD160 920cb12a2181d0f6cb69fd49c38a4edff1f49156 SHA1 b78938ddd840d4b7644b58870aed1addb3706cf5 SHA256 fb164df9c41317e84be0d4f4be7af63a3ccf5a411ed7301089c912de593874d9
-MISC ChangeLog 7467 RMD160 9645c0a101fb4e7de79a60b98fd71ceee18f8d3c SHA1 a292a034954a0b1822529b84a1952daf9427602d SHA256 46936094d7949bb51a671605b16efdd15de783e59cf042eaf0c659cd42a2e850
+EBUILD reportlab-2.3.ebuild 1552 RMD160 8c0717fdae779c06e15eab2ac893da38bd7c8771 SHA1 debc819b0c8a8b5fcd2894805943b87fe9de10df SHA256 cbbbbb6a208694589842075a7fe5819151bffd83ec318e16765f5bf94b7b2ac4
+MISC ChangeLog 7593 RMD160 59875106944f3dfae155302935162d6467d36065 SHA1 623f6b935ff6b2c150a22da24b1efa1e4129bdaa SHA256 2e4f9d13d45c0b63871622a370f20b6346f9b35a792fc71a6fa13696011c53f4
MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
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"
-}