Gentoo Archives: gentoo-commits

From: "Ali Polatel (hawking)" <hawking@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pastescript: ChangeLog pastescript-1.6.2.ebuild pastescript-1.1.ebuild
Date: Fri, 18 Apr 2008 13:19:10
Message-Id: E1JmqUd-0006DP-SC@stork.gentoo.org
1 hawking 08/04/18 13:19:07
2
3 Modified: ChangeLog
4 Added: pastescript-1.6.2.ebuild
5 Removed: pastescript-1.1.ebuild
6 Log:
7 Version bump. Dropped old.
8 (Portage version: 2.1.5_rc4)
9
10 Revision Changes Path
11 1.4 dev-python/pastescript/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pastescript/ChangeLog?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pastescript/ChangeLog?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pastescript/ChangeLog?r1=1.3&r2=1.4
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pastescript/ChangeLog,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- ChangeLog 4 Jul 2007 20:55:13 -0000 1.3
24 +++ ChangeLog 18 Apr 2008 13:19:07 -0000 1.4
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/pastescript
27 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pastescript/ChangeLog,v 1.3 2007/07/04 20:55:13 lucass Exp $
29 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pastescript/ChangeLog,v 1.4 2008/04/18 13:19:07 hawking Exp $
31 +
32 +*pastescript-1.6.2 (18 Apr 2008)
33 +
34 + 18 Apr 2008; Ali Polatel <hawking@g.o> -pastescript-1.1.ebuild,
35 + +pastescript-1.6.2.ebuild:
36 + Version bump. Dropped old.
37
38 04 Jul 2007; Lukasz Strzygowski <lucass@g.o>
39 pastescript-1.1.ebuild:
40
41
42
43 1.1 dev-python/pastescript/pastescript-1.6.2.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pastescript/pastescript-1.6.2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pastescript/pastescript-1.6.2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: pastescript-1.6.2.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-python/pastescript/pastescript-1.6.2.ebuild,v 1.1 2008/04/18 13:19:07 hawking Exp $
53
54 NEED_PYTHON=2.4
55
56 inherit distutils
57
58 KEYWORDS="~amd64 ~x86"
59
60 MY_PN=PasteScript
61 MY_P=${MY_PN}-${PV}
62
63 DESCRIPTION="A pluggable command-line frontend, including commands to setup package file layouts"
64 HOMEPAGE="http://pythonpaste.org/script/"
65 SRC_URI="http://cheeseshop.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
66 LICENSE="MIT"
67 SLOT="0"
68 IUSE="doc test"
69
70 RDEPEND="dev-python/paste
71 dev-python/pastedeploy
72 dev-python/cheetah"
73 DEPEND="${RDEPEND}
74 dev-python/setuptools
75 doc? ( dev-python/pudge dev-python/buildutils )
76 test? ( dev-python/nose )"
77
78 # The tests are currently broken, needs further investigation
79 RESTRICT=test
80
81 S="${WORKDIR}/${MY_P}"
82 PYTHON_MODNAME="paste/script"
83
84 src_compile() {
85 distutils_src_compile
86 if use doc ; then
87 einfo "Generating docs as requested..."
88 PYTHONPATH=. "${python}" setup.py pudge || die "generating docs failed"
89 fi
90 }
91
92 src_install() {
93 distutils_src_install
94 use doc && dohtml -r docs/html/*
95 }
96
97 src_test() {
98 # Tests can't import paste from site-packages
99 # so we copy them over.
100 # The files that will be installed are already copied to build/lib
101 # so this shouldn't generate any collisions.
102 distutils_python_version
103 cp -pPR /usr/$(get_libdir)/python${PYVER}/site-packages/paste/* paste/
104
105 PYTHONPATH=. "${python}" setup.py nosetests || die "tests failed"
106 }
107
108
109
110 --
111 gentoo-commits@l.g.o mailing list