forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: portage-2.2.28
- Loading branch information
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST thefuck-3.5.tar.gz 782640 SHA256 eaa6b6466634ab4c87506a1404871af5bfd013043157b335165a63da3b14d90e SHA512 b1d5c542e25dc88ddceef98cd067f3bd48023c4ca5ee33ea61c76ad089ca85d0f440b212633ad99f9e7caa2ca56da8ba236c481cacfb50fd07dec44e896a0a71 WHIRLPOOL dd8e7bde96b45e61874f519db52550f82aa269a1e0df94271bb58bd6605e1165e1e6e8682c257ca8129ebff2955c0014b71a0191a360ad035d4de2e17fab4ba8 | ||
DIST thefuck-3.6.tar.gz 782923 SHA256 a83e2e3ff65b36a7e0d3330e853610c0da9cd2ffd5a001d9e51ad6146c558674 SHA512 630825f2a635fa8039df2b71e3a3d1c95280f48b1277f31f010a8c4adf1cd08ddbd6cff1ffae19856f27585f36c473d3c70eb30ca8e5e4cf8b159705398793bf WHIRLPOOL 17fc409d6114fb89527251888c40e05731932f192dedaefd33cd18e64c2b46980ad8a1c14a6f3bca02cfa223cde61216e2051afc458cca195919e3da94d08d91 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
PYTHON_COMPAT=(python{2_7,3_4}) | ||
|
||
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" | ||
|
||
LICENSE="MIT" | ||
SLOT="0" | ||
IUSE="test" | ||
|
||
RDEPEND="dev-python/pathlib[${PYTHON_USEDEP}] | ||
dev-python/psutil[${PYTHON_USEDEP}] | ||
dev-python/six[${PYTHON_USEDEP}] | ||
dev-python/decorator[${PYTHON_USEDEP}] | ||
dev-python/colorama[${PYTHON_USEDEP}]" | ||
DEPEND="test? ( ${RDEPEND} | ||
dev-python/pytest[${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 | ||
} |