Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pastedeploy: pastedeploy-1.3.3.ebuild ChangeLog
Date: Sun, 26 Apr 2009 09:36:29
Message-Id: E1Ly0mc-00071c-1W@stork.gentoo.org
1 patrick 09/04/26 09:36:22
2
3 Modified: ChangeLog
4 Added: pastedeploy-1.3.3.ebuild
5 Log:
6 Bump to 1.3.3, dep for bug #260168
7 (Portage version: 2.2_rc31/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.5 dev-python/pastedeploy/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pastedeploy/ChangeLog?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pastedeploy/ChangeLog?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pastedeploy/ChangeLog?r1=1.4&r2=1.5
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/pastedeploy/ChangeLog,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- ChangeLog 13 May 2008 11:45:44 -0000 1.4
23 +++ ChangeLog 26 Apr 2009 09:36:21 -0000 1.5
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-python/pastedeploy
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pastedeploy/ChangeLog,v 1.4 2008/05/13 11:45:44 hawking Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pastedeploy/ChangeLog,v 1.5 2009/04/26 09:36:21 patrick Exp $
30 +
31 +*pastedeploy-1.3.3 (26 Apr 2009)
32 +
33 + 26 Apr 2009; Patrick Lauer <patrick@g.o> +pastedeploy-1.3.3.ebuild:
34 + Bump to 1.3.3, dep for bug #260168
35
36 13 May 2008; Ali Polatel <hawking@g.o> pastedeploy-1.3.1.ebuild:
37 Added pygments to DEPEND when doc USE is set, thanks to Jan-Matthias
38
39
40
41 1.1 dev-python/pastedeploy/pastedeploy-1.3.3.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pastedeploy/pastedeploy-1.3.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pastedeploy/pastedeploy-1.3.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pastedeploy-1.3.3.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/pastedeploy/pastedeploy-1.3.3.ebuild,v 1.1 2009/04/26 09:36:21 patrick Exp $
51
52 NEED_PYTHON=2.4
53
54 inherit eutils distutils multilib
55
56 KEYWORDS="~amd64 ~x86"
57
58 MY_PN=PasteDeploy
59 MY_P=${MY_PN}-${PV}
60
61 DESCRIPTION="Load, configure, and compose WSGI applications and servers"
62 HOMEPAGE="http://pythonpaste.org/deploy/"
63 SRC_URI="http://cheeseshop.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
64 LICENSE="MIT"
65 SLOT="0"
66 IUSE="doc test"
67
68 RDEPEND="dev-python/paste"
69 DEPEND="${RDEPEND}
70 dev-python/setuptools
71 doc? ( dev-python/buildutils dev-python/pygments dev-python/pudge )
72 test? ( dev-python/nose dev-python/py )"
73
74 S=${WORKDIR}/${MY_P}
75
76 PYTHON_MODNAME="paste/deploy"
77 RESTRICT="test"
78
79 src_compile() {
80 distutils_src_compile
81 if use doc ; then
82 einfo "Generating docs as requested..."
83 PYTHONPATH=. "${python}" setup.py pudge || die "generating docs failed"
84 fi
85 }
86
87 src_install() {
88 distutils_src_install
89 use doc && dohtml -r docs/html/*
90 }
91
92 src_test() {
93 distutils_python_version
94
95 # Tests can't import paste from site-packages
96 # So we copy pastedeploy and paste under T.
97 # FIXME This doesn't work. Couldn't figure out why -hawking.
98 cp -pPR build/lib/paste "${T}" || die "couldn't copy pastedeploy."
99 cp -pPR /usr/$(get_libdir)/python${PYVER}/site-packages/paste/* \
100 "${T}"/paste/ || die "couldn't copy paste."
101
102 PYTHONPATH="${T}" "${python}" setup.py nosetests || die "tests failed"
103 }