Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/nevow: nevow-0.10.0.ebuild ChangeLog
Date: Mon, 30 Nov 2009 03:10:37
Message-Id: E1NEwem-0008PW-SB@stork.gentoo.org
1 arfrever 09/11/30 03:10:32
2
3 Modified: ChangeLog
4 Added: nevow-0.10.0.ebuild
5 Log:
6 Version bump. Set SUPPORT_PYTHON_ABIS.
7 (Portage version: 14920-svn/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.36 dev-python/nevow/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/nevow/ChangeLog?rev=1.36&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/nevow/ChangeLog?rev=1.36&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/nevow/ChangeLog?r1=1.35&r2=1.36
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/nevow/ChangeLog,v
19 retrieving revision 1.35
20 retrieving revision 1.36
21 diff -u -r1.35 -r1.36
22 --- ChangeLog 6 Oct 2009 17:27:31 -0000 1.35
23 +++ ChangeLog 30 Nov 2009 03:10:32 -0000 1.36
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-python/nevow
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/nevow/ChangeLog,v 1.35 2009/10/06 17:27:31 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/nevow/ChangeLog,v 1.36 2009/11/30 03:10:32 arfrever Exp $
29 +
30 +*nevow-0.10.0 (30 Nov 2009)
31 +
32 + 30 Nov 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
33 + +nevow-0.10.0.ebuild:
34 + Version bump. Set SUPPORT_PYTHON_ABIS.
35
36 06 Oct 2009; Raúl Porcel <armin76@g.o> nevow-0.9.33.ebuild:
37 sparc stable
38
39
40
41 1.1 dev-python/nevow/nevow-0.10.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/nevow/nevow-0.10.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/nevow/nevow-0.10.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: nevow-0.10.0.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/nevow/nevow-0.10.0.ebuild,v 1.1 2009/11/30 03:10:32 arfrever Exp $
51
52 EAPI="2"
53 SUPPORT_PYTHON_ABIS="1"
54
55 inherit distutils multilib twisted
56
57 MY_PN="Nevow"
58 MY_P="${MY_PN}-${PV}"
59
60 DESCRIPTION="A web templating framework that provides LivePage, an automatic AJAX toolkit."
61 HOMEPAGE="http://divmod.org/trac/wiki/DivmodNevow http://pypi.python.org/pypi/Nevow"
62 SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
63
64 LICENSE="MIT"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
67 IUSE="doc"
68
69 DEPEND=">=dev-python/twisted-2.5
70 >=dev-python/twisted-web-8.1.0
71 net-zope/zope-interface"
72 RDEPEND="${DEPEND}"
73 RESTRICT_PYTHON_ABIS="3.*"
74
75 S="${WORKDIR}/${MY_P}"
76
77 PYTHON_MODNAME="formless nevow"
78
79 src_test() {
80 testing() {
81 PYTHONPATH="build-${PYTHON_ABI}/lib" trial formless || die "formless trial failed with Python ${PYTHON_ABI}"
82 PYTHONPATH="build-${PYTHON_ABI}/lib" trial nevow || die "nevow trial failed with Python ${PYTHON_ABI}"
83 }
84 python_execute_function testing
85 }
86
87 src_install() {
88 distutils_src_install
89
90 doman doc/man/nevow-xmlgettext.1
91 if use doc; then
92 insinto /usr/share/doc/${PF}/
93 doins -r doc/{howto,html,old} examples
94 fi
95 rm -fr "${D}usr/doc"
96 }
97
98 update_nevow_plugin_cache() {
99 einfo "Updating nevow plugin cache..."
100 "$(PYTHON)" -c 'from twisted.plugin import IPlugin, getPlugIns;from nevow import plugins; list(getPlugIns(IPlugin, plugins))'
101 }
102
103 pkg_postrm() {
104 twisted_pkg_postrm
105 python_execute_function update_nevow_plugin_cache
106 }
107
108 pkg_postinst() {
109 twisted_pkg_postinst
110 python_execute_function update_nevow_plugin_cache
111 }