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/python-lzo: ChangeLog python-lzo-1.08.ebuild
Date: Sat, 26 Feb 2011 23:24:43
Message-Id: 20110226232428.7FBAA20054@flycatcher.gentoo.org
1 arfrever 11/02/26 23:24:28
2
3 Modified: ChangeLog python-lzo-1.08.ebuild
4 Log:
5 Set SUPPORT_PYTHON_ABIS (bug #345545).
6
7 (Portage version: 2.2.0_alpha25_p9/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.5 dev-python/python-lzo/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-lzo/ChangeLog?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-lzo/ChangeLog?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-lzo/ChangeLog?r1=1.4&r2=1.5
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/python-lzo/ChangeLog,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- ChangeLog 17 Nov 2008 08:10:23 -0000 1.4
23 +++ ChangeLog 26 Feb 2011 23:24:28 -0000 1.5
24 @@ -1,6 +1,10 @@
25 # ChangeLog for dev-python/python-lzo
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-lzo/ChangeLog,v 1.4 2008/11/17 08:10:23 flameeyes Exp $
28 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-lzo/ChangeLog,v 1.5 2011/02/26 23:24:28 arfrever Exp $
30 +
31 + 26 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
32 + python-lzo-1.08.ebuild:
33 + Set SUPPORT_PYTHON_ABIS (bug #345545).
34
35 17 Nov 2008; Diego E. Pettenò <flameeyes@g.o>
36 files/lzo2compat.patch:
37
38
39
40 1.3 dev-python/python-lzo/python-lzo-1.08.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-lzo/python-lzo-1.08.ebuild?rev=1.3&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-lzo/python-lzo-1.08.ebuild?rev=1.3&content-type=text/plain
44 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-lzo/python-lzo-1.08.ebuild?r1=1.2&r2=1.3
45
46 Index: python-lzo-1.08.ebuild
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/dev-python/python-lzo/python-lzo-1.08.ebuild,v
49 retrieving revision 1.2
50 retrieving revision 1.3
51 diff -u -r1.2 -r1.3
52 --- python-lzo-1.08.ebuild 4 Jul 2007 21:43:17 -0000 1.2
53 +++ python-lzo-1.08.ebuild 26 Feb 2011 23:24:28 -0000 1.3
54 @@ -1,23 +1,34 @@
55 -# Copyright 1999-2007 Gentoo Foundation
56 +# Copyright 1999-2011 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-lzo/python-lzo-1.08.ebuild,v 1.2 2007/07/04 21:43:17 hawking Exp $
59 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-lzo/python-lzo-1.08.ebuild,v 1.3 2011/02/26 23:24:28 arfrever Exp $
60
61 -inherit eutils distutils
62 +EAPI="3"
63 +PYTHON_DEPEND="2"
64 +SUPPORT_PYTHON_ABIS="1"
65 +RESTRICT_PYTHON_ABIS="3.* *-jython"
66 +
67 +inherit distutils eutils
68
69 DESCRIPTION="Python interface to lzo"
70 -SRC_URI="http://www.oberhumer.com/opensource/lzo/download/LZO-v1/${P}.tar.gz"
71 HOMEPAGE="http://www.oberhumer.com/opensource/lzo/"
72 -RDEPEND="virtual/python
73 - dev-libs/lzo"
74 -DEPEND="${RDEPEND}"
75 -IUSE=""
76 +SRC_URI="http://www.oberhumer.com/opensource/lzo/download/LZO-v1/${P}.tar.gz"
77 +
78 +LICENSE="GPL-2"
79 SLOT="0"
80 KEYWORDS="~amd64 ~x86"
81 -LICENSE="GPL-2"
82 +IUSE=""
83 +
84 +DEPEND="dev-libs/lzo:2"
85 +RDEPEND="${DEPEND}"
86 +
87 +src_prepare() {
88 + distutils_src_prepare
89 + epatch "${FILESDIR}/lzo2compat.patch"
90 +}
91
92 -src_unpack() {
93 - unpack ${A}
94 - if has_version ">=dev-libs/lzo-2"; then
95 - epatch "${FILESDIR}"/lzo2compat.patch
96 - fi
97 +src_test() {
98 + testing() {
99 + PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" tests/test.py
100 + }
101 + python_execute_function testing
102 }