debian/0000755000000000000000000000000012246031352007164 5ustar debian/python-epsilon.manpages0000644000000000000000000000003312201164441013662 0ustar debian/epsilon-benchmark.1 debian/clean0000644000000000000000000000007412201164517010173 0ustar _trial_temp epsilon/release.py epsilon/test/test_release.py debian/compat0000644000000000000000000000000212201164441010357 0ustar 9 debian/watch0000644000000000000000000000012012201354666010215 0ustar version=3 https://pypi.python.org/packages/source/E/Epsilon/Epsilon-(.*).tar.gz debian/patches/0000755000000000000000000000000012246031352010613 5ustar debian/patches/use-proc-mounts.diff0000644000000000000000000000063011322111273014517 0ustar # Use /proc/mounts instead of /etc/mtab, as this is more reliable. --- a/epsilon/scripts/benchmark.py +++ b/epsilon/scripts/benchmark.py @@ -423,7 +423,7 @@ """ possibilities = [] cwd = os.getcwd() - for L in file('/etc/mtab'): + for L in file('/proc/mounts'): parts = L.split() if cwd.startswith(parts[1]): possibilities.append((len(parts[1]), parts[0])) debian/patches/fix-test_cmp.diff0000644000000000000000000000077111322111273014047 0ustar # Fix a test failure when local time is UTC. --- a/epsilon/test/test_extime.py +++ b/epsilon/test/test_extime.py @@ -71,7 +71,6 @@ def test_cmp(self): now = time.gmtime() self.assertEquals(extime.Time.fromStructTime(now), extime.Time.fromStructTime(now)) - self.assertNotEquals(extime.Time.fromStructTime(now), extime.Time.fromStructTime(time.localtime())) self.assertNotEquals(extime.Time.fromStructTime(now), 13) aTime = extime.Time.fromStructTime(now) debian/patches/series0000644000000000000000000000006712201050445012026 0ustar use-proc-mounts.diff fix-test_cmp.diff python-2.6.diff debian/patches/python-2.6.diff0000644000000000000000000000137211323603234013273 0ustar # patch the search routine to avoid detecting temporary build directory Index: epsilon-0.6.0/epsilon/setuphelper.py =================================================================== --- epsilon-0.6.0.orig/epsilon/setuphelper.py 2010-01-14 11:53:32.000000000 +0000 +++ epsilon-0.6.0/epsilon/setuphelper.py 2010-01-14 11:54:18.000000000 +0000 @@ -39,7 +39,7 @@ pluginPackages = [] for (dirpath, dirnames, filenames) in os.walk(os.curdir): - dirnames[:] = [p for p in dirnames if not p.startswith('.')] + dirnames[:] = [p for p in dirnames if not p.startswith('.') and p != 'build'] pkgName = dirpath[2:].replace('/', '.') if '__init__.py' in filenames: # The current directory is a Python package debian/changelog0000644000000000000000000001065512246031317011046 0ustar epsilon (0.6.0+r2713-2) unstable; urgency=medium [ Vincent Bernat ] * Clarify long description. Closes: #624180. [ Tristan Seligmann ] * Upload to unstable. -- Tristan Seligmann Fri, 29 Nov 2013 08:22:55 +0200 epsilon (0.6.0+r2713-1) experimental; urgency=low [ Stefano Zacchiroli ] * removing myself from Uploaders [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. [ Tristan Seligmann ] * Package bzr snapshot for upload to experimental. - Replace use of log.flushErrors which was removed. (Closes: #689498) * Update my email address. * Drop dont-use-setupclass.diff as epsilon.sslverify has now been removed upstream. * Bump Standards-Version. * Switch build system from cdbs to dh/pybuild. * Switch source format to 3.0 (quilt). * Fix watch file. * Update Homepage. -- Tristan Seligmann Sun, 11 Aug 2013 08:19:14 +0200 epsilon (0.6.0-3) unstable; urgency=low * Fix another FTBFS due to setUpClass being removed from Twisted Trial. Closes: #573695. -- Vincent Bernat Sun, 14 Mar 2010 12:08:33 +0100 epsilon (0.6.0-2) unstable; urgency=low [ Jakub Wilk ] * Fine-tune the Python 2.6 patch. [ Vincent Bernat ] * Bump Standards Version To 3.8.4. -- Vincent Bernat Mon, 01 Mar 2010 20:56:25 +0100 epsilon (0.6.0-1) unstable; urgency=low * New upstream release. + Fix FTBFS. Closes: #564373. * Swap patch names for use-proc-mounts.diff and fix-test_cmp.diff. -- Vincent Bernat Sat, 09 Jan 2010 15:26:57 +0100 epsilon (0.5.12-2) unstable; urgency=low [ Jakub Wilk ] * Apply patch from Fabrice Coutadeur to make package ready for Python 2.6 transition (closes: #546847). * Bump standards version to 3.8.3 [ Sandro Tosi ] * debian/README.source - added to comply with Policy 3.8.* -- Debian Python Modules Team Tue, 24 Nov 2009 22:40:47 +0100 epsilon (0.5.12-1) unstable; urgency=low * New upstream release. * Bump Standards-Version to 3.8.1. No changes required. * Add myself in Uploaders. -- Vincent Bernat Wed, 18 Mar 2009 20:48:36 +0100 epsilon (0.5.11-1) unstable; urgency=low [ Sandro Tosi ] * debian/control - replaces python-pyopenssl with python-openssl; Closes: #494905 * debian/epsilon-benchmark.1 - added * debian/rules - added manpage installation * debian/control - switch Vcs-Browser field to viewsvn [ Tristan Seligmann ] * New upstream version. * Bump Standards-Version. * Use "Copyright" instead of "(C)". * Remove epsilon.release; this functionality depends on Combinator which shouldn't be packaged, and will probably be moved into Combinator upstream shortly. * Make epsilon.scripts.benchmark use /proc/mounts instead of /etc/mtab as this is more reliable. * Fix an incorrect test failure that occurs when local time is UTC. [ Emilio Pozuelo Monfort ] * debian/rules: remove the build/ dir from the initial destination and not from the pysupport one, since the latter breaks if pysupport changes the destination folder. Closes: #516197. -- Tristan Seligmann Fri, 20 Feb 2009 00:24:50 +0200 epsilon (0.5.9-1) unstable; urgency=low [ Sandro Tosi ] * debian/control - fixed Vcs-Browser field [ Tristan Seligmann ] * New upstream release. * Run unit tests during build. * Bump Standards-Version to 3.7.3. -- Tristan Seligmann Sun, 02 Mar 2008 23:03:23 +0200 epsilon (0.5.7-1) unstable; urgency=low [ Tristan Seligmann ] * New upstream release. [ Piotr Ożarowski ] * Homepage field added * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now) -- Tristan Seligmann Sat, 10 Nov 2007 01:26:59 +0200 epsilon (0.5.0-2) unstable; urgency=low * upload to unstable * debian/control - tightened deps on cdbs and python-support - added missing build-deps on nevow and pyopenssl - added Tristan as an Uploader - removed python-specific X* fields, not needed with recent python-support * debian/TODO.Debian - added a todo item about running unit tests at build time -- Stefano Zacchiroli Sun, 01 Apr 2007 19:05:41 +0200 epsilon (0.5.0-1) experimental; urgency=low * Initial release (Closes: #414889) -- Stefano Zacchiroli Fri, 16 Mar 2007 11:37:31 +0100 debian/copyright0000644000000000000000000000273411143543030011121 0ustar This package was debianized by Stefano Zacchiroli on Wed, 14 Mar 2007 17:01:00 +0100. It was downloaded from http://www.divmod.org/trac/wiki/DivmodEpsilon Upstream Author: Divmod Inc. Copyright: (C) 2005 Divmod Inc. License: 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. The Debian packaging is Copyright 2007, Stefano Zacchiroli and 2008-2009 Tristan Seligmann , and is licensed under the same terms as above. debian/rules0000755000000000000000000000073312201165372010250 0ustar #!/usr/bin/make -f export PYTHONDONTWRITEBYTECODE=yes export PYBUILD_DESTDIR_python2=debian/python-epsilon/ %: dh $@ --with python2 --buildsystem=pybuild override_dh_auto_install: dh_auto_install mv debian/python-epsilon/usr/bin/benchmark debian/python-epsilon/usr/bin/epsilon-benchmark override_dh_auto_test: PYBUILD_SYSTEM=custom \ PYBUILD_TEST_ARGS="{interpreter} /usr/bin/trial epsilon" dh_auto_test override_dh_installchangelogs: dh_installchangelogs NEWS.txt debian/python-epsilon.docs0000644000000000000000000000000712201165416013023 0ustar README debian/epsilon-benchmark.10000644000000000000000000000074011004656401012647 0ustar .TH EPSILON\-BENCHMARK 1 "April 26, 2008" "" "" .SH NAME \fBepsilon\-benchmark \- Python script statistics collector .SH SYNOPSIS .nf .fam C \fBepsilon\-benchmark\fP \fIfile_to_run\fP .fam T .fi .SH DESCRIPTION epsilon\-benchmark is a tool to run a Python file in a child process and record resource usage information and other statistics about it. .SH AUTHOR This manual page was written by Sandro Tosi , for the Debian project (but may be used by others). debian/source/0000755000000000000000000000000012246031352010464 5ustar debian/source/format0000644000000000000000000000001412201165372011673 0ustar 3.0 (quilt) debian/control0000644000000000000000000000272112201734300010563 0ustar Source: epsilon Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Tristan Seligmann , Vincent Bernat Build-Depends: debhelper (>= 9), python-all, dh-python Build-Depends-Indep: python-twisted-core (>= 2.5.0), python-openssl, python-nevow, python-zopeinterface Standards-Version: 3.9.4 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/epsilon/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/epsilon/trunk/ Homepage: https://launchpad.net/epsilon Package: python-epsilon Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python-twisted-core, python-openssl, python-nevow, python-zopeinterface Description: Python utility modules commonly used by Divmod.org project Epsilon is a set of Python utility modules, commonly used by all Divmod.org Python projects. . This is intended mainly as a support package for code used by Divmod projects, however it contains many generally useful modules. . Currently included: * a powerful date/time formatting and import/export class (extime.Time), for exchanging date and time information between all Python's various ways to interpret objects as times or time deltas * tools for managing concurrent asynchronous processes within Twisted * a metaclass which helps you define classes with explicit states * a formal system for application of monkey-patches