[Python-modules-commits] r20684 - in packages/python-fudge/trunk (10 files)

jandd at users.alioth.debian.org jandd at users.alioth.debian.org
Sun Mar 4 20:28:27 UTC 2012


    Date: Sunday, March 4, 2012 @ 20:28:26
  Author: jandd
Revision: 20684

[svn-inject] Applying Debian modifications (1.0.3-1) to trunk

Added:
  packages/python-fudge/trunk/debian/
  packages/python-fudge/trunk/debian/changelog
  packages/python-fudge/trunk/debian/compat
  packages/python-fudge/trunk/debian/control
  packages/python-fudge/trunk/debian/copyright
  packages/python-fudge/trunk/debian/python-fudge-doc.doc-base
  packages/python-fudge/trunk/debian/rules
  packages/python-fudge/trunk/debian/source/
  packages/python-fudge/trunk/debian/source/format
  packages/python-fudge/trunk/debian/watch


Property changes on: packages/python-fudge/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/python-fudge/trunk/debian/changelog
===================================================================
--- packages/python-fudge/trunk/debian/changelog	                        (rev 0)
+++ packages/python-fudge/trunk/debian/changelog	2012-03-04 20:28:26 UTC (rev 20684)
@@ -0,0 +1,5 @@
+python-fudge (1.0.3-1) unstable; urgency=low
+
+  * Initial release. (Closes: #643566)
+
+ -- Jan Dittberner <jandd at debian.org>  Sun, 04 Mar 2012 21:13:38 +0100

Added: packages/python-fudge/trunk/debian/compat
===================================================================
--- packages/python-fudge/trunk/debian/compat	                        (rev 0)
+++ packages/python-fudge/trunk/debian/compat	2012-03-04 20:28:26 UTC (rev 20684)
@@ -0,0 +1 @@
+8

Added: packages/python-fudge/trunk/debian/control
===================================================================
--- packages/python-fudge/trunk/debian/control	                        (rev 0)
+++ packages/python-fudge/trunk/debian/control	2012-03-04 20:28:26 UTC (rev 20684)
@@ -0,0 +1,85 @@
+Source: python-fudge
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Jan Dittberner <jandd at debian.org>
+Build-Depends: debhelper (>= 8~), python (>= 2.6.5~), python3 (>=
+ 3.1.3-2~), python-setuptools, python3-setuptools, python-nose,
+ python-sphinx (>= 1.0.7+dfsg-1~)
+Standards-Version: 3.9.3
+Homepage: http://farmdev.com/projects/fudge/
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/fudge/trunk
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/fudge/trunk/
+
+Package: python-fudge
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}, python-pkg-resources
+Recommends: python-fudge-doc (=${binary:Version})
+Description: Python module for using fake objects to test real ones
+ Fudge is a Python module for using fake objects (mocks and stubs) to
+ test real ones.
+ .
+ In readable Python code, you declare what methods are available on
+ your fake and how they should be called. Then you inject that into
+ your application and start testing. This declarative approach means
+ you don’t have to record and playback actions and you don’t have to
+ inspect your fakes after running code. If the fake object was used
+ incorrectly then you’ll see an informative exception message with a
+ traceback that points to the culprit.
+ .
+ Fudge was inspired by Mocha which is a simpler version of jMock. But
+ unlike Mocha, Fudge does not automatically hijack real objects; you
+ explicitly patch them in your test. And unlike jMock, Fudge is only
+ as strict about expectations as you want it to be. If the type of
+ arguments sent to the fake method aren’t important then you don’t
+ have to declare an expectation for them.
+
+Package: python-fudge-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}, libjs-sphinxdoc
+Description: Python module for using fake objects for tests, Python3 package
+ Fudge is a Python module for using fake objects (mocks and stubs) to
+ test real ones.
+ .
+ In readable Python code, you declare what methods are available on
+ your fake and how they should be called. Then you inject that into
+ your application and start testing. This declarative approach means
+ you don’t have to record and playback actions and you don’t have to
+ inspect your fakes after running code. If the fake object was used
+ incorrectly then you’ll see an informative exception message with a
+ traceback that points to the culprit.
+ .
+ Fudge was inspired by Mocha which is a simpler version of jMock. But
+ unlike Mocha, Fudge does not automatically hijack real objects; you
+ explicitly patch them in your test. And unlike jMock, Fudge is only
+ as strict about expectations as you want it to be. If the type of
+ arguments sent to the fake method aren’t important then you don’t
+ have to declare an expectation for them.
+ .
+ This is the documentation of python-fudge.
+
+Package: python3-fudge
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}, python3-pkg-resources
+Recommends: python-fudge-doc (=${binary:Version})
+Description: Python module for using fake objects for tests, documentation package
+ Fudge is a Python module for using fake objects (mocks and stubs) to
+ test real ones.
+ .
+ In readable Python code, you declare what methods are available on
+ your fake and how they should be called. Then you inject that into
+ your application and start testing. This declarative approach means
+ you don’t have to record and playback actions and you don’t have to
+ inspect your fakes after running code. If the fake object was used
+ incorrectly then you’ll see an informative exception message with a
+ traceback that points to the culprit.
+ .
+ Fudge was inspired by Mocha which is a simpler version of jMock. But
+ unlike Mocha, Fudge does not automatically hijack real objects; you
+ explicitly patch them in your test. And unlike jMock, Fudge is only
+ as strict about expectations as you want it to be. If the type of
+ arguments sent to the fake method aren’t important then you don’t
+ have to declare an expectation for them.
+ .
+ This is the Python3 version of the package.
\ No newline at end of file

