idella4     15/01/25 05:06:09

  Modified:             pbr-0.8.0.ebuild ChangeLog
  Added:                pbr-0.8.2-r1.ebuild
  Log:
  revbump; minor tidy, exclude tests found to require installed state of 
package (which pass once installed), remove un-needed run by flake8 in test 
phase
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
0xB8072B0D)

Revision  Changes    Path
1.7                  dev-python/pbr/pbr-0.8.0.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pbr/pbr-0.8.0.ebuild?rev=1.7&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pbr/pbr-0.8.0.ebuild?rev=1.7&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pbr/pbr-0.8.0.ebuild?r1=1.6&r2=1.7

Index: pbr-0.8.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pbr/pbr-0.8.0.ebuild,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- pbr-0.8.0.ebuild    20 Aug 2014 20:37:21 -0000      1.6
+++ pbr-0.8.0.ebuild    25 Jan 2015 05:06:09 -0000      1.7
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pbr/pbr-0.8.0.ebuild,v 1.6 
2014/08/20 20:37:21 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pbr/pbr-0.8.0.ebuild,v 1.7 
2015/01/25 05:06:09 idella4 Exp $
 
 EAPI=5
 PYTHON_COMPAT=( python{2_7,3_3} )
@@ -33,8 +33,6 @@
 
 # Requ'd for testsuite
 DISTUTILS_IN_SOURCE_BUILD=1
-# You can do this in about 3 different ways; throw it in a src_test() and 
prepend it to a
-# distutils-r1_src_test or os it a distutils-r1_python_test, but really it 
makes for a HUGE 'meh'
 
 # This normally actually belongs here.
 python_prepare_all() {
@@ -47,5 +45,4 @@
 python_test() {
        testr init
        testr run || die "Testsuite failed under ${EPYTHON}"
-       flake8 "${PN}"/tests || die "Run over tests folder by flake8 drew error"
 }



1.24                 dev-python/pbr/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pbr/ChangeLog,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- ChangeLog   1 Jan 2015 21:28:00 -0000       1.23
+++ ChangeLog   25 Jan 2015 05:06:09 -0000      1.24
@@ -1,6 +1,13 @@
 # ChangeLog for dev-python/pbr
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pbr/ChangeLog,v 1.23 2015/01/01 
21:28:00 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pbr/ChangeLog,v 1.24 2015/01/25 
05:06:09 idella4 Exp $
+
+*pbr-0.8.2-r1 (25 Jan 2015)
+
+  25 Jan 2015; Ian Delaney <[email protected]> +pbr-0.8.2-r1.ebuild,
+  pbr-0.8.0.ebuild:
+  revbump; minor tidy, exclude tests found to require installed state of 
package
+  (which pass once installed), remove un-needed run by flake8 in test phase
 
   01 Jan 2015; Markus Meier <[email protected]> pbr-0.8.2.ebuild:
   arm stable, bug #530600



1.1                  dev-python/pbr/pbr-0.8.2-r1.ebuild

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

Index: pbr-0.8.2-r1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pbr/pbr-0.8.2-r1.ebuild,v 1.1 
2015/01/25 05:06:09 idella4 Exp $

EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} )

inherit distutils-r1

DESCRIPTION="PBR is a library that injects some useful and sensible default
behaviors into your setuptools run."
HOMEPAGE="https://github.com/openstack-dev/pbr";
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux"
IUSE="test"

DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
        test? ( >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
                >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
                >=dev-python/flake8-2.0[${PYTHON_USEDEP}]
                >=dev-python/mock-1.0[${PYTHON_USEDEP}]
                >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
                >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
                dev-python/sphinx[${PYTHON_USEDEP}]
                >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
                >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
                >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
                >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] )"
RDEPEND=">dev-python/pip-1.4[${PYTHON_USEDEP}]"

# Requ'd for testsuite
DISTUTILS_IN_SOURCE_BUILD=1

# This normally actually belongs here.
python_prepare_all() {
        # This test passes when run within the source and doesn't represent a 
failure, but rather
        # a gentoo sandbox constraint
        # Rm tests that rely upon the package being already installed and fail
        sed -e s':test_console_script_develop:_&:' \
                -e s':test_console_script_install:_&:' \
                -e s':test_sdist_extra_files:_&:' \
                -e s':test_command_hooks:_&:' \
                -e s':test_sdist_git_extra_files:_&:' \
                -i pbr/tests/test_core.py || die
        sed -e s':test_command_hooks:_&:' \
                -e s':test_global_setup_hooks:_&:' \
                -i pbr/tests/test_hooks.py || die
        einfo "rogue tests disabled"

        distutils-r1_python_prepare_all
}

python_test() {
        # Note; removed tests pass once package is emerged, 
        # it's the suite's design that breaks form, not the tests' intended 
purpose
        testr init
        testr run || die "Testsuite failed under ${EPYTHON}"
}




Reply via email to