summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-08-21 13:49:50 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-08-21 13:57:52 +0200
commit18f709684f3ee9682dce96b3d905d21374d56906 (patch)
treef9c992c64153ca9e8010d490b33be17a5efe7eea /app-shells/thefuck
parentsys-kernel/git-sources: Linux patch 4.13-rc6 (diff)
downloadgentoo-18f709684f3ee9682dce96b3d905d21374d56906.tar.gz
gentoo-18f709684f3ee9682dce96b3d905d21374d56906.tar.bz2
gentoo-18f709684f3ee9682dce96b3d905d21374d56906.zip
app-shells/thefuck: Version bump to 3.21
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'app-shells/thefuck')
-rw-r--r--app-shells/thefuck/Manifest1
-rw-r--r--app-shells/thefuck/thefuck-3.21.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/app-shells/thefuck/Manifest b/app-shells/thefuck/Manifest
index d0da1489e25a..cd7581baf557 100644
--- a/app-shells/thefuck/Manifest
+++ b/app-shells/thefuck/Manifest
@@ -1,2 +1,3 @@
DIST thefuck-3.16.tar.gz 812419 SHA256 536582810a522144c8bc1ce69b3882979841af1b7aa61e9b245d2b216b77304b SHA512 f6c383fddcc40d11914b095eb9e00e856c5374ffbbb495f6f07a532e5f6458f8051a2881c80e85c743a7a876c6a70aaa78140aa09cbb1b78460a959752d88aca WHIRLPOOL 5a9895c011f943b92be1bd63bc0ea6fa486a8f2eed08394f7e06c1e28dd849a8222e34ced5342e4a60cf5c8e7acbfa61f8bc618abfebf42513b37f9ec36b72b1
DIST thefuck-3.18.tar.gz 812586 SHA256 c6175c45ac82b1abe552f28a05b9b369f864a763d4d60178c1fde584209e5bf7 SHA512 26a8abb705bd05f09375f3f0dbb0ab3f554e79ab8ba85023edf92252141ff23a11993bf75d582a59c598e3c22e7864cf72823b29be1abab347be2a5d5322a43b WHIRLPOOL c8912634dfe8ec73dc3673991fbc8a12089a9eed6f89d1f977b6f93ceacaecd8d3123df63cc4f4f7203423a0990bbf635dc46205f23c82a51e92afc3009004fb
+DIST thefuck-3.21.tar.gz 814519 SHA256 02e8db472200160bccfd882531f26117f09eae1da0f0bad0b068aa1c16759f70 SHA512 a75f05d7847305c53720399e039b2f5317756f1295f036eb6b3d476dc2a6ee694c5a28c7ec03f153474fbc33165edd3255cd567236f83634642f2f423e95e1a1 WHIRLPOOL df35c2bd76df422eb0763234673b3225d45eec74b755418a791bac753fbcc9955fb694dfbca53187f6d623c6a1b4d7e133bc0c8005f077d3d963741c177a77f9
diff --git a/app-shells/thefuck/thefuck-3.21.ebuild b/app-shells/thefuck/thefuck-3.21.ebuild
new file mode 100644
index 000000000000..b5689f8ca0ce
--- /dev/null
+++ b/app-shells/thefuck/thefuck-3.21.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
+
+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
+}