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.
dev-python/curtsies: bump to 0.2.9, python3_5 added
Package-Manager: portage-2.3.0
- Loading branch information
Andrey Grozin
committed
Sep 27, 2016
1 parent
49dcef8
commit 7819ce5
Showing
2 changed files
with
37 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
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,36 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
|
||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) | ||
|
||
inherit distutils-r1 | ||
|
||
DESCRIPTION="Curses-like terminal wrapper, with colored strings" | ||
HOMEPAGE="https://github.com/thomasballinger/curtsies" | ||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" | ||
|
||
SLOT="0" | ||
LICENSE="MIT" | ||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" | ||
IUSE="test" | ||
|
||
RDEPEND=" | ||
>=dev-python/blessings-1.5[${PYTHON_USEDEP}] | ||
dev-python/pyte[${PYTHON_USEDEP}] | ||
>=dev-python/wcwidth-0.1.4[${PYTHON_USEDEP}] | ||
" | ||
DEPEND="${RDEPEND} | ||
dev-python/setuptools[${PYTHON_USEDEP}] | ||
test? ( | ||
dev-python/mock[${PYTHON_USEDEP}] | ||
dev-python/nose[${PYTHON_USEDEP}] | ||
dev-python/pyte[${PYTHON_USEDEP}] | ||
) | ||
" | ||
|
||
python_test() { | ||
nosetests --verbose tests || die | ||
} |