public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/encore: encore-0.3.ebuild ChangeLog
@ 2013-04-05 18:17 Mike Gilbert (floppym)
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Gilbert (floppym) @ 2013-04-05 18:17 UTC (permalink / raw
  To: gentoo-commits

floppym     13/04/05 18:17:20

  Modified:             encore-0.3.ebuild ChangeLog
  Log:
  Cleanup ebuild. Add missing deps for setuptools and nose.
  
  (Portage version: 2.2.0_alpha171/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)

Revision  Changes    Path
1.2                  dev-python/encore/encore-0.3.ebuild

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

Index: encore-0.3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/encore/encore-0.3.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- encore-0.3.ebuild	5 Apr 2013 14:19:00 -0000	1.1
+++ encore-0.3.ebuild	5 Apr 2013 18:17:20 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/encore/encore-0.3.ebuild,v 1.1 2013/04/05 14:19:00 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/encore/encore-0.3.ebuild,v 1.2 2013/04/05 18:17:20 floppym Exp $
 
 EAPI=5
 
@@ -18,30 +18,31 @@
 IUSE="doc examples test"
 
 RDEPEND=""
-DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
-	test? ( dev-python/futures[${PYTHON_USEDEP}] )"
+DEPEND="${RDEPEND}
+	dev-python/setuptools[${PYTHON_USEDEP}]
+	doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+	test? (
+		dev-python/futures[${PYTHON_USEDEP}]
+		dev-python/nose[${PYTHON_USEDEP}]
+	)"
 
-DOCS="dataflow.txt"
-
-python_prepare_all() {
-	# use of port 8080 is highly prone to prior use on testing
-	sed -e 's:self.port = 8080:self.port = 8020:' \
-		 -i encore/storage/tests/static_url_store_test.py || die
-}
+DOCS=( dataflow.txt )
 
 python_compile_all() {
-	use doc && PYTHONPATH="$(ls -1d ${S}/build*/lib | head -n1)" \
-		emake -C docs html
+	use doc && emake -C docs html
 }
 
 python_test() {
-	# as set for py2.6 in 0.2, likely due to tests coded to import only unittest
-	[[ "${EPYTHON:6:3}" = '2.6' ]] && return
+	if [[ ${EPYTHON} == python2.6 ]]; then
+		ewarn "Tests disabled for ${EPYTHON}"
+		return 0
+	fi
 	nosetests || die
 }
 
 python_install_all() {
-	find -name "*LICENSE*.txt" -delete
+	distutils-r1_python_install_all
+
 	use doc && dohtml -r docs/build/html/*
 
 	if use examples; then



1.3                  dev-python/encore/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/encore/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ChangeLog	5 Apr 2013 14:19:00 -0000	1.2
+++ ChangeLog	5 Apr 2013 18:17:20 -0000	1.3
@@ -1,6 +1,9 @@
 # ChangeLog for dev-python/encore
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/encore/ChangeLog,v 1.2 2013/04/05 14:19:00 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/encore/ChangeLog,v 1.3 2013/04/05 18:17:20 floppym Exp $
+
+  05 Apr 2013; Mike Gilbert <floppym@gentoo.org> encore-0.3.ebuild:
+  Cleanup ebuild. Add missing deps for setuptools and nose.
 
 *encore-0.3 (05 Apr 2013)
 





^ permalink raw reply	[flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-python/encore: encore-0.3.ebuild ChangeLog
@ 2013-04-05 14:19 Ian Delaney (idella4)
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Delaney (idella4) @ 2013-04-05 14:19 UTC (permalink / raw
  To: gentoo-commits

idella4     13/04/05 14:19:00

  Modified:             ChangeLog
  Added:                encore-0.3.ebuild
  Log:
  bump
  
  (Portage version: 2.1.11.60/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)

Revision  Changes    Path
1.2                  dev-python/encore/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/encore/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ChangeLog	6 Dec 2012 18:24:08 -0000	1.1
+++ ChangeLog	5 Apr 2013 14:19:00 -0000	1.2
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/encore
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/encore/ChangeLog,v 1.1 2012/12/06 18:24:08 bicatali Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/encore/ChangeLog,v 1.2 2013/04/05 14:19:00 idella4 Exp $
+
+*encore-0.3 (05 Apr 2013)
+
+  05 Apr 2013; Ian Delaney <idella4@gentoo.org> +encore-0.3.ebuild:
+  bump
 
 *encore-0.2 (06 Dec 2012)
 



1.1                  dev-python/encore/encore-0.3.ebuild

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

Index: encore-0.3.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/encore/encore-0.3.ebuild,v 1.1 2013/04/05 14:19:00 idella4 Exp $

EAPI=5

PYTHON_COMPAT=( python{2_6,2_7} )

inherit distutils-r1

DESCRIPTION="Enthought Tool Suite: collection of core-level utility modules"
HOMEPAGE="https://github.com/enthought/encore"
SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"

RDEPEND=""
DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
	test? ( dev-python/futures[${PYTHON_USEDEP}] )"

DOCS="dataflow.txt"

python_prepare_all() {
	# use of port 8080 is highly prone to prior use on testing
	sed -e 's:self.port = 8080:self.port = 8020:' \
		 -i encore/storage/tests/static_url_store_test.py || die
}

python_compile_all() {
	use doc && PYTHONPATH="$(ls -1d ${S}/build*/lib | head -n1)" \
		emake -C docs html
}

python_test() {
	# as set for py2.6 in 0.2, likely due to tests coded to import only unittest
	[[ "${EPYTHON:6:3}" = '2.6' ]] && return
	nosetests || die
}

python_install_all() {
	find -name "*LICENSE*.txt" -delete
	use doc && dohtml -r docs/build/html/*

	if use examples; then
		insinto /usr/share/doc/${PF}
		doins -r examples
	fi
}





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-05 18:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-05 18:17 [gentoo-commits] gentoo-x86 commit in dev-python/encore: encore-0.3.ebuild ChangeLog Mike Gilbert (floppym)
  -- strict thread matches above, loose matches on Subject: below --
2013-04-05 14:19 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