1 |
commit: 6de7d9b5c364ee013814b9e549ac792ec633e0c8 |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 28 13:00:04 2017 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 28 13:00:04 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6de7d9b5 |
7 |
|
8 |
dev-python/blessings: python3_6 added |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-python/blessings/blessings-1.6-r1.ebuild | 27 +++++++++++++++++++++++++++ |
13 |
1 file changed, 27 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/blessings/blessings-1.6-r1.ebuild b/dev-python/blessings/blessings-1.6-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000000..043d3a9475 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/blessings/blessings-1.6-r1.ebuild |
20 |
@@ -0,0 +1,27 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id: 24cc890b6e483ab811ab4f3d90918b52192207ec $ |
24 |
+ |
25 |
+EAPI=5 |
26 |
+ |
27 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
28 |
+ |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+DESCRIPTION="A thin, practical wrapper around terminal coloring, styling, and positioning" |
32 |
+HOMEPAGE="https://github.com/erikrose/blessings https://pypi.python.org/pypi/blessings/" |
33 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
34 |
+ |
35 |
+SLOT="0" |
36 |
+LICENSE="MIT" |
37 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
38 |
+IUSE="test" |
39 |
+ |
40 |
+DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )" |
41 |
+ |
42 |
+python_test() { |
43 |
+ # The tests need an interactive terminal |
44 |
+ # https://github.com/erikrose/blessings/issues/117 |
45 |
+ script -eqc "nosetests -w \"${BUILD_DIR}\"" /dev/null \ |
46 |
+ || die "tests failed with ${EPYTHON}" |
47 |
+} |