[Python-modules-commits] r13633 - in packages/flufl.enum/trunk (12 files)

warsaw-guest at users.alioth.debian.org warsaw-guest at users.alioth.debian.org
Fri Jun 25 17:32:53 UTC 2010


    Date: Friday, June 25, 2010 @ 17:32:48
  Author: warsaw-guest
Revision: 13633

[svn-inject] Applying Debian modifications to trunk

Added:
  packages/flufl.enum/trunk/COPYING.LESSER
  packages/flufl.enum/trunk/debian/
  packages/flufl.enum/trunk/debian/changelog
  packages/flufl.enum/trunk/debian/compat
  packages/flufl.enum/trunk/debian/control
  packages/flufl.enum/trunk/debian/python-flufl.enum.preinst
  packages/flufl.enum/trunk/debian/rules
  packages/flufl.enum/trunk/debian/source/
  packages/flufl.enum/trunk/debian/source/format
  packages/flufl.enum/trunk/debian/watch
  packages/flufl.enum/trunk/pylint.rc
Modified:
  packages/flufl.enum/trunk/setup.cfg

Added: packages/flufl.enum/trunk/COPYING.LESSER
===================================================================
--- packages/flufl.enum/trunk/COPYING.LESSER	                        (rev 0)
+++ packages/flufl.enum/trunk/COPYING.LESSER	2010-06-25 17:32:48 UTC (rev 13633)
@@ -0,0 +1,165 @@
+		   GNU LESSER GENERAL PUBLIC LICENSE
+                       Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+
+  This version of the GNU Lesser General Public License incorporates
+the terms and conditions of version 3 of the GNU General Public
+License, supplemented by the additional permissions listed below.
+
+  0. Additional Definitions.
+
+  As used herein, "this License" refers to version 3 of the GNU Lesser
+General Public License, and the "GNU GPL" refers to version 3 of the GNU
+General Public License.
+
+  "The Library" refers to a covered work governed by this License,
+other than an Application or a Combined Work as defined below.
+
+  An "Application" is any work that makes use of an interface provided
+by the Library, but which is not otherwise based on the Library.
+Defining a subclass of a class defined by the Library is deemed a mode
+of using an interface provided by the Library.
+
+  A "Combined Work" is a work produced by combining or linking an
+Application with the Library.  The particular version of the Library
+with which the Combined Work was made is also called the "Linked
+Version".
+
+  The "Minimal Corresponding Source" for a Combined Work means the
+Corresponding Source for the Combined Work, excluding any source code
+for portions of the Combined Work that, considered in isolation, are
+based on the Application, and not on the Linked Version.
+
+  The "Corresponding Application Code" for a Combined Work means the
+object code and/or source code for the Application, including any data
+and utility programs needed for reproducing the Combined Work from the
+Application, but excluding the System Libraries of the Combined Work.
+
+  1. Exception to Section 3 of the GNU GPL.
+
+  You may convey a covered work under sections 3 and 4 of this License
+without being bound by section 3 of the GNU GPL.
+
+  2. Conveying Modified Versions.
+
+  If you modify a copy of the Library, and, in your modifications, a
+facility refers to a function or data to be supplied by an Application
+that uses the facility (other than as an argument passed when the
+facility is invoked), then you may convey a copy of the modified
+version:
+
+   a) under this License, provided that you make a good faith effort to
+   ensure that, in the event an Application does not supply the
+   function or data, the facility still operates, and performs
+   whatever part of its purpose remains meaningful, or
+
+   b) under the GNU GPL, with none of the additional permissions of
+   this License applicable to that copy.
+
+  3. Object Code Incorporating Material from Library Header Files.
+
+  The object code form of an Application may incorporate material from
+a header file that is part of the Library.  You may convey such object
+code under terms of your choice, provided that, if the incorporated
+material is not limited to numerical parameters, data structure
+layouts and accessors, or small macros, inline functions and templates
+(ten or fewer lines in length), you do both of the following:
+
+   a) Give prominent notice with each copy of the object code that the
+   Library is used in it and that the Library and its use are
+   covered by this License.
+
+   b) Accompany the object code with a copy of the GNU GPL and this license
+   document.
+
+  4. Combined Works.
+
+  You may convey a Combined Work under terms of your choice that,
+taken together, effectively do not restrict modification of the
+portions of the Library contained in the Combined Work and reverse
+engineering for debugging such modifications, if you also do each of
+the following:
+
+   a) Give prominent notice with each copy of the Combined Work that
+   the Library is used in it and that the Library and its use are
+   covered by this License.
+
+   b) Accompany the Combined Work with a copy of the GNU GPL and this license
+   document.
+
+   c) For a Combined Work that displays copyright notices during
+   execution, include the copyright notice for the Library among
+   these notices, as well as a reference directing the user to the
+   copies of the GNU GPL and this license document.
+
+   d) Do one of the following:
+
+       0) Convey the Minimal Corresponding Source under the terms of this
+       License, and the Corresponding Application Code in a form
+       suitable for, and under terms that permit, the user to
+       recombine or relink the Application with a modified version of
+       the Linked Version to produce a modified Combined Work, in the
+       manner specified by section 6 of the GNU GPL for conveying
+       Corresponding Source.
+
+       1) Use a suitable shared library mechanism for linking with the
+       Library.  A suitable mechanism is one that (a) uses at run time
+       a copy of the Library already present on the user's computer
+       system, and (b) will operate properly with a modified version
+       of the Library that is interface-compatible with the Linked
+       Version.
+
+   e) Provide Installation Information, but only if you would otherwise
+   be required to provide such information under section 6 of the
+   GNU GPL, and only to the extent that such information is
+   necessary to install and execute a modified version of the
+   Combined Work produced by recombining or relinking the
+   Application with a modified version of the Linked Version. (If
+   you use option 4d0, the Installation Information must accompany
+   the Minimal Corresponding Source and Corresponding Application
+   Code. If you use option 4d1, you must provide the Installation
+   Information in the manner specified by section 6 of the GNU GPL
+   for conveying Corresponding Source.)
+
+  5. Combined Libraries.
+
+  You may place library facilities that are a work based on the
+Library side by side in a single library together with other library
+facilities that are not Applications and are not covered by this
+License, and convey such a combined library under terms of your
+choice, if you do both of the following:
+
+   a) Accompany the combined library with a copy of the same work based
+   on the Library, uncombined with any other library facilities,
+   conveyed under the terms of this License.
+
+   b) Give prominent notice with the combined library that part of it
+   is a work based on the Library, and explaining where to find the
+   accompanying uncombined form of the same work.
+
+  6. Revised Versions of the GNU Lesser General Public License.
+
+  The Free Software Foundation may publish revised and/or new versions
+of the GNU Lesser General Public License from time to time. Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns.
+
+  Each version is given a distinguishing version number. If the
+Library as you received it specifies that a certain numbered version
+of the GNU Lesser General Public License "or any later version"
+applies to it, you have the option of following the terms and
+conditions either of that published version or of any later version
+published by the Free Software Foundation. If the Library as you
+received it does not specify a version number of the GNU Lesser
+General Public License, you may choose any version of the GNU Lesser
+General Public License ever published by the Free Software Foundation.
+
+  If the Library as you received it specifies that a proxy can decide
+whether future versions of the GNU Lesser General Public License shall
+apply, that proxy's public statement of acceptance of any version is
+permanent authorization for you to choose that version for the
+Library.


