From 945d55c630a5cb363cb6e4c6032980a4b683a8f1 Mon Sep 17 00:00:00 2001
From: Doug Hellmann <doug.hellmann@dreamhost.com>
Date: Wed, 11 Sep 2013 11:07:59 -0400
Subject: [PATCH] Update tox config to allow packaging jobs to work

Add a "venv" environment for pass-through commands like
what the packaging job uses.

Change-Id: I473d330fc7e8e149f674d21f22ccfc0e1855e88f
---
 .gitignore      | 5 +++++
 doc/changes.rst | 6 ++++++
 tox-tmpl.ini    | 7 +++++++
 tox.ini         | 6 ++++++
 4 files changed, 24 insertions(+)

diff --git a/.gitignore b/.gitignore
index ba5f335..82bf8ba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,3 +19,8 @@ doc/_build
 d2to1-*.egg
 
 WSME.egg-info/
+
+# Files created by pbr
+AUTHORS
+ChangeLog
+pbr*.egg
diff --git a/doc/changes.rst b/doc/changes.rst
index 52f2583..93e4b53 100644
--- a/doc/changes.rst
+++ b/doc/changes.rst
@@ -1,6 +1,12 @@
 Changes
 =======
 
+0.5b4 (2013-09-11)
+------------------
+
+Fixes some release-related files for the stackforge release process.
+No user-facing bug fixes or features over what 0.5b3 provides.
+
 0.5b3 (2013-09-04)
 ------------------
 
diff --git a/tox-tmpl.ini b/tox-tmpl.ini
index 2429c8e..d5065e8 100644
--- a/tox-tmpl.ini
+++ b/tox-tmpl.ini
@@ -213,3 +213,10 @@ commands=
 [testenv:pep8]
 deps = flake8
 commands = flake8 wsme wsmeext setup.py
+
+# Generic environment for running commands like packaging
+[testenv:venv]
+commands = {posargs}
+usedevelop=True
+deps=
+    pbr
diff --git a/tox.ini b/tox.ini
index 19141ff..431cfd5 100644
--- a/tox.ini
+++ b/tox.ini
@@ -134,6 +134,12 @@ commands =
 deps = flake8
 commands = flake8 wsme wsmeext setup.py
 
+[testenv:venv]
+commands = {posargs}
+usedevelop = True
+deps = 
+	pbr
+
 [testenv:py26-sa5-lxml-json]
 commands = 
 	{envbindir}/coverage run {envbindir}/nosetests --nologcapture --with-xunit --xunit-file nosetests-{envname}.xml wsme/tests wsmeext/tests --verbose {posargs}