Gentoo Archives: gentoo-commits

From: "Tiziano Müller" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/dev-zero:master commit in: dev-python/fabulous/
Date: Thu, 07 Jul 2016 14:09:38
Message-Id: 1467900562.5876dee9a65a096f8775eeb3501be46b7a648658.dev-zero@gentoo
1 commit: 5876dee9a65a096f8775eeb3501be46b7a648658
2 Author: Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 7 14:09:22 2016 +0000
4 Commit: Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 7 14:09:22 2016 +0000
6 URL: https://gitweb.gentoo.org/dev/dev-zero.git/commit/?id=5876dee9
7
8 dev-python/fabulous: initial commit
9
10 dev-python/fabulous/Manifest | 1 +
11 dev-python/fabulous/fabulous-0.2.0.ebuild | 30 ++++++++++++++++++++++++++++++
12 2 files changed, 31 insertions(+)
13
14 diff --git a/dev-python/fabulous/Manifest b/dev-python/fabulous/Manifest
15 new file mode 100644
16 index 0000000..10dbbd8
17 --- /dev/null
18 +++ b/dev-python/fabulous/Manifest
19 @@ -0,0 +1 @@
20 +DIST fabulous-0.2.0.tar.gz 677805 SHA256 7d6983b3aae2e91adf5461a60d4a233a87ffca518ef1380758b07925d212e80e SHA512 96608c1404fc7ce5aa51c82d687cdd54961149d3617bdee1e5b4828db250f9c5fc6ea6c07064c6140c9f27d1bc4e379f01a55124a22f75ca13be2c906bea9886 WHIRLPOOL 3c5df8c9d3c5836bf303f1b385e458991b5f200576296c5789a3f3ee84522bfac58b8aa8b67a6c183de6c14129fb2d70f9ea9f54e1d3d052c6e0e24c52816b2b
21
22 diff --git a/dev-python/fabulous/fabulous-0.2.0.ebuild b/dev-python/fabulous/fabulous-0.2.0.ebuild
23 new file mode 100644
24 index 0000000..c8a8015
25 --- /dev/null
26 +++ b/dev-python/fabulous/fabulous-0.2.0.ebuild
27 @@ -0,0 +1,30 @@
28 +# Copyright 1999-2016 Gentoo Foundation
29 +# Distributed under the terms of the GNU General Public License v2
30 +# $Id$
31 +
32 +EAPI=6
33 +PYTHON_COMPAT=( python2_7 )
34 +PYTHON_REQ_USE="ncurses"
35 +
36 +inherit distutils-r1 eutils
37 +
38 +DESCRIPTION="Makes your terminal output totally fabulous"
39 +HOMEPAGE="https://jart.github.io/fabulous https://pypi.python.org/pypi/fabulous"
40 +SRC_URI="https://github.com/jart/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
41 +# tarball on pypi does not contain tests
42 +LICENSE="Apache-2.0 OFL"
43 +SLOT="0"
44 +KEYWORDS="~amd64"
45 +IUSE="test"
46 +
47 +RDEPEND=""
48 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
49 + test? ( dev-python/pillow[${PYTHON_USEDEP}] )"
50 +
51 +python_test() {
52 + ${PYTHON} -m doctest -v fabulous/*.py || die
53 +}
54 +
55 +pkg_postinst() {
56 + optfeature "Image conversion/display support" dev-python/pillow
57 +}