From c763593760f5a9861d3b87b54d5c64bc291c58f8 Mon Sep 17 00:00:00 2001 From: kballou Date: Tue, 30 Aug 2016 14:18:02 -0600 Subject: Add missing dependency and ebuild: Twiggy --- dev-python/Twiggy/Twiggy-0.4.7.ebuild | 38 +++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 dev-python/Twiggy/Twiggy-0.4.7.ebuild (limited to 'dev-python/Twiggy/Twiggy-0.4.7.ebuild') diff --git a/dev-python/Twiggy/Twiggy-0.4.7.ebuild b/dev-python/Twiggy/Twiggy-0.4.7.ebuild new file mode 100644 index 0000000..f4b975d --- /dev/null +++ b/dev-python/Twiggy/Twiggy-0.4.7.ebuild @@ -0,0 +1,38 @@ +# Copyright 2016 Kenny Ballou +# Distributed under the terms of the GNU General Public License v3 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=(python2_7 python3_{3,4} pypy) + +inherit distutils-r1 + +MY_P=${PN}_${PV} + +DESCRIPTION="Twiggy is a pythonic logger" +HOMEPAGE="https://github.com/wearpants/twiggy" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="test" + +RDEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + dev-python/unittest2[${PYTHON_USEDEP}] + dev-python/tox[${PYTHON_USEDEP}] )" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +src_prepare() { + pushd "${S}" + mv tests twiggy/. + rm -r doc scripts + popd + distutils-r1_python_prepare_all +} + +python_test() { + tox || die +} -- cgit v1.2.1