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/mantissa: ChangeLog mantissa-0.7.0.ebuild
Date: Mon, 30 Nov 2009 14:27:26
Message-Id: E1NF7Dm-0007zC-Uw@stork.gentoo.org
1 arfrever 09/11/30 14:27:22
2
3 Modified: ChangeLog
4 Added: mantissa-0.7.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.14 dev-python/mantissa/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/mantissa/ChangeLog?rev=1.14&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/mantissa/ChangeLog?rev=1.14&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/mantissa/ChangeLog?r1=1.13&r2=1.14
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/mantissa/ChangeLog,v
19 retrieving revision 1.13
20 retrieving revision 1.14
21 diff -u -r1.13 -r1.14
22 --- ChangeLog 1 Jun 2009 14:47:52 -0000 1.13
23 +++ ChangeLog 30 Nov 2009 14:27:22 -0000 1.14
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-python/mantissa
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mantissa/ChangeLog,v 1.13 2009/06/01 14:47:52 patrick Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/mantissa/ChangeLog,v 1.14 2009/11/30 14:27:22 arfrever Exp $
29 +
30 +*mantissa-0.7.0 (30 Nov 2009)
31 +
32 + 30 Nov 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
33 + +mantissa-0.7.0.ebuild:
34 + Version bump. Set SUPPORT_PYTHON_ABIS.
35
36 01 Jun 2009; Patrick Lauer <patrick@g.o> mantissa-0.6.21.ebuild:
37 EAPI goes to the top
38
39
40
41 1.1 dev-python/mantissa/mantissa-0.7.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/mantissa/mantissa-0.7.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/mantissa/mantissa-0.7.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: mantissa-0.7.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/mantissa/mantissa-0.7.0.ebuild,v 1.1 2009/11/30 14:27:22 arfrever Exp $
51
52 EAPI="2"
53 SUPPORT_PYTHON_ABIS="1"
54
55 # setup.py uses epsilon.setuphelper.autosetup(), which tries to use
56 # build-${PYTHON_ABI} directories as packages.
57 DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
58
59 inherit distutils twisted
60
61 MY_PN="Mantissa"
62 MY_P="${MY_PN}-${PV}"
63
64 DESCRIPTION="An extensible, multi-protocol, multi-user, interactive application server"
65 HOMEPAGE="http://divmod.org/trac/wiki/DivmodMantissa http://pypi.python.org/pypi/Mantissa"
66 SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
67
68 LICENSE="MIT"
69 SLOT="0"
70 KEYWORDS="~amd64 ~x86"
71 IUSE=""
72
73 DEPEND=">=dev-python/axiom-0.5.7
74 >=dev-python/cssutils-0.9.5.1
75 >=dev-python/imaging-1.1.6
76 >=dev-python/nevow-0.9.5
77 >=dev-python/pytz-2005m
78 >=dev-python/twisted-8.0.1
79 dev-python/twisted-mail
80 >=dev-python/vertex-0.2.0"
81 RDEPEND="${DEPEND}"
82 RESTRICT_PYTHON_ABIS="3.*"
83
84 S="${WORKDIR}/${MY_P}"
85
86 DOCS="NAME.txt NEWS.txt"
87 PYTHON_MODNAME="axiom nevow xmantissa"
88
89 src_compile() {
90 # Skip distutils_src_compile to avoid installation of $(python_get_sitedir)/build directory.
91 :
92 }
93
94 src_test() {
95 testing() {
96 PYTHONPATH="." trial xmantissa
97 }
98 python_execute_function testing
99 }
100
101 src_install() {
102 PORTAGE_PLUGINCACHE_NOOP="1" distutils_src_install
103 }
104
105 update_axiom_plugin_cache() {
106 einfo "Updating axiom plugin cache..."
107 "$(PYTHON)" -c 'from twisted.plugin import IPlugin, getPlugIns;from axiom import plugins; list(getPlugIns(IPlugin, plugins))'
108 }
109
110 update_mantissa_plugin_cache() {
111 einfo "Updating mantissa plugin cache..."
112 "$(PYTHON)" -c 'from twisted.plugin import IPlugin, getPlugIns;from xmantissa import plugins; list(getPlugIns(IPlugin, plugins))'
113 }
114
115 update_nevow_plugin_cache() {
116 einfo "Updating nevow plugin cache..."
117 "$(PYTHON)" -c 'from twisted.plugin import IPlugin, getPlugIns;from nevow import plugins; list(getPlugIns(IPlugin, plugins))'
118 }
119
120 pkg_postinst() {
121 twisted_pkg_postinst
122 python_execute_function update_axiom_plugin_cache
123 python_execute_function update_nevow_plugin_cache
124 python_execute_function update_mantissa_plugin_cache
125 }
126
127 pkg_postrm() {
128 twisted_pkg_postrm
129 python_execute_function update_axiom_plugin_cache
130 python_execute_function update_nevow_plugin_cache
131 python_execute_function update_mantissa_plugin_cache
132 }