Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/autopep8: autopep8-1.1.1.ebuild ChangeLog
Date: Sat, 28 Feb 2015 07:10:12
Message-Id: 20150228071007.13CB612B7F@oystercatcher.gentoo.org
1 patrick 15/02/28 07:10:07
2
3 Modified: ChangeLog
4 Added: autopep8-1.1.1.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.17/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.55 dev-python/autopep8/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/autopep8/ChangeLog?rev=1.55&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/autopep8/ChangeLog?rev=1.55&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/autopep8/ChangeLog?r1=1.54&r2=1.55
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/autopep8/ChangeLog,v
20 retrieving revision 1.54
21 retrieving revision 1.55
22 diff -u -r1.54 -r1.55
23 --- ChangeLog 27 Dec 2014 19:36:01 -0000 1.54
24 +++ ChangeLog 28 Feb 2015 07:10:07 -0000 1.55
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/autopep8
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/autopep8/ChangeLog,v 1.54 2014/12/27 19:36:01 ago Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/autopep8/ChangeLog,v 1.55 2015/02/28 07:10:07 patrick Exp $
31 +
32 +*autopep8-1.1.1 (28 Feb 2015)
33 +
34 + 28 Feb 2015; Patrick Lauer <patrick@g.o> +autopep8-1.1.1.ebuild:
35 + Bump
36
37 27 Dec 2014; Agostino Sarubbo <ago@g.o> autopep8-1.0.4.ebuild:
38 Stable for amd64, wrt bug #502772
39
40
41
42 1.1 dev-python/autopep8/autopep8-1.1.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/autopep8/autopep8-1.1.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/autopep8/autopep8-1.1.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: autopep8-1.1.1.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/autopep8/autopep8-1.1.1.ebuild,v 1.1 2015/02/28 07:10:07 patrick Exp $
52
53 EAPI=5
54 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
55
56 inherit distutils-r1 vcs-snapshot
57
58 DESCRIPTION="Automatically formats Python code to conform to the PEP 8 style guide"
59 HOMEPAGE="https://github.com/hhatto/autopep8 http://pypi.python.org/pypi/autopep8"
60 SRC_URI="https://github.com/hhatto/${PN}/tarball/ver${PV} -> ${P}.tar.gz"
61
62 LICENSE="MIT"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
65 IUSE="test"
66
67 RDEPEND=">=dev-python/pep8-1.5.7[${PYTHON_USEDEP}]"
68 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
69 test? ( ${RDEPEND}
70 >=dev-python/pydiff-0.1.2[${PYTHON_USEDEP}] )"
71
72 python_prepare_all() {
73 # Prevent UnicodeDecodeError with LANG=C
74 sed -e "/é/d" -i MANIFEST.in || die
75 distutils-r1_python_prepare_all
76 }
77
78 python_test() {
79 esetup.py test
80 # from the tox.ini
81 "${PYTHON}" test/acid.py --aggressive test/example.py || die
82 "${PYTHON}" test/acid.py --compare-bytecode test/example.py || die
83 }
84
85 pkg_postinst() {
86 ewarn "Since this version of autopep depends on >=dev-python/pep8-1.3"
87 ewarn "it is affected by https://github.com/jcrocholl/pep8/issues/45"
88 ewarn "(indentation checks inside triple-quotes)."
89 ewarn "If you do not want to be affected by this, then add the"
90 ewarn "following lines to your local package.mask:"
91 ewarn " >=dev-python/pep8-1.3"
92 ewarn " >=dev-python/autopep8-0.6"
93 }