From 21ed05da13a913befc3f6b1e2a3bf8631c6a7938 Mon Sep 17 00:00:00 2001 From: Manuel RĂ¼ger Date: Wed, 15 Mar 2017 16:13:02 +0100 Subject: app-shells/thefuck: Version bump to 3.15 Package-Manager: Portage-2.3.4, Repoman-2.3.2 --- app-shells/thefuck/Manifest | 1 + app-shells/thefuck/thefuck-3.15.ebuild | 35 ++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 app-shells/thefuck/thefuck-3.15.ebuild diff --git a/app-shells/thefuck/Manifest b/app-shells/thefuck/Manifest index a630b9909a37..a22a6fbce87c 100644 --- a/app-shells/thefuck/Manifest +++ b/app-shells/thefuck/Manifest @@ -1,2 +1,3 @@ DIST thefuck-3.11.tar.gz 796095 SHA256 77ee25d0da7c3b5e373c2811c3a4d625de4c635094e960b9f9c60dc490650213 SHA512 774041c5bb54457add90ed071555a0f6215f43501e9ad359af4e1525df34daa3d35de17ccc93f0c74985c107560c0f86e2db52d58265c4f78d31c69015359631 WHIRLPOOL 5eaf7e56100f601146ffd19090463c132ec66a9fcf71340979094df04d8179ddc6624a3c420c114c330e7fafcfbcaeebc1bca462382368a289b75d606f581698 DIST thefuck-3.14.tar.gz 801989 SHA256 5757d7ba05ead08e867ab6b41e34d6f27fe38d5bb8af1ffc097aeed5ccc9c72f SHA512 b6963e4ab6de7c98bf324498f8f4ac2049a038bf50a856dcfe14570fa6351c9eba3ce9b9f30745ae37578750f8978003875682ffecefdc29e7baeee36d2fba3a WHIRLPOOL 795ba476b615d7b1de02c7e86679782af68fb698c31aae6115d380c330a5e0c43c5226a3a5af48ba9d3371ac14726ce1450437a8969bc109bf72f84e18f7f9d8 +DIST thefuck-3.15.tar.gz 810304 SHA256 30d0c1e2c2540396c9719316f2f0d14fa1820ee8c71d6f160bc4d50283d0aaef SHA512 6b7ba1fcf94e08c572d7ec0c3e03517d1596088fb5e00f4300c75e038aa87d8f57cbfbb2a37aea7932498d513c33353a568a3e83e168d73ebee51f9c283b4889 WHIRLPOOL 17bd375c75d8a772b843370a0e04da4f321ce87b815b81c6a742376c2084f22be04a7f399be5bab494e7064ddf063680af8686830fda0ede7e8f3887e524329e diff --git a/app-shells/thefuck/thefuck-3.15.ebuild b/app-shells/thefuck/thefuck-3.15.ebuild new file mode 100644 index 000000000000..906bf65fd17f --- /dev/null +++ b/app-shells/thefuck/thefuck-3.15.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=(python{2_7,3_4,3_5}) + +inherit distutils-r1 + +DESCRIPTION="Magnificent app which corrects your previous console command" +HOMEPAGE="https://github.com/nvbn/thefuck" +SRC_URI="https://github.com/nvbn/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64 ~x86" + +LICENSE="MIT" +SLOT="0" +IUSE="test" + +RDEPEND="dev-python/psutil[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/decorator[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' python2_7)" +DEPEND="test? ( ${RDEPEND} + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] ) + dev-python/setuptools[${PYTHON_USEDEP}]" + +src_prepare() { + sed -i -e "/import pip/s/^/#/" -e "/pip.__version__/,+3 s/^/#/" setup.py || die + distutils-r1_src_prepare +} + +python_test() { + py.test || die +} -- cgit v1.2.3-65-gdbad