Property changes on: packages/flufl.enum/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/flufl.enum/trunk/debian/changelog
===================================================================
--- packages/flufl.enum/trunk/debian/changelog	                        (rev 0)
+++ packages/flufl.enum/trunk/debian/changelog	2010-06-25 17:32:48 UTC (rev 13633)
@@ -0,0 +1,17 @@
+flufl.enum (3.0.1-3) unstable; urgency=low
+
+  * Removed trailing period from short description.
+
+ -- Barry Warsaw <barry at python.org>  Wed, 23 Jun 2010 09:45:48 -0400
+
+flufl.enum (3.0.1-2) unstable; urgency=low
+
+  * Add a debian/watch file.
+
+ -- Barry Warsaw <barry at python.org>  Thu, 10 Jun 2010 00:34:37 -0400
+
+flufl.enum (3.0.1-1) unstable; urgency=low
+
+  * source package automatically created by stdeb 0.5.1
+
+ -- Barry Warsaw <barry at python.org>  Wed, 09 Jun 2010 19:19:08 -0400

Added: packages/flufl.enum/trunk/debian/compat
===================================================================
--- packages/flufl.enum/trunk/debian/compat	                        (rev 0)
+++ packages/flufl.enum/trunk/debian/compat	2010-06-25 17:32:48 UTC (rev 13633)
@@ -0,0 +1 @@
+7

