debian/0000755000000000000000000000000012143045551007166 5ustar debian/changelog0000644000000000000000000000215012143045353011036 0ustar python-flexmock (0.9.7-1) unstable; urgency=low [ Dmitry Shachnev ] * Use /usr/bin/nosetests instead of /usr/bin/nosetests-X.Y (closes: #707516). [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. [ Stefano Rivera ] * New Upstream version. * Bump Standards-Version to 3.9.4. - Bump debhelper dependency to 8.1 for build-{arch,indep} support. * Bumpy copyright years. -- Stefano Rivera Fri, 10 May 2013 03:18:35 +0200 python-flexmock (0.9.6-1) unstable; urgency=low * New upstream version. -- Stefano Rivera Sat, 16 Jun 2012 20:23:01 +0100 python-flexmock (0.9.5-1) unstable; urgency=low * New upstream version. -- Stefano Rivera Sun, 03 Jun 2012 09:47:51 +0100 python-flexmock (0.9.4-1) unstable; urgency=low * New upstream version. * Respect DEB_BUILD_OPTIONS=nocheck. -- Stefano Rivera Mon, 28 May 2012 01:31:26 +0100 python-flexmock (0.9.3-1) unstable; urgency=low * Initial release (Closes: #668606). -- Stefano Rivera Fri, 13 Apr 2012 21:40:14 +0200 debian/rules0000755000000000000000000000204412111604436010244 0ustar #!/usr/bin/make -f PYVERS = $(shell pyversions -rv) PY3VERS = $(shell py3versions -rv) %: dh $@ --with python2,python3 override_dh_auto_build: set -ex; \ for py in $(PYVERS) $(PY3VERS); do \ python$$py setup.py build; \ done override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) set -ex; \ export PYTHONPATH=.; \ for py in $(PYVERS) $(PY3VERS); do \ python$$py tests/flexmock_unittest_test.py; \ python$$py /usr/bin/nosetests tests/flexmock_nose_test.py; \ py.test-$$py tests/flexmock_pytest_test.py; \ done endif override_dh_auto_install: set -ex; \ for py in $(PYVERS); do \ python$$py setup.py install --skip-build \ --root debian/python-flexmock \ --install-layout=deb; \ done set -ex; \ for py in $(PY3VERS); do \ python$$py setup.py install --skip-build \ --root debian/python3-flexmock \ --install-layout=deb; \ done override_dh_auto_clean: find . -name '*.pyc' -delete rm -rf build debian/watch0000644000000000000000000000012511742067127010224 0ustar version=3 https://pypi.python.org/packages/source/f/flexmock/flexmock-(.+)\.tar\.gz debian/compat0000644000000000000000000000000211742033551010365 0ustar 8 debian/source/0000755000000000000000000000000012143045412010462 5ustar debian/source/format0000644000000000000000000000001411742033551011675 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000316112143045336011123 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: flexmock Upstream-Contact: Herman Sheremetyev Source: https://github.com/has207/flexmock Files: * Copyright: 2011-2013, Herman Sheremetyev License: BSD-2-clause Files: debian/* Copyright: 2012-2013, Stefano Rivera License: BSD-2-clause License: BSD-2-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/control0000644000000000000000000000477612143044737010614 0ustar Source: python-flexmock Priority: optional Section: python Maintainer: Debian Python Modules Team Uploaders: Stefano Rivera Build-Depends: debhelper (>= 8.1), python-all (>= 2.6.6-3~), python-nose, python-pytest, python3-all (>= 3.1.2), python3-nose, python3-pytest Standards-Version: 3.9.4 Homepage: http://has207.github.com/flexmock/ Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-flexmock/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-flexmock/trunk/ X-Python-Version: >= 2.4 X-Python3-Version: >= 3.0 Package: python-flexmock Architecture: all Depends: ${misc:Depends}, ${python:Depends} Description: Mock/Stub/Spy library for Python flexmock is a testing library for Python that makes it easy to create mocks, stubs and fakes. . The API is inspired by a Ruby library of the same name, but Python flexmock is not a clone of the Ruby version. It omits a number of redundancies in the Ruby flexmock API, alters some defaults, and introduces a number of Python-only features. . flexmock's design focuses on simplicity and intuitiveness. This means that the API is as lean as possible, though a few convenient short-hand methods are provided to aid brevity and readability. . flexmock declarations are structured to read more like English sentences than API calls, and it is possible to chain them together in any order to achieve high degree of expressiveness in a single line of code. . This package contains the Python 2.x version of flexmock. Package: python3-flexmock Architecture: all Depends: ${misc:Depends}, ${python3:Depends} Description: Mock/Stub/Spy library for Python 3 flexmock is a testing library for Python that makes it easy to create mocks, stubs and fakes. . The API is inspired by a Ruby library of the same name, but Python flexmock is not a clone of the Ruby version. It omits a number of redundancies in the Ruby flexmock API, alters some defaults, and introduces a number of Python-only features. . flexmock's design focuses on simplicity and intuitiveness. This means that the API is as lean as possible, though a few convenient short-hand methods are provided to aid brevity and readability. . flexmock declarations are structured to read more like English sentences than API calls, and it is possible to chain them together in any order to achieve high degree of expressiveness in a single line of code. . This package contains the Python 3 version of flexmock.