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/pastescript: ChangeLog pastescript-1.7.3.ebuild
Date: Sun, 26 Apr 2009 09:53:32
Message-Id: E1Ly13B-0007f3-PJ@stork.gentoo.org
1 patrick 09/04/26 09:53:29
2
3 Modified: ChangeLog
4 Added: pastescript-1.7.3.ebuild
5 Log:
6 Bump to 1.7.3, dep for bug #260168
7 (Portage version: 2.2_rc31/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.6 dev-python/pastescript/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pastescript/ChangeLog?rev=1.6&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pastescript/ChangeLog?rev=1.6&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pastescript/ChangeLog?r1=1.5&r2=1.6
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/pastescript/ChangeLog,v
19 retrieving revision 1.5
20 retrieving revision 1.6
21 diff -u -r1.5 -r1.6
22 --- ChangeLog 13 May 2008 16:01:15 -0000 1.5
23 +++ ChangeLog 26 Apr 2009 09:53:29 -0000 1.6
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-python/pastescript
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pastescript/ChangeLog,v 1.5 2008/05/13 16:01:15 hawking Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pastescript/ChangeLog,v 1.6 2009/04/26 09:53:29 patrick Exp $
30 +
31 +*pastescript-1.7.3 (26 Apr 2009)
32 +
33 + 26 Apr 2009; Patrick Lauer <patrick@g.o> +pastescript-1.7.3.ebuild:
34 + Bump to 1.7.3, dep for bug #260168
35
36 13 May 2008; Ali Polatel <hawking@g.o> pastescript-1.6.2.ebuild:
37 USE=doc needs pygments. Thanks to Jack Lloyd, #221949.
38
39
40
41 1.1 dev-python/pastescript/pastescript-1.7.3.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pastescript/pastescript-1.7.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pastescript/pastescript-1.7.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pastescript-1.7.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/pastescript/pastescript-1.7.3.ebuild,v 1.1 2009/04/26 09:53:29 patrick Exp $
51
52 NEED_PYTHON=2.4
53
54 inherit distutils
55
56 KEYWORDS="~amd64 ~x86"
57
58 MY_PN=PasteScript
59 MY_P=${MY_PN}-${PV}
60
61 DESCRIPTION="A pluggable command-line frontend, including commands to setup package file layouts"
62 HOMEPAGE="http://pythonpaste.org/script/"
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 dev-python/pastedeploy
70 dev-python/cheetah"
71 DEPEND="${RDEPEND}
72 dev-python/setuptools
73 doc? ( dev-python/buildutils dev-python/pygments dev-python/pudge )
74 test? ( dev-python/nose )"
75
76 # The tests are currently broken, needs further investigation
77 RESTRICT=test
78
79 S="${WORKDIR}/${MY_P}"
80 PYTHON_MODNAME="paste/script"
81
82 src_compile() {
83 distutils_src_compile
84 if use doc ; then
85 einfo "Generating docs as requested..."
86 PYTHONPATH=. "${python}" setup.py pudge || die "generating docs failed"
87 fi
88 }
89
90 src_install() {
91 distutils_src_install
92 use doc && dohtml -r docs/html/*
93 }
94
95 src_test() {
96 # Tests can't import paste from site-packages
97 # so we copy them over.
98 # The files that will be installed are already copied to build/lib
99 # so this shouldn't generate any collisions.
100 distutils_python_version
101 cp -pPR /usr/$(get_libdir)/python${PYVER}/site-packages/paste/* paste/
102
103 PYTHONPATH=. "${python}" setup.py nosetests || die "tests failed"
104 }