Added: packages/flufl.enum/trunk/debian/control
===================================================================
--- packages/flufl.enum/trunk/debian/control	                        (rev 0)
+++ packages/flufl.enum/trunk/debian/control	2010-06-25 17:32:48 UTC (rev 13633)
@@ -0,0 +1,33 @@
+Source: flufl.enum
+Maintainer: Barry Warsaw <barry at python.org>
+Section: python
+Priority: optional
+Build-Depends: python (>= 2.6), python-setuptools (>= 0.6b3), debhelper (>= 7), python-support (>= 0.8.4)
+Standards-Version: 3.8.4
+
+Package: python-flufl.enum
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+XB-Python-Version: ${python:Versions}
+Provides: ${python:Provides}
+Description: A Python enumeration package
+ =========================================
+ flufl.enum - A Python enumeration package
+ =========================================
+ .
+ This package is called ``flufl.enum``.  It is yet another Python enumeration
+ package, but with a slightly different take on syntax and semantics than
+ earlier such packages.
+ .
+ The goals of ``flufl.enum`` are to produce simple, specific, concise semantics
+ in an easy to read and write syntax.  ``flufl.enum`` has just enough of the
+ features needed to make enumerations useful, but without a lot of extra
+ baggage to weigh them down.  This work grew out of the Mailman 3.0 project and
+ it is the enum package used there.  Until version 3.0, this package was called
+ ``munepy``.
+ .
+ .
+ Requirements
+ ============
+ .
+ ``flufl.enum`` requires Python 2.6 or newer, and is compatible with Python 3

Added: packages/flufl.enum/trunk/debian/python-flufl.enum.preinst
===================================================================
--- packages/flufl.enum/trunk/debian/python-flufl.enum.preinst	                        (rev 0)
+++ packages/flufl.enum/trunk/debian/python-flufl.enum.preinst	2010-06-25 17:32:48 UTC (rev 13633)
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+set -e
+
+# This was added by stdeb to workaround Debian #479852. In a nutshell,
+# pycentral does not remove normally remove its symlinks on an
+# upgrade. Since we're using python-support, however, those symlinks
+# will be broken. This tells python-central to clean up any symlinks.
+if [ -e /var/lib/dpkg/info/python-flufl.enum.list ] && which pycentral >/dev/null 2>&1
+then
+    pycentral pkgremove python-flufl.enum
+fi
+
+#DEBHELPER#

