idella4     15/06/13 05:24:52

  Modified:             ChangeLog
  Added:                doit-0.28.0.ebuild
  Removed:              doit-0.23.0.ebuild doit-0.20.0.ebuild
  Log:
  bump add arch x86, update deps tests and test phase
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
0xB8072B0D)

Revision  Changes    Path
1.15                 dev-python/doit/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/doit/ChangeLog?rev=1.15&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/doit/ChangeLog?rev=1.15&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/doit/ChangeLog?r1=1.14&r2=1.15

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/doit/ChangeLog,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ChangeLog   3 Jun 2015 17:53:18 -0000       1.14
+++ ChangeLog   13 Jun 2015 05:24:52 -0000      1.15
@@ -1,6 +1,12 @@
 # ChangeLog for dev-python/doit
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/doit/ChangeLog,v 1.14 2015/06/03 
17:53:18 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/doit/ChangeLog,v 1.15 2015/06/13 
05:24:52 idella4 Exp $
+
+*doit-0.28.0 (13 Jun 2015)
+
+  13 Jun 2015; Ian Delaney <[email protected]> +doit-0.28.0.ebuild,
+  -doit-0.20.0.ebuild, -doit-0.23.0.ebuild:
+  bump add arch x86, update deps tests and test phase
 
   03 Jun 2015; Justin Lecher <[email protected]> metadata.xml:
   Add pypi to remote-id in metadata.xml



1.1                  dev-python/doit/doit-0.28.0.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/doit/doit-0.28.0.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/doit/doit-0.28.0.ebuild?rev=1.1&content-type=text/plain

Index: doit-0.28.0.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/doit/doit-0.28.0.ebuild,v 1.1 
2015/06/13 05:24:52 idella4 Exp $

EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
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 ~x86"
IUSE="doc test"

RDEPEND="
        dev-python/pyinotify[${PYTHON_USEDEP}]
        dev-python/six[${PYTHON_USEDEP}]
        >=dev-python/doit-py-0.3.0[${PYTHON_USEDEP}]
        $(python_gen_cond_dep 'dev-python/configparser[${PYTHON_USEDEP}]' 
python2_7 pypy)
        doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
DEPEND="test? ( ${RDEPEND}
                dev-python/pytest[${PYTHON_USEDEP}]
                dev-python/mock[${PYTHON_USEDEP}]
                dev-python/pyflakes[${PYTHON_USEDEP}]
                dev-python/coverage[${PYTHON_USEDEP}] )"

PY27_REQUSE="$(python_gen_useflags 'python2.7')"
REQUIRED_USE="doc? ( ${PY27_REQUSE} )"

# Required for test phase
DISTUTILS_IN_SOURCE_BUILD=1

python_prepare_all() {
        # Disable test failing due to impact on PATH run in a sandbox
        sed -e s':test_target:_&:' -i tests/test_cmd_strace.py || die

        # Test requires connection to an absent database
        sed -e s':testIgnoreAll:_&:' -i tests/test_cmd_ignore.py || die

        distutils-r1_python_prepare_all
}

python_compile_all() {
        use doc && emake -C doc html
}

python_test() {
        local -x TMPDIR="${T}"
        # disable tests where pypy's treatment of some tests' use of a db is 
incompatible

        if [[ "${EPYTHON}" == pypy ]]; then
                sed -e 's:test_remove_all:_&:' -i tests/test_dependency.py || 
die
                sed -e 's:testForgetAll:_&:' -i tests/test_cmd_forget.py || die
                sed -e 's:test_not_picklable:_&:' \
                        -e 's:test_task_not_picklabe_multiprocess:_&:' \
                        -i tests/test_runner.py || die
        fi

        py.test || die "Tests failed under ${EPYTHON}"
}

src_install() {
        use doc && HTML_DOCS=( doc/_build/html/. )

        distutils-r1_src_install
}




Reply via email to