public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/wtforms: wtforms-0.4.ebuild
@ 2009-10-16 19:19 Arfrever Frehtes Taifersar Arahesis (arfrever)
  0 siblings, 0 replies; 2+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2009-10-16 19:19 UTC (permalink / raw
  To: gentoo-commits

arfrever    09/10/16 19:19:20

  Modified:             wtforms-0.4.ebuild
  Log:
  Improve src_test().
  (Portage version: 14611-svn/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  dev-python/wtforms/wtforms-0.4.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/wtforms/wtforms-0.4.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/wtforms/wtforms-0.4.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/wtforms/wtforms-0.4.ebuild?r1=1.1&r2=1.2

Index: wtforms-0.4.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/wtforms/wtforms-0.4.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- wtforms-0.4.ebuild	16 Oct 2009 10:02:48 -0000	1.1
+++ wtforms-0.4.ebuild	16 Oct 2009 19:19:19 -0000	1.2
@@ -1,7 +1,8 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/wtforms/wtforms-0.4.ebuild,v 1.1 2009/10/16 10:02:48 djc Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/wtforms/wtforms-0.4.ebuild,v 1.2 2009/10/16 19:19:19 arfrever Exp $
 
+EAPI="2"
 SUPPORT_PYTHON_ABIS="1"
 
 inherit distutils
@@ -12,8 +13,8 @@
 DESCRIPTION="Flexible forms validation and rendering library for python web development"
 HOMEPAGE="http://wtforms.simplecodes.com/"
 SRC_URI="http://pypi.python.org/packages/source/W/${MY_PN}/${MY_P}.zip"
-LICENSE="BSD"
 
+LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="doc"
@@ -29,20 +30,23 @@
 src_compile() {
 	distutils_src_compile
 	if use doc; then
-		cd "${S}/docs"
+		cd docs
 		PYTHONPATH=.. emake html || die "Building of documentation failed"
 	fi
 }
 
+src_test() {
+	testing() {
+		pushd tests > /dev/null
+		"$(PYTHON)" runtests.py || return 1
+		popd > /dev/null
+	}
+	python_execute_function testing
+}
+
 src_install() {
 	distutils_src_install
 	if use doc; then
 		dohtml -r docs/_build/html/* || die "Installation of documentation failed"
 	fi
 }
-
-src_test() {
-	distutils_python_version
-	cd tests
-	"${python}" runtests.py || die "Tests failed."
-}






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

* [gentoo-commits] gentoo-x86 commit in dev-python/wtforms: wtforms-0.4.ebuild
@ 2009-11-23  1:13 Arfrever Frehtes Taifersar Arahesis (arfrever)
  0 siblings, 0 replies; 2+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2009-11-23  1:13 UTC (permalink / raw
  To: gentoo-commits

arfrever    09/11/23 01:13:08

  Modified:             wtforms-0.4.ebuild
  Log:
  Update HOMEPAGE.
  (Portage version: 14874-svn/cvs/Linux x86_64)

Revision  Changes    Path
1.3                  dev-python/wtforms/wtforms-0.4.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/wtforms/wtforms-0.4.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/wtforms/wtforms-0.4.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/wtforms/wtforms-0.4.ebuild?r1=1.2&r2=1.3

Index: wtforms-0.4.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/wtforms/wtforms-0.4.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- wtforms-0.4.ebuild	16 Oct 2009 19:19:19 -0000	1.2
+++ wtforms-0.4.ebuild	23 Nov 2009 01:13:08 -0000	1.3
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/wtforms/wtforms-0.4.ebuild,v 1.2 2009/10/16 19:19:19 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/wtforms/wtforms-0.4.ebuild,v 1.3 2009/11/23 01:13:08 arfrever Exp $
 
 EAPI="2"
 SUPPORT_PYTHON_ABIS="1"
@@ -11,7 +11,7 @@
 MY_P="${MY_PN}-${PV}"
 
 DESCRIPTION="Flexible forms validation and rendering library for python web development"
-HOMEPAGE="http://wtforms.simplecodes.com/"
+HOMEPAGE="http://wtforms.simplecodes.com/ http://pypi.python.org/pypi/WTForms"
 SRC_URI="http://pypi.python.org/packages/source/W/${MY_PN}/${MY_P}.zip"
 
 LICENSE="BSD"
@@ -36,10 +36,9 @@
 }
 
 src_test() {
+	cd tests
 	testing() {
-		pushd tests > /dev/null
-		"$(PYTHON)" runtests.py || return 1
-		popd > /dev/null
+		"$(PYTHON)" runtests.py
 	}
 	python_execute_function testing
 }






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

end of thread, other threads:[~2009-11-23  1:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-23  1:13 [gentoo-commits] gentoo-x86 commit in dev-python/wtforms: wtforms-0.4.ebuild Arfrever Frehtes Taifersar Arahesis (arfrever)
  -- strict thread matches above, loose matches on Subject: below --
2009-10-16 19:19 Arfrever Frehtes Taifersar Arahesis (arfrever)

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