Added: packages/flufl.enum/trunk/debian/rules
===================================================================
--- packages/flufl.enum/trunk/debian/rules	                        (rev 0)
+++ packages/flufl.enum/trunk/debian/rules	2010-06-25 17:32:48 UTC (rev 13633)
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+
+# This file was automatically generated by stdeb 0.5.1 at
+# Wed, 09 Jun 2010 19:19:08 -0400
+
+# Unset the environment variables set by dpkg-buildpackage. (This is
+# necessary because distutils is brittle with compiler/linker flags
+# set. Specifically, packages using f2py will break without this.)
+unexport CPPFLAGS
+unexport CFLAGS
+unexport CXXFLAGS
+unexport FFLAGS
+unexport LDFLAGS
+
+#exports specified using stdeb Setup-Env-Vars:
+export DH_OPTIONS=--buildsystem=python_distutils
+
+
+%:
+	dh $@
+
+


Property changes on: packages/flufl.enum/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/flufl.enum/trunk/debian/source/format
===================================================================
--- packages/flufl.enum/trunk/debian/source/format	                        (rev 0)
+++ packages/flufl.enum/trunk/debian/source/format	2010-06-25 17:32:48 UTC (rev 13633)
@@ -0,0 +1 @@
+1.0

Added: packages/flufl.enum/trunk/debian/watch
===================================================================
--- packages/flufl.enum/trunk/debian/watch	                        (rev 0)
+++ packages/flufl.enum/trunk/debian/watch	2010-06-25 17:32:48 UTC (rev 13633)
@@ -0,0 +1,2 @@
+version=3
+http://pypi.python.org/packages/source/f/flufl.enum/flufl.enum-(.*).tar.gz

