# HG changeset patch # User Sylvain Thénault # Date 1315931075 -7200 # Node ID 1c8d6eec4c25cbf2074681f5e55b5a231b1cb599 # Parent ceabf79b738a8189b975417b6ade4a2d0e392127 [deprecation] specify name/doc to deprecated else it's fetched from the object, which has then to be importable. Cleanup debian/control dependancy on the way (needs lgc 0.56.3 api) diff -r ceabf79b738a -r 1c8d6eec4c25 __pkginfo__.py --- a/__pkginfo__.py Tue Sep 13 15:41:36 2011 +0200 +++ b/__pkginfo__.py Tue Sep 13 18:24:35 2011 +0200 @@ -40,7 +40,7 @@ ] __depends__ = { - 'logilab-common': '>= 0.56.2', + 'logilab-common': '>= 0.56.3', 'logilab-mtconverter': '>= 0.8.0', 'rql': '>= 0.28.0', 'yams': '>= 0.33.0', diff -r ceabf79b738a -r 1c8d6eec4c25 debian/control --- a/debian/control Tue Sep 13 15:41:36 2011 +0200 +++ b/debian/control Tue Sep 13 18:24:35 2011 +0200 @@ -35,7 +35,7 @@ Conflicts: cubicweb-multisources Replaces: cubicweb-multisources Provides: cubicweb-multisources -Depends: ${misc:Depends}, ${python:Depends}, cubicweb-common (= ${source:Version}), cubicweb-ctl (= ${source:Version}), python-logilab-database (>= 1.5.0), cubicweb-postgresql-support | cubicweb-mysql-support | python-pysqlite2, python-logilab-common (>= 0.56.2) +Depends: ${misc:Depends}, ${python:Depends}, cubicweb-common (= ${source:Version}), cubicweb-ctl (= ${source:Version}), python-logilab-database (>= 1.5.0), cubicweb-postgresql-support | cubicweb-mysql-support | python-pysqlite2 Recommends: pyro (<< 4.0.0), cubicweb-documentation (= ${source:Version}) Description: server part of the CubicWeb framework CubicWeb is a semantic web application framework. @@ -70,7 +70,7 @@ Architecture: all XB-Python-Version: ${python:Versions} Provides: cubicweb-web-frontend -Depends: ${misc:Depends}, ${python:Depends}, cubicweb-web (= ${source:Version}), cubicweb-ctl (= ${source:Version}), python-twisted-web, python-logilab-common (>= 0.56.2) +Depends: ${misc:Depends}, ${python:Depends}, cubicweb-web (= ${source:Version}), cubicweb-ctl (= ${source:Version}), python-twisted-web Recommends: pyro (<< 4.0.0), cubicweb-documentation (= ${source:Version}) Description: twisted-based web interface for the CubicWeb framework CubicWeb is a semantic web application framework. @@ -99,7 +99,7 @@ Package: cubicweb-common Architecture: all XB-Python-Version: ${python:Versions} -Depends: ${misc:Depends}, ${python:Depends}, graphviz, gettext, python-logilab-mtconverter (>= 0.8.0), python-logilab-common (>= 0.55.2), python-yams (>= 0.33.0), python-rql (>= 0.28.0), python-lxml +Depends: ${misc:Depends}, ${python:Depends}, graphviz, gettext, python-logilab-mtconverter (>= 0.8.0), python-logilab-common (>= 0.56.3), python-yams (>= 0.33.0), python-rql (>= 0.28.0), python-lxml Recommends: python-simpletal (>= 4.0), python-crypto Conflicts: cubicweb-core Replaces: cubicweb-core diff -r ceabf79b738a -r 1c8d6eec4c25 schemas/__init__.py --- a/schemas/__init__.py Tue Sep 13 15:41:36 2011 +0200 +++ b/schemas/__init__.py Tue Sep 13 18:24:35 2011 +0200 @@ -48,4 +48,4 @@ for name in ('xperm', 'xexpr', 'xrexpr', 'xorexpr', 'sexpr', 'restricted_sexpr', 'restricted_oexpr', 'oexpr', 'relxperm', 'relxexpr', '_perm'): msg = '[3.14] import %s from cubes.localperms' % name - globals()[name] = deprecated(msg)(MyLazyObject('cubes.localperms', name)) + globals()[name] = deprecated(msg, name=name, doc='deprecated')(MyLazyObject('cubes.localperms', name))