idella4     15/01/17 07:03:15

  Modified:             ChangeLog
  Added:                testify-0.5.7.ebuild
  Removed:              testify-0.5.6.ebuild
  Log:
  bump, unrestrict test phase, re-write of test phase, rm old
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
0xB8072B0D)

Revision  Changes    Path
1.19                 dev-python/testify/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/testify/ChangeLog,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- ChangeLog   27 Oct 2014 08:55:20 -0000      1.18
+++ ChangeLog   17 Jan 2015 07:03:15 -0000      1.19
@@ -1,6 +1,12 @@
 # ChangeLog for dev-python/testify
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/testify/ChangeLog,v 1.18 
2014/10/27 08:55:20 idella4 Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/testify/ChangeLog,v 1.19 
2015/01/17 07:03:15 idella4 Exp $
+
+*testify-0.5.7 (17 Jan 2015)
+
+  17 Jan 2015; Ian Delaney <idel...@gentoo.org> +testify-0.5.7.ebuild,
+  -testify-0.5.6.ebuild:
+  bump, unrestrict test phase, re-write of test phase, rm old
 
 *testify-0.5.6 (27 Oct 2014)
 



1.1                  dev-python/testify/testify-0.5.7.ebuild

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

Index: testify-0.5.7.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/testify/testify-0.5.7.ebuild,v 
1.1 2015/01/17 07:03:15 idella4 Exp $

EAPI=5

# Still appears to no support >=py3.3
PYTHON_COMPAT=( python2_7 pypy )

inherit distutils-r1 vcs-snapshot

DESCRIPTION="A more pythonic replacement for the unittest module and nose"
HOMEPAGE="https://github.com/Yelp/testify http://pypi.python.org/pypi/testify/";
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"

RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]
        dev-python/sqlalchemy[${PYTHON_USEDEP}]
        dev-python/mock[${PYTHON_USEDEP}]
        www-servers/tornado[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
        test? ( ${RDEPEND} )"

python_prepare_all() {
        # Correct typo in setup.py
        sed -e 's:mock,:mock:' -i setup.py || die
        # Correct use of local importing in test_ file
        sed -e s':from .test_runner_subdir:from test.test_runner_subdir:' \
                -e s':from .test_runner_bucketing:from 
test.test_runner_bucketing:' \
                -i test/test_runner_test.py || die

        distutils-r1_python_prepare_all
}

python_test() {
        PYTHONPATH="${PYTHONPATH}:${S}"
        for test in test/*_test.py;
        do
                "${PYTHON}" $test || die "test $test failed under ${EPYTHON}"
        done
}




Reply via email to