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/ruledispatch: ChangeLog ruledispatch-0.5_pre2306-r1.ebuild
Date: Tue, 29 Jun 2010 20:49:17
Message-Id: 20100629204912.892642C621@corvid.gentoo.org
1 arfrever 10/06/29 20:49:12
2
3 Modified: ChangeLog ruledispatch-0.5_pre2306-r1.ebuild
4 Log:
5 Set SUPPORT_PYTHON_ABIS.
6 (Portage version: HEAD/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.9 dev-python/ruledispatch/ChangeLog
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ruledispatch/ChangeLog?rev=1.9&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ruledispatch/ChangeLog?rev=1.9&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ruledispatch/ChangeLog?r1=1.8&r2=1.9
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-python/ruledispatch/ChangeLog,v
18 retrieving revision 1.8
19 retrieving revision 1.9
20 diff -u -r1.8 -r1.9
21 --- ChangeLog 8 Feb 2010 08:48:35 -0000 1.8
22 +++ ChangeLog 29 Jun 2010 20:49:12 -0000 1.9
23 @@ -1,6 +1,10 @@
24 # ChangeLog for dev-python/ruledispatch
25 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-python/ruledispatch/ChangeLog,v 1.8 2010/02/08 08:48:35 pva Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-python/ruledispatch/ChangeLog,v 1.9 2010/06/29 20:49:12 arfrever Exp $
28 +
29 + 29 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
30 + ruledispatch-0.5_pre2306-r1.ebuild:
31 + Set SUPPORT_PYTHON_ABIS.
32
33 08 Feb 2010; Peter Volkov <pva@g.o>
34 ruledispatch-0.5_pre2306-r1.ebuild:
35
36
37
38 1.4 dev-python/ruledispatch/ruledispatch-0.5_pre2306-r1.ebuild
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ruledispatch/ruledispatch-0.5_pre2306-r1.ebuild?rev=1.4&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ruledispatch/ruledispatch-0.5_pre2306-r1.ebuild?rev=1.4&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ruledispatch/ruledispatch-0.5_pre2306-r1.ebuild?r1=1.3&r2=1.4
43
44 Index: ruledispatch-0.5_pre2306-r1.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/dev-python/ruledispatch/ruledispatch-0.5_pre2306-r1.ebuild,v
47 retrieving revision 1.3
48 retrieving revision 1.4
49 diff -u -r1.3 -r1.4
50 --- ruledispatch-0.5_pre2306-r1.ebuild 8 Feb 2010 08:48:35 -0000 1.3
51 +++ ruledispatch-0.5_pre2306-r1.ebuild 29 Jun 2010 20:49:12 -0000 1.4
52 @@ -1,36 +1,40 @@
53 # Copyright 1999-2010 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/dev-python/ruledispatch/ruledispatch-0.5_pre2306-r1.ebuild,v 1.3 2010/02/08 08:48:35 pva Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/dev-python/ruledispatch/ruledispatch-0.5_pre2306-r1.ebuild,v 1.4 2010/06/29 20:49:12 arfrever Exp $
57
58 -EAPI="2"
59 -NEED_PYTHON=2.4
60 -
61 -inherit eutils distutils versionator
62 -
63 -MY_PN=RuleDispatch
64 -MY_P=${MY_PN}-$(get_version_component_range 1-2)a0.dev-$(get_version_component_range 3-)
65 -MY_P=${MY_P/pre/r}
66 +EAPI="3"
67 +PYTHON_DEPEND="2"
68 +SUPPORT_PYTHON_ABIS="1"
69 +RESTRICT_PYTHON_ABIS="3.*"
70 +DISTUTILS_SRC_TEST="setup.py"
71 +
72 +inherit distutils eutils versionator
73 +
74 +MY_PN="RuleDispatch"
75 +MY_P="${MY_PN}-$(get_version_component_range 1-2)a0.dev-$(get_version_component_range 3-)"
76 +MY_P="${MY_P/pre/r}"
77
78 DESCRIPTION="Rule-based Dispatching and Generic Functions"
79 HOMEPAGE="http://peak.telecommunity.com/"
80 +# http://svn.eby-sarna.com/RuleDispatch/
81 SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
82 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
83 +
84 LICENSE="|| ( PSF-2.4 ZPL )"
85 SLOT="0"
86 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
87 IUSE=""
88
89 RDEPEND=">=dev-python/pyprotocols-1.0_pre2306"
90 DEPEND="${RDEPEND}
91 - >=dev-python/setuptools-0.6_rc5"
92 + dev-python/setuptools"
93
94 S="${WORKDIR}/${MY_PN}"
95
96 +PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
97 +
98 PYTHON_MODNAME="dispatch"
99
100 -src_prepare(){
101 +src_prepare() {
102 + distutils_src_prepare
103 epatch "${FILESDIR}/${PN}_as_syntax_fix.patch"
104 }
105 -
106 -src_test() {
107 - PYTHONPATH=./src/ "${python}" setup.py test || die "tests failed"
108 -}