Added: packages/python-fudge/trunk/debian/copyright
===================================================================
--- packages/python-fudge/trunk/debian/copyright	                        (rev 0)
+++ packages/python-fudge/trunk/debian/copyright	2012-03-04 20:28:26 UTC (rev 20684)
@@ -0,0 +1,34 @@
+Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=174
+Upstream-Name: fudge
+Upstream-Contact: Kumar McMillan
+ http://farmdev.com/projects/fudge/
+Source: http://pypi.python.org/pypi/fudge
+
+Files: *
+Copyright: Copyright (c) 2009 Kumar McMillan
+License: MIT
+
+Files: debian/*
+Copyright: Copyright (c) 2011 Jan Dittberner
+License: MIT
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
\ No newline at end of file

Added: packages/python-fudge/trunk/debian/python-fudge-doc.doc-base
===================================================================
--- packages/python-fudge/trunk/debian/python-fudge-doc.doc-base	                        (rev 0)
+++ packages/python-fudge/trunk/debian/python-fudge-doc.doc-base	2012-03-04 20:28:26 UTC (rev 20684)
@@ -0,0 +1,9 @@
+Document: python-fudge-doc
+Title: Python fudge documentation
+Author: Kumar McMillan
+Abstract: Fudge is a Python module for using fake objects (mocks and stubs) to test real ones. 
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-fudge-doc/html/index.html
+Files: /usr/share/doc/python-fudge-doc/html/*.html

Added: packages/python-fudge/trunk/debian/rules
===================================================================
--- packages/python-fudge/trunk/debian/rules	                        (rev 0)
+++ packages/python-fudge/trunk/debian/rules	2012-03-04 20:28:26 UTC (rev 20684)
@@ -0,0 +1,35 @@
+#!/usr/bin/make -f
+
+override_dh_auto_clean:
+	rm -rf build
+	find -name '._*' -delete
+	dh_auto_clean
+
+override_dh_auto_install:
+	sphinx-build -b html -a -c docs docs \
+		$(CURDIR)/debian/python-fudge-doc/usr/share/doc/python-fudge-doc/html
+	python setup.py install --install-layout=deb \
+	    --root $(CURDIR)/debian/python-fudge
+	python3 setup.py install --install-layout=deb \
+		--root $(CURDIR)/debian/python3-fudge
+
+override_dh_python2:
+	dh_python2 -ppython-fudge
+
+override_dh_python3:
+	dh_python3 -ppython3-fudge
+
+override_dh_sphinxdoc:
+	dh_sphinxdoc -ppython-fudge-doc
+
+override_dh_compress:
+	dh_compress -i -X.rst -X.js -X.html -X.txt
+
+override_dh_auto_test:
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+		set -e -x; \
+		PYTHONPATH=$(CURDIR)/build/lib.* python setup.py nosetests
+endif
+
+%:
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=python_distutils


Property changes on: packages/python-fudge/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/python-fudge/trunk/debian/source/format
===================================================================
--- packages/python-fudge/trunk/debian/source/format	                        (rev 0)
+++ packages/python-fudge/trunk/debian/source/format	2012-03-04 20:28:26 UTC (rev 20684)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/python-fudge/trunk/debian/watch
===================================================================
--- packages/python-fudge/trunk/debian/watch	                        (rev 0)
+++ packages/python-fudge/trunk/debian/watch	2012-03-04 20:28:26 UTC (rev 20684)
@@ -0,0 +1,2 @@
+version=3
+http://pypi.python.org/packages/source/f/fudge/ fudge-(.*)\.tar\.gz




More information about the Python-modules-commits mailing list