Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/six: six-1.2.0-r1.ebuild ChangeLog
Date: Tue, 01 Jan 2013 15:11:38
Message-Id: 20130101151128.794692171D@flycatcher.gentoo.org
1 mgorny 13/01/01 15:11:28
2
3 Modified: ChangeLog
4 Added: six-1.2.0-r1.ebuild
5 Log:
6 Migrate to distutils-r1.
7
8 (Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 42B9401D)
9
10 Revision Changes Path
11 1.14 dev-python/six/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/six/ChangeLog?rev=1.14&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/six/ChangeLog?rev=1.14&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/six/ChangeLog?r1=1.13&r2=1.14
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/six/ChangeLog,v
20 retrieving revision 1.13
21 retrieving revision 1.14
22 diff -u -r1.13 -r1.14
23 --- ChangeLog 17 Dec 2012 17:54:35 -0000 1.13
24 +++ ChangeLog 1 Jan 2013 15:11:28 -0000 1.14
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/six
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/six/ChangeLog,v 1.13 2012/12/17 17:54:35 ago Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/six/ChangeLog,v 1.14 2013/01/01 15:11:28 mgorny Exp $
31 +
32 +*six-1.2.0-r1 (01 Jan 2013)
33 +
34 + 01 Jan 2013; Michał Górny <mgorny@g.o> +six-1.2.0-r1.ebuild:
35 + Migrate to distutils-r1.
36
37 17 Dec 2012; Agostino Sarubbo <ago@g.o> six-1.1.0.ebuild:
38 Stable for ia64, wrt bug #426466
39
40
41
42 1.1 dev-python/six/six-1.2.0-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/six/six-1.2.0-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/six/six-1.2.0-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: six-1.2.0-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/six/six-1.2.0-r1.ebuild,v 1.1 2013/01/01 15:11:28 mgorny Exp $
52
53 EAPI=5
54 PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} pypy{1_8,1_9} )
55
56 inherit distutils-r1
57
58 DESCRIPTION="Python 2 and 3 compatibility library"
59 HOMEPAGE="http://pypi.python.org/pypi/six"
60 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
61
62 LICENSE="MIT"
63 SLOT="0"
64 KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
65 IUSE="doc test"
66
67 DEPEND="doc? ( dev-python/sphinx )
68 test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
69
70 python_prepare_all() {
71 # disable tests that require tkinter
72 sed -i -e "s/test_move_items/_&/" test_six.py || die
73
74 distutils-r1_python_prepare_all
75 }
76
77 python_compile_all() {
78 use doc && emake -C documentation html
79 }
80
81 python_test() {
82 py.test || die
83 }
84
85 python_install_all() {
86 use doc && local HTML_DOCS=( documentation/_build/html/ )
87
88 distutils-r1_python_install_all
89 }