r2161 - in zope.fixers/trunk (9 files)
jinty-guest at users.alioth.debian.org
jinty-guest at users.alioth.debian.org
Sun Apr 10 16:57:11 UTC 2011
Date: Sunday, April 10, 2011 @ 16:57:02
Author: jinty-guest
Revision: 2161
[svn-inject] Applying Debian modifications (1.0-0ubuntu2) to trunk
Added:
zope.fixers/trunk/debian/
zope.fixers/trunk/debian/changelog
zope.fixers/trunk/debian/compat
zope.fixers/trunk/debian/control
zope.fixers/trunk/debian/copyright
zope.fixers/trunk/debian/rules
zope.fixers/trunk/debian/watch
Modified:
zope.fixers/trunk/zope.fixers.egg-info/PKG-INFO
zope.fixers/trunk/zope.fixers.egg-info/SOURCES.txt
Property changes on: zope.fixers/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: zope.fixers/trunk/debian/changelog
===================================================================
--- zope.fixers/trunk/debian/changelog (rev 0)
+++ zope.fixers/trunk/debian/changelog 2011-04-10 16:57:02 UTC (rev 2161)
@@ -0,0 +1,14 @@
+zope.fixers (1.0-0ubuntu2) natty; urgency=low
+
+ * debian/control:
+ - Fix debhelper Build-Depends version and substvars
+ * debian/rules:
+ - Enable test suite
+
+ -- Michael Terry <mterry at ubuntu.com> Mon, 07 Mar 2011 13:30:13 -0500
+
+zope.fixers (1.0-0ubuntu1) natty; urgency=low
+
+ * Initial release
+
+ -- Matthias Klose <doko at ubuntu.com> Wed, 23 Feb 2011 17:57:15 +0100
Added: zope.fixers/trunk/debian/compat
===================================================================
--- zope.fixers/trunk/debian/compat (rev 0)
+++ zope.fixers/trunk/debian/compat 2011-04-10 16:57:02 UTC (rev 2161)
@@ -0,0 +1 @@
+7
Added: zope.fixers/trunk/debian/control
===================================================================
--- zope.fixers/trunk/debian/control (rev 0)
+++ zope.fixers/trunk/debian/control 2011-04-10 16:57:02 UTC (rev 2161)
@@ -0,0 +1,14 @@
+Source: zope.fixers
+Section: zope
+Priority: extra
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
+Build-Depends: debhelper (>= 7.0.50~), python3-all, python3-setuptools
+Standards-Version: 3.9.1
+X-Python3-Version: >= 3.1
+
+Package: python3-zope.fixers
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Description: Fixers for Zope3 and the frameworks built with it
+ This package provides fixers for Zope Component Architecture
+ and the frameworks built with it.
Added: zope.fixers/trunk/debian/copyright
===================================================================
--- zope.fixers/trunk/debian/copyright (rev 0)
+++ zope.fixers/trunk/debian/copyright 2011-04-10 16:57:02 UTC (rev 2161)
@@ -0,0 +1,52 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Name: zope.fixers
+Maintainer: Zope Corporation and Contributors <zope-dev at zope.org>
+Source: http://pypi.python.org/pypi/zope.fixers
+
+Files: *
+Copyright: (c) 2009 Zope Corporation and Contributors.
+License: ZPL-2.1
+ Zope Public License (ZPL) Version 2.1
+ .
+ A copyright notice accompanies this license document that identifies the
+ copyright holders.
+ .
+ This license has been certified as open source. It has also been designated as
+ GPL compatible by the Free Software Foundation (FSF).
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ 1. Redistributions in source code must retain the accompanying copyright
+ notice, this list of conditions, and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the accompanying copyright
+ notice, this list of conditions, and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ .
+ 3. Names of the copyright holders must not be used to endorse or promote
+ products derived from this software without prior written permission from the
+ copyright holders.
+ .
+ 4. The right to distribute this software or to use it for any purpose does not
+ give you the right to use Servicemarks (sm) or Trademarks (tm) of the
+ copyright
+ holders. Use of them is covered by separate agreement with the copyright
+ holders.
+ .
+ 5. If any files are modified, you must cause the modified files to carry
+ prominent notices stating that you changed the files and the date of any
+ change.
+ .
+ Disclaimer
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED
+ 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 COPYRIGHT HOLDERS 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.
Added: zope.fixers/trunk/debian/rules
===================================================================
--- zope.fixers/trunk/debian/rules (rev 0)
+++ zope.fixers/trunk/debian/rules 2011-04-10 16:57:02 UTC (rev 2161)
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+
+%:
+ dh --with python3 $@
+
+override_dh_auto_clean:
+ python3 setup.py clean
+ rm -rf build
+ find -name __pycache__ | xargs -r rm -rf
+
+override_dh_auto_build:
+ python3 setup.py build
+
+override_dh_auto_test:
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+ python3 setup.py test
+endif
+
+override_dh_auto_install:
+ python3 setup.py install --install-layout=deb --root $(CURDIR)/debian/python3-zope.fixers
Property changes on: zope.fixers/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: zope.fixers/trunk/debian/watch
===================================================================
--- zope.fixers/trunk/debian/watch (rev 0)
+++ zope.fixers/trunk/debian/watch 2011-04-10 16:57:02 UTC (rev 2161)
@@ -0,0 +1,2 @@
+version=3
+http://pypi.python.org/packages/source/z/zope.fixers/zope.fixers-(\d.*)\.tar\.gz
Modified: zope.fixers/trunk/zope.fixers.egg-info/PKG-INFO
===================================================================
--- zope.fixers/trunk/zope.fixers.egg-info/PKG-INFO 2011-04-10 16:55:46 UTC (rev 2160)
+++ zope.fixers/trunk/zope.fixers.egg-info/PKG-INFO 2011-04-10 16:57:02 UTC (rev 2161)
@@ -13,7 +13,7 @@
Currently, there is only one fixer, fix_implements. This fixer will change
all uses of implements(IFoo) in a class body to the class decorator
- @implementer(IFoo), which is the most likely Python 3 syntax for
+ @implementer(IFoo), which is the most likely Python 3 syntax for
zope.interfaces implements statements.
zope.fixers requires Python 3.1.
@@ -25,14 +25,14 @@
To use this you typically want all teh fixers from lib2to3, and add the
fixers from zope.fixers to it. Like so:
- >>> from lib2to3.refactor import RefactoringTool, get_fixers_from_package
- >>> fixers = get_fixers_from_package('lib2to3.fixes') + \
- ... get_fixers_from_package('zope.fixers')
+ >>> from lib2to3.refactor import RefactoringTool, get_fixers_from_package
+ >>> fixers = get_fixers_from_package('lib2to3.fixes') + \
+ ... get_fixers_from_package('zope.fixers')
And the run the fixing with the fixers:
- >>> tool = RefactoringTool(fixers)
- >>> tool.refactor(files, write=True)
+ >>> tool = RefactoringTool(fixers)
+ >>> tool.refactor(files, write=True)
For an example usage within setuptools, look at:
Modified: zope.fixers/trunk/zope.fixers.egg-info/SOURCES.txt
===================================================================
--- zope.fixers/trunk/zope.fixers.egg-info/SOURCES.txt 2011-04-10 16:55:46 UTC (rev 2160)
+++ zope.fixers/trunk/zope.fixers.egg-info/SOURCES.txt 2011-04-10 16:57:02 UTC (rev 2161)
@@ -1,6 +1,7 @@
CHANGES.txt
README.txt
ZPL.txt
+setup.cfg
setup.py
docs/HISTORY.txt
zope/__init__.py
More information about the pkg-zope-developers
mailing list