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-9999.ebuild six-1.2.0-r1.ebuild ChangeLog
Date: Tue, 01 Jan 2013 16:05:05
Message-Id: 20130101160455.6E7DA2171D@flycatcher.gentoo.org
1 mgorny 13/01/01 16:04:55
2
3 Modified: six-1.2.0-r1.ebuild ChangeLog
4 Added: six-9999.ebuild
5 Log:
6 Add a live ebuild and a proper homepage.
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.2 dev-python/six/six-1.2.0-r1.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/six/six-1.2.0-r1.ebuild?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/six/six-1.2.0-r1.ebuild?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/six/six-1.2.0-r1.ebuild?r1=1.1&r2=1.2
16
17 Index: six-1.2.0-r1.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/six/six-1.2.0-r1.ebuild,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- six-1.2.0-r1.ebuild 1 Jan 2013 15:11:28 -0000 1.1
24 +++ six-1.2.0-r1.ebuild 1 Jan 2013 16:04:55 -0000 1.2
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2013 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $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 $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/six/six-1.2.0-r1.ebuild,v 1.2 2013/01/01 16:04:55 mgorny Exp $
30
31 EAPI=5
32 PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} pypy{1_8,1_9} )
33 @@ -8,7 +8,7 @@
34 inherit distutils-r1
35
36 DESCRIPTION="Python 2 and 3 compatibility library"
37 -HOMEPAGE="http://pypi.python.org/pypi/six"
38 +HOMEPAGE="https://bitbucket.org/gutworth/six http://pypi.python.org/pypi/six"
39 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
40
41 LICENSE="MIT"
42
43
44
45 1.15 dev-python/six/ChangeLog
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/six/ChangeLog?rev=1.15&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/six/ChangeLog?rev=1.15&content-type=text/plain
49 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/six/ChangeLog?r1=1.14&r2=1.15
50
51 Index: ChangeLog
52 ===================================================================
53 RCS file: /var/cvsroot/gentoo-x86/dev-python/six/ChangeLog,v
54 retrieving revision 1.14
55 retrieving revision 1.15
56 diff -u -r1.14 -r1.15
57 --- ChangeLog 1 Jan 2013 15:11:28 -0000 1.14
58 +++ ChangeLog 1 Jan 2013 16:04:55 -0000 1.15
59 @@ -1,6 +1,12 @@
60 # ChangeLog for dev-python/six
61 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
62 -# $Header: /var/cvsroot/gentoo-x86/dev-python/six/ChangeLog,v 1.14 2013/01/01 15:11:28 mgorny Exp $
63 +# $Header: /var/cvsroot/gentoo-x86/dev-python/six/ChangeLog,v 1.15 2013/01/01 16:04:55 mgorny Exp $
64 +
65 +*six-9999 (01 Jan 2013)
66 +
67 + 01 Jan 2013; Michał Górny <mgorny@g.o> +six-9999.ebuild,
68 + six-1.2.0-r1.ebuild:
69 + Add a live ebuild and a proper homepage.
70
71 *six-1.2.0-r1 (01 Jan 2013)
72
73
74
75
76 1.1 dev-python/six/six-9999.ebuild
77
78 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/six/six-9999.ebuild?rev=1.1&view=markup
79 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/six/six-9999.ebuild?rev=1.1&content-type=text/plain
80
81 Index: six-9999.ebuild
82 ===================================================================
83 # Copyright 1999-2013 Gentoo Foundation
84 # Distributed under the terms of the GNU General Public License v2
85 # $Header: /var/cvsroot/gentoo-x86/dev-python/six/six-9999.ebuild,v 1.1 2013/01/01 16:04:55 mgorny Exp $
86
87 EAPI=5
88 PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} pypy{1_8,1_9} )
89
90 #if LIVE
91 EHG_REPO_URI="https://bitbucket.org/gutworth/six"
92
93 inherit mercurial
94 #endif
95
96 inherit distutils-r1
97
98 DESCRIPTION="Python 2 and 3 compatibility library"
99 HOMEPAGE="https://bitbucket.org/gutworth/six http://pypi.python.org/pypi/six"
100 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
101
102 LICENSE="MIT"
103 SLOT="0"
104 KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
105 IUSE="doc test"
106
107 DEPEND="doc? ( dev-python/sphinx )
108 test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
109
110 #if LIVE
111 SRC_URI=
112 KEYWORDS=
113 #endif
114
115 python_prepare_all() {
116 # disable tests that require tkinter
117 sed -i -e "s/test_move_items/_&/" test_six.py || die
118
119 distutils-r1_python_prepare_all
120 }
121
122 python_compile_all() {
123 use doc && emake -C documentation html
124 }
125
126 python_test() {
127 py.test || die
128 }
129
130 python_install_all() {
131 use doc && local HTML_DOCS=( documentation/_build/html/ )
132
133 distutils-r1_python_install_all
134 }