public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/testtools: testtools-0.9.37.ebuild testtools-0.9.36.ebuild ChangeLog testtools-0.9.15.ebuild testtools-0.9.35-r1.ebuild testtools-0.9.24-r1.ebuild testtools-0.9.35.ebuild
@ 2014-10-14  8:00 Ian Delaney (idella4)
  0 siblings, 0 replies; only message in thread
From: Ian Delaney (idella4) @ 2014-10-14  8:00 UTC (permalink / raw
  To: gentoo-commits

idella4     14/10/14 08:00:41

  Modified:             testtools-0.9.36.ebuild ChangeLog
  Added:                testtools-0.9.37.ebuild
  Removed:              testtools-0.9.15.ebuild testtools-0.9.35-r1.ebuild
                        testtools-0.9.24-r1.ebuild testtools-0.9.35.ebuild
  Log:
  0.9.36.; fix / upgrade test phase, bump; drop py3.2
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)

Revision  Changes    Path
1.2                  dev-python/testtools/testtools-0.9.36.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/testtools/testtools-0.9.36.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/testtools/testtools-0.9.36.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/testtools/testtools-0.9.36.ebuild?r1=1.1&r2=1.2

Index: testtools-0.9.36.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/testtools/testtools-0.9.36.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- testtools-0.9.36.ebuild	28 Aug 2014 10:19:25 -0000	1.1
+++ testtools-0.9.36.ebuild	14 Oct 2014 08:00:41 -0000	1.2
@@ -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/testtools/testtools-0.9.36.ebuild,v 1.1 2014/08/28 10:19:25 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/testtools/testtools-0.9.36.ebuild,v 1.2 2014/10/14 08:00:41 idella4 Exp $
 
 EAPI=5
 
@@ -19,7 +19,6 @@
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
 IUSE="doc test"
-DISTUTILS_IN_SOURCE_BUILD=1
 
 RDEPEND="dev-python/mimeparse[${PYTHON_USEDEP}]
 		dev-python/extras[${PYTHON_USEDEP}]"
@@ -32,15 +31,22 @@
 	use doc && emake -C doc html
 }
 
+python_prepare_all() {
+	# Take out failing tests
+	# https://bugs.launchpad.net/testtools/+bug/1380918
+	sed -e 's:test_test_module:_&:' -e 's:test_test_suite:_&:' \
+		-i testtools/tests/test_distutilscmd.py || die
+
+	distutils-r1_python_prepare_all
+}
+
+src_test() {
+	 # Required to allow / ensure all impls to pass run of testsuite
+	local DISTUTILS_NO_PARALLEL_BUILD=1
+	distutils-r1_src_test
+}
+
 python_test() {
-	# https://bugs.launchpad.net/testtools/+bug/1191725
-	# These tests pass run from the source, a gentooism
-	if ! python_is_python3; then
-		sed -e s':test_deferredruntest:#&:g' \
-		-e s':test_spinner:#&:g' \
-		-i ${PN}/tests/__init__.py || die
-	fi
-	# Bug 509510 re python-2.7.6
 	esetup.py test
 }
 



1.96                 dev-python/testtools/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/testtools/ChangeLog,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -r1.95 -r1.96
--- ChangeLog	10 Oct 2014 15:24:37 -0000	1.95
+++ ChangeLog	14 Oct 2014 08:00:41 -0000	1.96
@@ -1,6 +1,14 @@
 # ChangeLog for dev-python/testtools
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/testtools/ChangeLog,v 1.95 2014/10/10 15:24:37 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/testtools/ChangeLog,v 1.96 2014/10/14 08:00:41 idella4 Exp $
+
+*testtools-0.9.37 (14 Oct 2014)
+
+  14 Oct 2014; Ian Delaney <idella4@gentoo.org> +testtools-0.9.37.ebuild,
+  -testtools-0.9.15.ebuild, -testtools-0.9.24-r1.ebuild,
+  -testtools-0.9.35-r1.ebuild, -testtools-0.9.35.ebuild,
+  testtools-0.9.36.ebuild:
+  0.9.36.; fix / upgrade test phase, bump; drop py3.2
 
   10 Oct 2014; Agostino Sarubbo <ago@gentoo.org> testtools-0.9.34.ebuild:
   Stable for amd64, wrt bug #506620



1.1                  dev-python/testtools/testtools-0.9.37.ebuild

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

Index: testtools-0.9.37.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/testtools/testtools-0.9.37.ebuild,v 1.1 2014/10/14 08:00:41 idella4 Exp $

EAPI=5

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

inherit distutils-r1 versionator

#SERIES="$(get_version_component_range 1-2)"
SERIES="trunk"

DESCRIPTION="Extensions to the Python unittest library"
HOMEPAGE="https://launchpad.net/testtools http://pypi.python.org/pypi/testtools"
SRC_URI="http://launchpad.net/${PN}/${SERIES}/${PV}/+download/${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE="doc test"

RDEPEND="dev-python/mimeparse[${PYTHON_USEDEP}]
		dev-python/extras[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
	dev-python/setuptools[${PYTHON_USEDEP}]
	doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
	test? ( $(python_gen_cond_dep 'dev-python/twisted-core[${PYTHON_USEDEP}]' python2_7) )"

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

python_prepare_all() {
	# Take out failing tests
	# https://bugs.launchpad.net/testtools/+bug/1380918
	sed -e 's:test_test_module:_&:' -e 's:test_test_suite:_&:' \
		-i testtools/tests/test_distutilscmd.py || die

	distutils-r1_python_prepare_all
}

src_test() {
	# Required to allow / ensure all impls to pass run of testsuite
	local DISTUTILS_NO_PARALLEL_BUILD=1
	distutils-r1_src_test
}

python_test() {
	esetup.py test
}

python_install_all() {
	use doc && HTML_DOCS=( doc/_build/html/. )
	distutils-r1_python_install_all
}





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-10-14  8:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-14  8:00 [gentoo-commits] gentoo-x86 commit in dev-python/testtools: testtools-0.9.37.ebuild testtools-0.9.36.ebuild ChangeLog testtools-0.9.15.ebuild testtools-0.9.35-r1.ebuild testtools-0.9.24-r1.ebuild testtools-0.9.35.ebuild Ian Delaney (idella4)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox