idella4 14/10/10 07:03:23 Modified: flask-9999.ebuild flask-0.10.1-r1.ebuild ChangeLog Log: update ebuilds re test phase; -9999, update test phase with new test runner, tidy install of examples (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Revision Changes Path 1.9 dev-python/flask/flask-9999.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/flask-9999.ebuild?rev=1.9&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/flask-9999.ebuild?rev=1.9&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/flask-9999.ebuild?r1=1.8&r2=1.9 Index: flask-9999.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/flask/flask-9999.ebuild,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- flask-9999.ebuild 11 Aug 2014 22:26:08 -0000 1.8 +++ flask-9999.ebuild 10 Oct 2014 07:03:23 -0000 1.9 @@ -1,16 +1,14 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/flask-9999.ebuild,v 1.8 2014/08/11 22:26:08 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/flask-9999.ebuild,v 1.9 2014/10/10 07:03:23 idella4 Exp $ EAPI="5" PYTHON_COMPAT=( python{2_7,3_3,3_4} ) -inherit distutils-r1 -#if LIVE -inherit git-2 +inherit distutils-r1 git-2 + EGIT_REPO_URI="git://github.com/mitsuhiko/flask.git https://github.com/mitsuhiko/flask.git" -#endif DESCRIPTION="A microframework based on Werkzeug, Jinja2 and good intentions" MY_PN="Flask" @@ -28,7 +26,8 @@ >=dev-python/jinja-2.4[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}] >=dev-python/werkzeug-0.7[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND}" +DEPEND="${RDEPEND} + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" S="${WORKDIR}/${MY_P}" #if LIVE @@ -37,13 +36,10 @@ #endif python_test() { - "${PYTHON}" run-tests.py || die "Testing failed with ${EPYTHON}" + py.test tests || die "Testing failed with ${EPYTHON}" } python_install_all() { - if use examples; then - insinto /usr/share/doc/${PF} - doins -r examples - docompress -x /usr/share/doc/${PF}/examples - fi + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all } 1.11 dev-python/flask/flask-0.10.1-r1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/flask-0.10.1-r1.ebuild?rev=1.11&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/flask-0.10.1-r1.ebuild?rev=1.11&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/flask-0.10.1-r1.ebuild?r1=1.10&r2=1.11 Index: flask-0.10.1-r1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/flask/flask-0.10.1-r1.ebuild,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- flask-0.10.1-r1.ebuild 29 Sep 2014 03:30:24 -0000 1.10 +++ flask-0.10.1-r1.ebuild 10 Oct 2014 07:03:23 -0000 1.11 @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/flask-0.10.1-r1.ebuild,v 1.10 2014/09/29 03:30:24 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/flask-0.10.1-r1.ebuild,v 1.11 2014/10/10 07:03:23 idella4 Exp $ EAPI="5" PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) @@ -16,7 +16,7 @@ LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" -IUSE="examples test" +IUSE="examples" RDEPEND="dev-python/blinker[${PYTHON_USEDEP}] >=dev-python/itsdangerous-0.21[${PYTHON_USEDEP}] @@ -33,22 +33,7 @@ "${FILESDIR}"/${P}-sort_json.patch "${FILESDIR}"/${P}-test_appcontext.patch ) -python_prepare_all() { - # https://github.com/mitsuhiko/flask/issues/837 - sed -e s':test_uninstalled_package_paths:_&:' \ - -i flask/testsuite/config.py || die - - distutils-r1_python_prepare_all -} - python_test() { - # https://github.com/mitsuhiko/flask/issues/837, 1047 - if [[ "${EPYTHON}" == pypy ]]; then - sed -e s':test_build_error_handler:_&:' \ - -i flask/testsuite/basic.py || die - sed -e s':test_session_transactions_no_null_sessions:_&:' \ - -i flask/testsuite/testing.py || die - fi "${PYTHON}" run-tests.py || die "Testing failed with ${EPYTHON}" } 1.36 dev-python/flask/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/ChangeLog?rev=1.36&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/ChangeLog?rev=1.36&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask/ChangeLog?r1=1.35&r2=1.36 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/flask/ChangeLog,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- ChangeLog 29 Sep 2014 03:30:24 -0000 1.35 +++ ChangeLog 10 Oct 2014 07:03:23 -0000 1.36 @@ -1,6 +1,11 @@ # ChangeLog for dev-python/flask # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/ChangeLog,v 1.35 2014/09/29 03:30:24 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/flask/ChangeLog,v 1.36 2014/10/10 07:03:23 idella4 Exp $ + + 10 Oct 2014; Ian Delaney <idel...@gentoo.org> flask-0.10.1-r1.ebuild, + flask-9999.ebuild: + update ebuilds re test phase; -9999, update test phase with new test runner, + tidy install of examples 29 Sep 2014; Ian Delaney <idel...@gentoo.org> +files/flask-0.10.1-sort_json.patch,