[python-tg-devtools] - Pre-RC1 development snapshot - Get the test suite running

Luke Macken lmacken at fedoraproject.org
Thu Sep 30 19:12:56 UTC 2010


commit 112ed0a575d6f7718afb2e22fd329e78e5aca1d1
Author: Luke Macken <lmacken at redhat.com>
Date:   Thu Sep 30 15:11:12 2010 -0400

    - Pre-RC1 development snapshot
    - Get the test suite running

 .gitignore                          |    1 +
 python-tg-devtools-test_admin.patch |   22 ----------------------
 python-tg-devtools.spec             |   14 +++++++++-----
 sources                             |    2 +-
 4 files changed, 11 insertions(+), 28 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0d8a720..2e07e2b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 tg.devtools-2.1b2.tar.gz
+/tg.devtools-2.1b2dev.tar.gz
diff --git a/python-tg-devtools.spec b/python-tg-devtools.spec
index a0d381b..d1218d1 100644
--- a/python-tg-devtools.spec
+++ b/python-tg-devtools.spec
@@ -1,11 +1,11 @@
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 %{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
 
-%global betaver b2
+%global betaver b2dev
 
 Name:           python-tg-devtools
 Version:        2.1
-Release:        0.2.%{betaver}%{?dist}
+Release:        0.3.%{betaver}%{?dist}
 Summary:        Development tools and templates for TurboGears2
 
 Group:          Development/Languages
@@ -68,10 +68,11 @@ rm -rf %{buildroot}
 %{__python} setup.py install -O1 --skip-build --root %{buildroot}
 # remove wrong script interpreter
 sed -i '1s/^#!python//' %{buildroot}%{python_sitelib}/devtools/templates/turbogears/ez_setup/__init__.py
+sed -i '1s/^#!python//' %{buildroot}%{python_sitelib}/devtools/templates/tgext/ez_setup/__init__.py
 
 
-#%check
-#PYTHONPATH=$(pwd) %{__python} devtools/tests/test_pastetemplate.py
+%check
+PYTHONPATH=$(pwd) nosetests -q
 
 
 %clean
@@ -85,8 +86,11 @@ rm -rf %{buildroot}
 %{python_sitelib}/tg.devtools-%{version}%{betaver}-py%{pyver}.egg-info/
 
 
-
 %changelog
+* Thu Sep 30 2010 Luke Macken <lmacken at redhat.com> - 2.1-0.3.b2dev
+- Pre-RC1 development snapshot
+- Get the test suite running
+
 * Thu Jul 22 2010 David Malcolm <dmalcolm at redhat.com> - 2.1-0.2.b2
 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
 
diff --git a/sources b/sources
index f277b6b..a9bf0c0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ed520b1ac1dd6d0981b745f77ef65a35  tg.devtools-2.1b2.tar.gz
+ac536403610b71bcac7ea6e6f76a4b3c  tg.devtools-2.1b2dev.tar.gz


More information about the scm-commits mailing list