You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
840 B

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/tdaemon/tdaemon-0.1.6.ebuild,v 1.1 2013/06/15 16:02:39 tampakrap Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
inherit distutils-r1
DESCRIPTION="Test Daemon"
HOMEPAGE="http://github.com/brunobord/tdaemon"
SRC_URI="https://github.com/tampakrap/tdaemon/archive/v${PV}.tar.gz"
KEYWORDS="~amd64 ~x86"
IUSE="coverage"
LICENSE="MIT"
SLOT="0"
RDEPEND="dev-python/notify-python[${PYTHON_USEDEP}]
virtual/python-argparse[${PYTHON_USEDEP}]
coverage? ( dev-python/coverage[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
python_test() {
if "${PYTHON}" -m test; then
einfo "Test passed under ${EPYTHON}"
else
die "Test failed under ${EPYTHON}"
fi
}