Gentoo Archives: gentoo-commits

From: "Maxim Koltsov (maksbotan)" <maksbotan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pydb: pydb-1.26-r1.ebuild ChangeLog
Date: Sat, 24 Dec 2011 15:42:07
Message-Id: 20111224154151.23A082004B@flycatcher.gentoo.org
1 maksbotan 11/12/24 15:41:51
2
3 Modified: ChangeLog
4 Added: pydb-1.26-r1.ebuild
5 Log:
6 Pythonize ebuild, add support for multiple python ABIs
7
8 (Portage version: 2.1.10.41/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.6 dev-python/pydb/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pydb/ChangeLog?rev=1.6&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pydb/ChangeLog?rev=1.6&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pydb/ChangeLog?r1=1.5&r2=1.6
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pydb/ChangeLog,v
20 retrieving revision 1.5
21 retrieving revision 1.6
22 diff -u -r1.5 -r1.6
23 --- ChangeLog 24 Dec 2011 13:21:05 -0000 1.5
24 +++ ChangeLog 24 Dec 2011 15:41:51 -0000 1.6
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/pydb
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pydb/ChangeLog,v 1.5 2011/12/24 13:21:05 grozin Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pydb/ChangeLog,v 1.6 2011/12/24 15:41:51 maksbotan Exp $
30 +
31 +*pydb-1.26-r1 (24 Dec 2011)
32 +
33 + 24 Dec 2011; Maxim Koltsov <maksbotan@g.o> +pydb-1.26-r1.ebuild:
34 + Pythonize ebuild, add support for multiple python ABIs
35
36 24 Dec 2011; Andrey Grozin <grozin@g.o> pydb-1.26.ebuild:
37 Bug #379193 fixed, thanks to Ulrich Müller <ulm@g.o>
38
39
40
41 1.1 dev-python/pydb/pydb-1.26-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pydb/pydb-1.26-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pydb/pydb-1.26-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pydb-1.26-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/pydb/pydb-1.26-r1.ebuild,v 1.1 2011/12/24 15:41:51 maksbotan Exp $
51
52 EAPI=4
53
54 PYTHON_DEPEND="2:2.4"
55 SUPPORT_PYTHON_ABIS="1"
56 RESTRICT_PYTHON_ABIS="3.*"
57 PYTHON_EXPORT_PHASE_FUNCTIONS="1"
58
59 inherit elisp-common python
60
61 DESCRIPTION="Extended python debugger"
62 HOMEPAGE="http://bashdb.sourceforge.net/pydb/"
63 SRC_URI="mirror://sourceforge/bashdb/${P}.tar.bz2"
64 LICENSE="GPL-3"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE="emacs"
68
69 DEPEND="
70 emacs? ( virtual/emacs )"
71 RDEPEND="${DEPEND}"
72
73 # This package uses not distutils but the usual
74 # ./configure; make; make install
75 # The default src_compile is OK
76
77 src_configure() {
78 configuration() {
79 econf --with-lispdir="${SITELISP}/${PN}" \
80 EMACS="$(use emacs && echo "${EMACS}" || echo no)" \
81 --with-site-packages=$(python_get_sitedir) \
82 --with-python=$(PYTHON -a)
83 }
84 python_execute_function -s configuration
85 }
86
87 src_install() {
88 installation(){
89 emake DESTDIR="${D}" install || die "emake install failed"
90 mv "${ED}"/usr/bin/${PN} "${ED}"/usr/bin/${PN}-${PYTHON_ABI} || die
91 }
92 python_execute_function -s installation
93 python_generate_wrapper_scripts "${ED}"/usr/bin/${PN}
94
95 dodoc AUTHORS ChangeLog NEWS README THANKS TODO || die "dodoc failed"
96 }