Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/thefuck/
Date: Sat, 25 Nov 2017 13:38:27
Message-Id: 1511617092.1e436f321483e3b85b3c289d9bf638dbf2a4d75f.soap@gentoo
1 commit: 1e436f321483e3b85b3c289d9bf638dbf2a4d75f
2 Author: Nils Freydank <holgersson <AT> posteo <DOT> de>
3 AuthorDate: Sat Nov 25 13:16:24 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 25 13:38:12 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e436f32
7
8 app-shells/thefuck: Version bump to 3.25 and add proxied maintainer
9
10 Closes: https://github.com/gentoo/gentoo/pull/6294
11 Package-Manager: Portage-2.3.16, Repoman-2.3.6
12
13 app-shells/thefuck/Manifest | 1 +
14 app-shells/thefuck/metadata.xml | 9 +++++++-
15 app-shells/thefuck/thefuck-3.25.ebuild | 41 ++++++++++++++++++++++++++++++++++
16 3 files changed, 50 insertions(+), 1 deletion(-)
17
18 diff --git a/app-shells/thefuck/Manifest b/app-shells/thefuck/Manifest
19 index ca20cd21ebf..a642f807299 100644
20 --- a/app-shells/thefuck/Manifest
21 +++ b/app-shells/thefuck/Manifest
22 @@ -1 +1,2 @@
23 DIST thefuck-3.24.tar.gz 1360450 SHA256 686867f264ee34d9287814dde0e9ca5debb322deeaf0ac6773ec06f823d7c0b4 SHA512 d4949ea723cf3b080f2fbe269d0cafe3d0266089fa8cc515b3b9376b2004c045be82716cd219741a60a0e99c20575adb92339a879467f709f7ca03dcc71a5c2d WHIRLPOOL 395eb03bf8ec1504909631a7e88e2761d7778742fb52d6fd567ee4c3c1ec9186726550dde23b2234a93064d6317065852236fb83fd4bfcdb733a4d2aa7cee2e8
24 +DIST thefuck-3.25.tar.gz 1362279 BLAKE2B 52b3f1c8756b6981c0528fd77c18256957dd5d628ea37801b9c9abf6114e1cef8af53d9d1dd50fc7c88fad7bd628dc8373aa70dbc6933c07c63b7da31eb5d95a SHA512 c7b215358c09e1fa5e6aae519e7d6c3fd50027b4c72bb1c128786cd2cff707196f2b9b2a23dfed34d841874caab9463791e82c9083f6aac9c90f26d12a4d4598
25
26 diff --git a/app-shells/thefuck/metadata.xml b/app-shells/thefuck/metadata.xml
27 index 8010e62df65..e02f8f7384b 100644
28 --- a/app-shells/thefuck/metadata.xml
29 +++ b/app-shells/thefuck/metadata.xml
30 @@ -1,7 +1,14 @@
31 <?xml version="1.0" encoding="UTF-8"?>
32 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 <pkgmetadata>
34 - <!-- maintainer-needed -->
35 + <maintainer type="person">
36 + <email>holgersson@××××××.de</email>
37 + <name>Nils Freydank</name>
38 + </maintainer>
39 + <maintainer type="project">
40 + <email>proxy-maint@g.o</email>
41 + <name>Proxy Maintainers</name>
42 + </maintainer>
43 <upstream>
44 <remote-id type="github">nvbn/thefuck</remote-id>
45 </upstream>
46
47 diff --git a/app-shells/thefuck/thefuck-3.25.ebuild b/app-shells/thefuck/thefuck-3.25.ebuild
48 new file mode 100644
49 index 00000000000..7c1efbcfc50
50 --- /dev/null
51 +++ b/app-shells/thefuck/thefuck-3.25.ebuild
52 @@ -0,0 +1,41 @@
53 +# Copyright 1999-2017 Gentoo Foundation
54 +# Distributed under the terms of the GNU General Public License v2
55 +
56 +EAPI=6
57 +
58 +PYTHON_COMPAT=( python3_{4,5,6} )
59 +
60 +inherit distutils-r1
61 +
62 +DESCRIPTION="Magnificent app which corrects your previous console command"
63 +HOMEPAGE="https://github.com/nvbn/thefuck"
64 +SRC_URI="https://github.com/nvbn/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
65 +
66 +LICENSE="MIT"
67 +SLOT="0"
68 +KEYWORDS="~amd64 ~x86"
69 +IUSE="test"
70 +
71 +RDEPEND="
72 + dev-python/psutil[${PYTHON_USEDEP}]
73 + dev-python/six[${PYTHON_USEDEP}]
74 + dev-python/decorator[${PYTHON_USEDEP}]
75 + dev-python/colorama[${PYTHON_USEDEP}]
76 + dev-python/pyte[${PYTHON_USEDEP}]"
77 +DEPEND="
78 + dev-python/setuptools[${PYTHON_USEDEP}]
79 + test? (
80 + ${RDEPEND}
81 + dev-python/pytest[${PYTHON_USEDEP}]
82 + dev-python/pytest-mock[${PYTHON_USEDEP}]
83 + )"
84 +
85 +python_prepare_all() {
86 + sed -i -e "/import pip/s/^/#/" -e "/pip.__version__/,+3 s/^/#/" setup.py || die
87 +
88 + distutils-r1_python_prepare_all
89 +}
90 +
91 +python_test() {
92 + py.test || die
93 +}