Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/autopep8/
Date: Sun, 29 Apr 2018 10:30:17
Message-Id: 1524997763.3abbb041dab8b2c0fa41ae4fbe73660336fc9d1b.mgorny@gentoo
1 commit: 3abbb041dab8b2c0fa41ae4fbe73660336fc9d1b
2 Author: Marty E. Plummer <hanetzer <AT> startmail <DOT> com>
3 AuthorDate: Fri Apr 27 17:55:26 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 29 10:29:23 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3abbb041
7
8 dev-python/autopep8: git-2->git-r3
9
10 Package-Manager: Portage-2.3.31, Repoman-2.3.9
11
12 dev-python/autopep8/autopep8-1.3.2.ebuild | 11 ++++++++---
13 dev-python/autopep8/autopep8-1.3.3.ebuild | 11 ++++++++---
14 dev-python/autopep8/autopep8-9999.ebuild | 19 ++++++++++++-------
15 3 files changed, 28 insertions(+), 13 deletions(-)
16
17 diff --git a/dev-python/autopep8/autopep8-1.3.2.ebuild b/dev-python/autopep8/autopep8-1.3.2.ebuild
18 index d26545d20f2..704659d6b88 100644
19 --- a/dev-python/autopep8/autopep8-1.3.2.ebuild
20 +++ b/dev-python/autopep8/autopep8-1.3.2.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2017 Gentoo Foundation
23 +# Copyright 1999-2018 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI=6
27 @@ -10,11 +10,16 @@ inherit distutils-r1
28
29 DESCRIPTION="Automatically formats Python code to conform to the PEP 8 style guide"
30 HOMEPAGE="https://github.com/hhatto/autopep8 https://pypi.org/project/autopep8/"
31 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
32 +if [[ ${PV} == *9999* ]]; then
33 + EGIT_REPO_URI="https://github.com/hhatto/${PN}.git"
34 + inherit git-r3
35 +else
36 + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
37 + KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
38 +fi
39
40 LICENSE="MIT"
41 SLOT="0"
42 -KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
43 IUSE="test"
44
45 RDEPEND="
46
47 diff --git a/dev-python/autopep8/autopep8-1.3.3.ebuild b/dev-python/autopep8/autopep8-1.3.3.ebuild
48 index 48c985d0e5c..86abf7bd303 100644
49 --- a/dev-python/autopep8/autopep8-1.3.3.ebuild
50 +++ b/dev-python/autopep8/autopep8-1.3.3.ebuild
51 @@ -1,4 +1,4 @@
52 -# Copyright 1999-2017 Gentoo Foundation
53 +# Copyright 1999-2018 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55
56 EAPI=6
57 @@ -10,11 +10,16 @@ inherit distutils-r1
58
59 DESCRIPTION="Automatically formats Python code to conform to the PEP 8 style guide"
60 HOMEPAGE="https://github.com/hhatto/autopep8 https://pypi.org/project/autopep8/"
61 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
62 +if [[ ${PV} == *9999* ]]; then
63 + EGIT_REPO_URI="https://github.com/hhatto/${PN}.git"
64 + inherit git-r3
65 +else
66 + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
67 + KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
68 +fi
69
70 LICENSE="MIT"
71 SLOT="0"
72 -KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
73 IUSE="test"
74
75 RDEPEND="
76
77 diff --git a/dev-python/autopep8/autopep8-9999.ebuild b/dev-python/autopep8/autopep8-9999.ebuild
78 index 9b6187b0add..1ebdd95ae11 100644
79 --- a/dev-python/autopep8/autopep8-9999.ebuild
80 +++ b/dev-python/autopep8/autopep8-9999.ebuild
81 @@ -1,20 +1,25 @@
82 -# Copyright 1999-2017 Gentoo Foundation
83 +# Copyright 1999-2018 Gentoo Foundation
84 # Distributed under the terms of the GNU General Public License v2
85
86 -EAPI=5
87 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy pypy3 )
88 +EAPI=6
89 +
90 +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} pypy{,3} )
91 PYTHON_REQ_USE="threads(+)"
92
93 -inherit distutils-r1 git-2
94 +inherit distutils-r1
95
96 DESCRIPTION="Automatically formats Python code to conform to the PEP 8 style guide"
97 HOMEPAGE="https://github.com/hhatto/autopep8 https://pypi.org/project/autopep8/"
98 -SRC_URI=""
99 -EGIT_REPO_URI="https://github.com/hhatto/${PN}.git"
100 +if [[ ${PV} == *9999* ]]; then
101 + EGIT_REPO_URI="https://github.com/hhatto/${PN}.git"
102 + inherit git-r3
103 +else
104 + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
105 + KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
106 +fi
107
108 LICENSE="MIT"
109 SLOT="0"
110 -KEYWORDS=""
111 IUSE="test"
112
113 RDEPEND="