Added: packages/flufl.enum/trunk/pylint.rc
===================================================================
--- packages/flufl.enum/trunk/pylint.rc	                        (rev 0)
+++ packages/flufl.enum/trunk/pylint.rc	2010-06-25 17:32:48 UTC (rev 13633)
@@ -0,0 +1,318 @@
+# lint Python modules using external checkers.
+# 
+# This is the main checker controlling the other ones and the reports
+# generation. It is itself both a raw checker and an astng checker in order
+# to:
+# * handle message activation / deactivation at the module level
+# * handle some basic but necessary stats'data (number of classes, methods...)
+# 
+[MASTER]
+
+# Specify a configuration file.
+#rcfile=
+
+# Python code to execute, usually for sys.path manipulation such as
+# pygtk.require().
+#init-hook=
+
+# Profiled execution.
+profile=no
+
+# Add <file or directory> to the black list. It should be a base name, not a
+# path. You may set this option multiple times.
+ignore=CVS
+# Ignore Sphinx configuration file.
+ignore=conf.py
+
+# Pickle collected data for later comparisons.
+persistent=no
+
+# Set the cache size for astng objects.
+cache-size=500
+
+# List of plugins (as comma separated values of python modules names) to load,
+# usually to register additional checkers.
+load-plugins=
+
+
+[MESSAGES CONTROL]
+
+# Enable only checker(s) with the given id(s). This option conflicts with the
+# disable-checker option
+#enable-checker=
+
+# Enable all checker(s) except those with the given id(s). This option
+# conflicts with the enable-checker option
+#disable-checker=
+
+# Enable all messages in the listed categories.
+#enable-msg-cat=
+
+# Disable all messages in the listed categories.
+#disable-msg-cat=
+
+# Enable the message(s) with the given id(s).
+#enable-msg=
+
+# Disable the message(s) with the given id(s).
+# C0103: *Invalid name %s* in module globals
+# I0011: *Locally disabling %s*
+# R0903: *Too few public methods*
+# R0913: *Too many arguments*
+# R0914: *Too many local variables*
+# W0142: *Used * or ** magic*
+# W0704: *Except doesn't do anything*
+disable-msg=C0103,I0011,R0903,R0913,R0914,W0142,W0704
+
+
+[REPORTS]
+
+# Set the output format. Available formats are text, parseable, colorized, msvs
+# (visual studio) and html
+output-format=parseable
+
+# Include message's id in output
+include-ids=yes
+
+# Put messages in a separate file for each module / package specified on the
+# command line instead of printing them on stdout. Reports (if any) will be
+# written in a file name "pylint_global.[txt|html]".
+files-output=no
+
+# Tells wether to display a full report or only the messages
+reports=no
+
+# Python expression which should return a note less than 10 (10 is the highest
+# note). You have access to the variables errors warning, statement which
+# respectivly contain the number of errors / warnings messages and the total
+# number of statements analyzed. This is used by the global evaluation report
+# (R0004).
+evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
+
+# Add a comment according to your evaluation note. This is used by the global
+# evaluation report (R0004).
+comment=no
+
+# Enable the report(s) with the given id(s).
+#enable-report=
+
+# Disable the report(s) with the given id(s).
+#disable-report=
+
+
+# checks for :
+# * doc strings
+# * modules / classes / functions / methods / arguments / variables name
+# * number of arguments, local variables, branchs, returns and statements in
+# functions, methods
+# * required module attributes
+# * dangerous default values as arguments
+# * redefinition of function / method / class
+# * uses of the global statement
+# 
+[BASIC]
+
+# Required attributes for module, separated by a comma
+required-attributes=
+
+# Regular expression which should only match functions or classes name which do
+# not require a docstring
+no-docstring-rgx=__.*__
+
+# Regular expression which should only match correct module names
+module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
+
+# Regular expression which should only match correct module level names
+const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
+
+# Regular expression which should only match correct class names
+class-rgx=[A-Z_][a-zA-Z0-9]+$
+
+# Regular expression which should only match correct function names
+function-rgx=[a-z_][a-z0-9_]{2,30}$
+
+# Regular expression which should only match correct method names
+method-rgx=[a-z_][a-z0-9_]{2,30}$
+
+# Regular expression which should only match correct instance attribute names
+attr-rgx=[a-z_][a-z0-9_]{2,30}$
+
+# Regular expression which should only match correct argument names
+argument-rgx=[a-z_][a-z0-9_]{2,30}$
+
+# Regular expression which should only match correct variable names
+variable-rgx=[a-z_][a-z0-9_]{2,30}$
+
+# Regular expression which should only match correct list comprehension /
+# generator expression variable names
+inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
+
+# Good variable names which should always be accepted, separated by a comma
+good-names=i,j,k,ex,Run,_
+
+# Bad variable names which should always be refused, separated by a comma
+bad-names=foo,bar,baz,toto,tutu,tata
+
+# List of builtins function names that should not be used, separated by a comma
+bad-functions=map,filter,apply,input
+
+
+# try to find bugs in the code using type inference
+# 
+[TYPECHECK]
+
+# Tells wether missing members accessed in mixin class should be ignored. A
+# mixin class is detected if its name ends with "mixin" (case insensitive).
+ignore-mixin-members=yes
+
+# List of classes names for which member attributes should not be checked
+# (useful for classes with attributes dynamicaly set).
+ignored-classes=SQLObject
+
+# When zope mode is activated, add a predefined set of Zope acquired attributes
+# to generated-members.
+zope=no
+
+# List of members which are set dynamically and missed by pylint inference
+# system, and so shouldn't trigger E0201 when accessed.
+generated-members=REQUEST,acl_users,aq_parent
+
+
+# checks for
+# * unused variables / imports
+# * undefined variables
+# * redefinition of variable from builtins or from an outer scope
+# * use of variable before assigment
+# 
+[VARIABLES]
+
+# Tells wether we should check for unused import in __init__ files.
+init-import=no
+
+# A regular expression matching names used for dummy variables (i.e. not used).
+dummy-variables-rgx=_|dummy
+
+# List of additional names supposed to be defined in builtins. Remember that
+# you should avoid to define new builtins when possible.
+additional-builtins=
+
+
+# checks for :
+# * methods without self as first argument
+# * overridden methods signature
+# * access only to existant members via self
+# * attributes not defined in the __init__ method
+# * supported interfaces implementation
+# * unreachable code
+# 
+[CLASSES]
+
+# List of interface methods to ignore, separated by a comma. This is used for
+# instance to not check methods defines in Zope's Interface base class.
+ignore-iface-methods=isImplementedBy,deferred,extends,names,namesAndDescriptions,queryDescriptionFor,getBases,getDescriptionFor,getDoc,getName,getTaggedValue,getTaggedValueTags,isEqualOrExtendedBy,setTaggedValue,isImplementedByInstancesOf,adaptWith,is_implemented_by
+
+# List of method names used to declare (i.e. assign) instance attributes.
+defining-attr-methods=__init__,__new__,setUp
+
+
+# checks for sign of poor/misdesign:
+# * number of methods, attributes, local variables...
+# * size, complexity of functions, methods
+# 
+[DESIGN]
+
+# Maximum number of arguments for function / method
+max-args=5
+
+# Maximum number of locals for function / method body
+max-locals=15
+
+# Maximum number of return / yield for function / method body
+max-returns=6
+
+# Maximum number of branch for function / method body
+max-branchs=12
+
+# Maximum number of statements in function / method body
+max-statements=50
+
+# Maximum number of parents for a class (see R0901).
+max-parents=7
+
+# Maximum number of attributes for a class (see R0902).
+max-attributes=7
+
+# Minimum number of public methods for a class (see R0903).
+min-public-methods=2
+
+# Maximum number of public methods for a class (see R0904).
+max-public-methods=50
+
+
+# checks for
+# * external modules dependencies
+# * relative / wildcard imports
+# * cyclic imports
+# * uses of deprecated modules
+# 
+[IMPORTS]
+
+# Deprecated modules which should not be used, separated by a comma
+deprecated-modules=regsub,TERMIOS,Bastion,rexec
+
+# Create a graph of every (i.e. internal and external) dependencies in the
+# given file (report R0402 must not be disabled)
+import-graph=
+
+# Create a graph of external dependencies in the given file (report R0402 must
+# not be disabled)
+ext-import-graph=
+
+# Create a graph of internal dependencies in the given file (report R0402 must
+# not be disabled)
+int-import-graph=
+
+
+# checks for :
+# * unauthorized constructions
+# * strict indentation
+# * line length
+# * use of <> instead of !=
+# 
+[FORMAT]
+
+# Maximum number of characters on a single line.
+max-line-length=80
+
+# Maximum number of lines in a module
+max-module-lines=1000
+
+# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
+# tab).
+indent-string='    '
+
+
+# checks for:
+# * warning notes in the code like FIXME, XXX
+# * PEP 263: source code with non ascii character but no encoding declaration
+# 
+[MISCELLANEOUS]
+
+# List of note tags to take in consideration, separated by a comma.
+notes=FIXME,XXX,TODO
+
+
+# checks for similarities and duplicated code. This computation may be
+# memory / CPU intensive, so you should disable it if you experiments some
+# problems.
+# 
+[SIMILARITIES]
+
+# Minimum lines number of a similarity.
+min-similarity-lines=4
+
+# Ignore comments when computing similarities.
+ignore-comments=yes
+
+# Ignore docstrings when computing similarities.
+ignore-docstrings=yes

Modified: packages/flufl.enum/trunk/setup.cfg
===================================================================
--- packages/flufl.enum/trunk/setup.cfg	2010-06-25 17:32:19 UTC (rev 13632)
+++ packages/flufl.enum/trunk/setup.cfg	2010-06-25 17:32:48 UTC (rev 13633)
@@ -1,11 +1,5 @@
 [build_sphinx]
-source_dir = flufl/enum
+source_dir: flufl/enum
 
-[egg_info]
-tag_build = 
-tag_date = 0
-tag_svn_revision = 0
-
 [upload_docs]
-upload_dir = build/sphinx/html
-
+upload_dir: build/sphinx/html




More information about the Python-modules-commits mailing list