Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/thefuck/
Date: Sat, 15 Apr 2017 17:04:36
Message-Id: 1492275846.215dffe54f27a95219ac3132b7aa973874ccef06.mrueg@gentoo
1 commit: 215dffe54f27a95219ac3132b7aa973874ccef06
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 15 17:04:06 2017 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 15 17:04:06 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=215dffe5
7
8 app-shells/thefuck: Version bump to 3.16
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 app-shells/thefuck/Manifest | 1 +
13 app-shells/thefuck/thefuck-3.16.ebuild | 35 ++++++++++++++++++++++++++++++++++
14 2 files changed, 36 insertions(+)
15
16 diff --git a/app-shells/thefuck/Manifest b/app-shells/thefuck/Manifest
17 index 136dcaa80b1..b8fb485b233 100644
18 --- a/app-shells/thefuck/Manifest
19 +++ b/app-shells/thefuck/Manifest
20 @@ -1,2 +1,3 @@
21 DIST thefuck-3.14.tar.gz 801989 SHA256 5757d7ba05ead08e867ab6b41e34d6f27fe38d5bb8af1ffc097aeed5ccc9c72f SHA512 b6963e4ab6de7c98bf324498f8f4ac2049a038bf50a856dcfe14570fa6351c9eba3ce9b9f30745ae37578750f8978003875682ffecefdc29e7baeee36d2fba3a WHIRLPOOL 795ba476b615d7b1de02c7e86679782af68fb698c31aae6115d380c330a5e0c43c5226a3a5af48ba9d3371ac14726ce1450437a8969bc109bf72f84e18f7f9d8
22 DIST thefuck-3.15.tar.gz 810304 SHA256 30d0c1e2c2540396c9719316f2f0d14fa1820ee8c71d6f160bc4d50283d0aaef SHA512 6b7ba1fcf94e08c572d7ec0c3e03517d1596088fb5e00f4300c75e038aa87d8f57cbfbb2a37aea7932498d513c33353a568a3e83e168d73ebee51f9c283b4889 WHIRLPOOL 17bd375c75d8a772b843370a0e04da4f321ce87b815b81c6a742376c2084f22be04a7f399be5bab494e7064ddf063680af8686830fda0ede7e8f3887e524329e
23 +DIST thefuck-3.16.tar.gz 812419 SHA256 536582810a522144c8bc1ce69b3882979841af1b7aa61e9b245d2b216b77304b SHA512 f6c383fddcc40d11914b095eb9e00e856c5374ffbbb495f6f07a532e5f6458f8051a2881c80e85c743a7a876c6a70aaa78140aa09cbb1b78460a959752d88aca WHIRLPOOL 5a9895c011f943b92be1bd63bc0ea6fa486a8f2eed08394f7e06c1e28dd849a8222e34ced5342e4a60cf5c8e7acbfa61f8bc618abfebf42513b37f9ec36b72b1
24
25 diff --git a/app-shells/thefuck/thefuck-3.16.ebuild b/app-shells/thefuck/thefuck-3.16.ebuild
26 new file mode 100644
27 index 00000000000..e7a29582bd7
28 --- /dev/null
29 +++ b/app-shells/thefuck/thefuck-3.16.ebuild
30 @@ -0,0 +1,35 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +PYTHON_COMPAT=(python{2_7,3_4,3_5})
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Magnificent app which corrects your previous console command"
40 +HOMEPAGE="https://github.com/nvbn/thefuck"
41 +SRC_URI="https://github.com/nvbn/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 +KEYWORDS="~amd64 ~x86"
43 +
44 +LICENSE="MIT"
45 +SLOT="0"
46 +IUSE="test"
47 +
48 +RDEPEND="dev-python/psutil[${PYTHON_USEDEP}]
49 + dev-python/six[${PYTHON_USEDEP}]
50 + dev-python/decorator[${PYTHON_USEDEP}]
51 + dev-python/colorama[${PYTHON_USEDEP}]
52 + $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' python2_7)"
53 +DEPEND="test? ( ${RDEPEND}
54 + dev-python/pytest[${PYTHON_USEDEP}]
55 + dev-python/pytest-mock[${PYTHON_USEDEP}] )
56 + dev-python/setuptools[${PYTHON_USEDEP}]"
57 +
58 +src_prepare() {
59 + sed -i -e "/import pip/s/^/#/" -e "/pip.__version__/,+3 s/^/#/" setup.py || die
60 + distutils-r1_src_prepare
61 +}
62 +
63 +python_test() {
64 + py.test || die
65 +}