diff --git a/debian/control b/debian/control index b9a5063..e80498c 100644 --- a/debian/control +++ b/debian/control @@ -1,19 +1,19 @@ Source: openxcap Section: net Priority: optional Maintainer: Saul Ibarra Uploaders: Dan Pascu , Adrian Georgescu , Lucian Stanescu Build-Depends: cdbs (>= 0.4.53), debhelper (>= 7.0.0), python-all-dev (>= 2.5), python-support Standards-Version: 3.9.1 Package: openxcap Architecture: all -Depends: ${python:Depends}, ${misc:Depends}, python-lxml (>= 2.0.7-1), python-zopeinterface, python-twisted-core (>= 8.1.0), python-twisted-web (>= 8.1.0), python-twisted-web2 (>= 8.1.0), python-application (>= 1.2.0), python-gnutls (>= 1.1.8), python-sqlobject, python-mysqldb, python-imaging +Depends: ${python:Depends}, ${misc:Depends}, python-lxml (>= 2.0.7-1), python-zopeinterface, python-twisted-core (>= 8.1.0), python-twisted-web (>= 8.1.0), python-twisted-web2 (>= 8.1.0), python-application (>= 1.2.8), python-gnutls (>= 1.1.8), python-sqlobject, python-mysqldb, python-imaging Description: An Open Source XCAP server implementation XCAP protocol allows a client to read, write and modify application configuration data stored in XML format on a server. XCAP maps XML document sub-trees and element attributes to HTTP URIs, so that these components can be directly accessed by HTTP. An XCAP server is used by the XCAP clients to store data like Presence policy in combination with a SIP Presence server that supports PUBLISH/SUBSCRIBE/NOTIFY methods to provide a complete SIP SIMPLE server solution. diff --git a/xcap/__init__.py b/xcap/__init__.py index b84ee53..6ffbbbc 100644 --- a/xcap/__init__.py +++ b/xcap/__init__.py @@ -1,43 +1,43 @@ # Copyright (C) 2007-2010 AG-Projects. # """XCAP package""" __version__ = "2.0.0" __cfgfile__ = "config.ini" # python-lxml and python-sqlobject don't provide any usable version attribute. -package_requirements = {'python-application': '1.2.0', +package_requirements = {'python-application': '1.2.8', 'python-gnutls': '1.1.8', 'twisted': '8.1.0'} try: from application.dependency import ApplicationDependencies, PackageDependency, DependencyError except ImportError: class DependencyError(Exception): pass class ApplicationDependencies(object): def __init__(self, *args, **kw): pass def check(self): required_version = package_requirements['python-application'] raise DependencyError("need python-application version %s or higher but it's not installed" % required_version) class PackageDependency(object): def __init__(self, name, required_version, version_attribute=None): required_version = package_requirements['python-application'] raise DependencyError("need python-application version %s or higher but it's not installed" % required_version) package_dependencies = [PackageDependency('python-mysqldb', '1.2.2', 'MySQLdb.__version__')] dependencies = ApplicationDependencies(*package_dependencies, **package_requirements) # web2 is not included anymore with twisted tarballs, but it's still on svn # and all functionality hasn't been migrated to web yet. -Saul try: import twisted.web2 except ImportError: raise DependencyError("Twisted's web2 component is missing. Check http://twistedmatrix.com/trac/wiki/Downloads") del twisted.web2