commit: 5876dee9a65a096f8775eeb3501be46b7a648658 Author: Tiziano Müller <dev-zero <AT> gentoo <DOT> org> AuthorDate: Thu Jul 7 14:09:22 2016 +0000 Commit: Tiziano Müller <dev-zero <AT> gentoo <DOT> org> CommitDate: Thu Jul 7 14:09:22 2016 +0000 URL: https://gitweb.gentoo.org/dev/dev-zero.git/commit/?id=5876dee9
dev-python/fabulous: initial commit dev-python/fabulous/Manifest | 1 + dev-python/fabulous/fabulous-0.2.0.ebuild | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/dev-python/fabulous/Manifest b/dev-python/fabulous/Manifest new file mode 100644 index 0000000..10dbbd8 --- /dev/null +++ b/dev-python/fabulous/Manifest @@ -0,0 +1 @@ +DIST fabulous-0.2.0.tar.gz 677805 SHA256 7d6983b3aae2e91adf5461a60d4a233a87ffca518ef1380758b07925d212e80e SHA512 96608c1404fc7ce5aa51c82d687cdd54961149d3617bdee1e5b4828db250f9c5fc6ea6c07064c6140c9f27d1bc4e379f01a55124a22f75ca13be2c906bea9886 WHIRLPOOL 3c5df8c9d3c5836bf303f1b385e458991b5f200576296c5789a3f3ee84522bfac58b8aa8b67a6c183de6c14129fb2d70f9ea9f54e1d3d052c6e0e24c52816b2b diff --git a/dev-python/fabulous/fabulous-0.2.0.ebuild b/dev-python/fabulous/fabulous-0.2.0.ebuild new file mode 100644 index 0000000..c8a8015 --- /dev/null +++ b/dev-python/fabulous/fabulous-0.2.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="ncurses" + +inherit distutils-r1 eutils + +DESCRIPTION="Makes your terminal output totally fabulous" +HOMEPAGE="https://jart.github.io/fabulous https://pypi.python.org/pypi/fabulous" +SRC_URI="https://github.com/jart/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +# tarball on pypi does not contain tests +LICENSE="Apache-2.0 OFL" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND="" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pillow[${PYTHON_USEDEP}] )" + +python_test() { + ${PYTHON} -m doctest -v fabulous/*.py || die +} + +pkg_postinst() { + optfeature "Image conversion/display support" dev-python/pillow +}