From 501fea68889b22047febb52aedb654325b204735 Mon Sep 17 00:00:00 2001 From: Ben de Groot Date: Sun, 6 Oct 2013 05:58:37 +0000 Subject: version bump (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x2B2474AD43CE296E!) --- dev-python/doit/ChangeLog | 7 ++++- dev-python/doit/doit-0.23.0.ebuild | 52 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 dev-python/doit/doit-0.23.0.ebuild (limited to 'dev-python/doit') diff --git a/dev-python/doit/ChangeLog b/dev-python/doit/ChangeLog index d34130e4b605..24ed581075bd 100644 --- a/dev-python/doit/ChangeLog +++ b/dev-python/doit/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/doit # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/doit/ChangeLog,v 1.5 2013/07/22 10:10:30 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/doit/ChangeLog,v 1.6 2013/10/06 05:58:37 yngwin Exp $ + +*doit-0.23.0 (06 Oct 2013) + + 06 Oct 2013; Ben de Groot +doit-0.23.0.ebuild: + version bump 22 Jul 2013; Michał Górny -doit-0.16.1.ebuild: Drop the old version using long-deprecated python-distutils-ng.eclass. diff --git a/dev-python/doit/doit-0.23.0.ebuild b/dev-python/doit/doit-0.23.0.ebuild new file mode 100644 index 000000000000..307b0d422260 --- /dev/null +++ b/dev-python/doit/doit-0.23.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/doit/doit-0.23.0.ebuild,v 1.1 2013/10/06 05:58:36 yngwin Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 ) +inherit eutils distutils-r1 + +DESCRIPTION="Automation tool" +HOMEPAGE="http://python-doit.sourceforge.net/ http://pypi.python.org/pypi/doit" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="" +RDEPEND="dev-python/pyinotify[${PYTHON_USEDEP}]" + +python_prepare_all() { + use test && DISTUTILS_IN_SOURCE_BUILD=1 + sed -e 's:from .conf:from conf:' -i tests/test_dependency.py || die + distutils-r1_python_prepare_all +} + +python_test() { + local test + # https://bitbucket.org/schettino72/doit/issue/48/test-suite-has-me-perplexed-doit-0200 + # "${PYTHON}" runtests.py # How it's supposed to work + # How it works + if [[ "${EPYTHON}" == python3* ]]; then + einfo "tests don't work for py3" + else + for test in tests/test_*.py + do + if ! "${PYTHON}" $test; then + die "Test $test failed under ${EPYTHON}" + else + einfo "Test ${test#tests/} passed under ${EPYTHON}" + fi + done + fi +} + +src_install() { + distutils-r1_src_install + + dodoc AUTHORS CHANGES README TODO.txt dev_requirements.txt + dodoc -r doc + docompress -x /usr/share/doc/${PF}/doc +} -- cgit v1.2.3-65-gdbad