From: | "Kacper Kowalik (xarthisius)" <xarthisius@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/autopep8: autopep8-9999.ebuild ChangeLog |
Date: | Mon, 27 Feb 2012 18:26:29 |
Message-Id: | 20120227182615.7423C2004B@flycatcher.gentoo.org |
1 | xarthisius 12/02/27 18:26:15 |
2 | |
3 | Modified: ChangeLog |
4 | Added: autopep8-9999.ebuild |
5 | Log: |
6 | Add live ebuild |
7 | |
8 | (Portage version: 2.2.0_alpha89/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.3 dev-python/autopep8/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/autopep8/ChangeLog?rev=1.3&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/autopep8/ChangeLog?rev=1.3&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/autopep8/ChangeLog?r1=1.2&r2=1.3 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/autopep8/ChangeLog,v |
20 | retrieving revision 1.2 |
21 | retrieving revision 1.3 |
22 | diff -u -r1.2 -r1.3 |
23 | --- ChangeLog 15 Feb 2012 10:11:40 -0000 1.2 |
24 | +++ ChangeLog 27 Feb 2012 18:26:15 -0000 1.3 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-python/autopep8 |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/autopep8/ChangeLog,v 1.2 2012/02/15 10:11:40 xarthisius Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/autopep8/ChangeLog,v 1.3 2012/02/27 18:26:15 xarthisius Exp $ |
30 | + |
31 | +*autopep8-9999 (27 Feb 2012) |
32 | + |
33 | + 27 Feb 2012; Kacper Kowalik <xarthisius@g.o> +autopep8-9999.ebuild: |
34 | + Add live ebuild |
35 | |
36 | 15 Feb 2012; Kacper Kowalik <xarthisius@g.o> autopep8-0.5.ebuild: |
37 | Add src_test and missing dependency on dev-python/pep8. Fixes bug 403663 by |
38 | |
39 | |
40 | |
41 | 1.1 dev-python/autopep8/autopep8-9999.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/autopep8/autopep8-9999.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/autopep8/autopep8-9999.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: autopep8-9999.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2012 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-python/autopep8/autopep8-9999.ebuild,v 1.1 2012/02/27 18:26:15 xarthisius Exp $ |
51 | |
52 | EAPI=4 |
53 | |
54 | PYTHON_DEPEND="*" |
55 | SUPPORT_PYTHON_ABIS="1" |
56 | |
57 | if [ "${PV%9999}" != "${PV}" ] ; then |
58 | SCM=git-2 |
59 | EGIT_REPO_URI="git://github.com/hhatto/${PN}.git" |
60 | fi |
61 | |
62 | inherit distutils ${SCM} |
63 | |
64 | DESCRIPTION="Automatically formats Python code to conform to the PEP 8 style guide" |
65 | HOMEPAGE="https://github.com/hhatto/autopep8 http://pypi.python.org/pypi/autopep8" |
66 | if [ "${PV%9999}" != "${PV}" ] ; then |
67 | SRC_URI="" |
68 | KEYWORDS="" |
69 | else |
70 | SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
71 | KEYWORDS="~amd64 ~x86" |
72 | fi |
73 | |
74 | LICENSE="MIT" |
75 | SLOT="0" |
76 | IUSE="" |
77 | |
78 | RDEPEND="dev-python/pep8" |
79 | DEPEND="${RDEPEND} |
80 | dev-python/setuptools" |
81 | |
82 | PYTHON_MODNAME="${PN}.py" |
83 | |
84 | src_test() { |
85 | testing() { |
86 | PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test/test_${PN}.py |
87 | } |
88 | python_execute_function testing |
89 | } |