P [packaging] describe dependencies in pkginfo
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Mon, 07 Sep 2009 20:58:59 +0200
changeset 60 dfea5784bb9e
parent 59 51e2024dcfc9
child 61 6e358556dfea
P [packaging] describe dependencies in pkginfo
__init__.py
__pkginfo__.py
debian/control
--- a/__init__.py	Mon Aug 31 17:11:03 2009 +0200
+++ b/__init__.py	Mon Sep 07 20:58:59 2009 +0200
@@ -1,7 +1,1 @@
-"""pluggable mixins for the Cubicweb classification schemes package
-
-:organization: Logilab
-:copyright: 2007-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
-:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
-"""
-__docformat__ = "restructuredtext en"
+"""cubicweb-keyword"""
--- a/__pkginfo__.py	Mon Aug 31 17:11:03 2009 +0200
+++ b/__pkginfo__.py	Mon Sep 07 20:58:59 2009 +0200
@@ -1,8 +1,8 @@
 # pylint: disable-msg=W0622
 """cubicweb-classification-schemes packaging information"""
 
+modname = 'keyword'
 distname = "cubicweb-keyword"
-modname = distname.split('-', 1)[1]
 
 numversion = (1, 3, 0)
 version = '.'.join(str(num) for num in numversion)
@@ -15,15 +15,24 @@
 author_email = "contact@logilab.fr"
 web = 'http://www.cubicweb.org/project/%s' % distname
 
+short_desc = "keyword component for the Cubicweb framework"
+long_desc = """This Cubicweb component provides classification (hierarchies of keywords)
+to classify content. See also cubicweb-tag.
 
-short_desc = "Scheme support for the Cubicweb framework"
-long_desc = """Cubicweb is a entities / relations bases knowledge management system
-developped at Logilab.
-.
-This package provides classification schemas to organize content of an cubicweb application.
-.
+CubicWeb is a semantic web application framework, see http://www.cubicweb.org
 """
 
+classifiers = [
+    'Environment :: Web Environment',
+    'Framework :: CubicWeb',
+    'Programming Language :: Python',
+    'Programming Language :: JavaScript',
+    ]
+
+__depends_cubes__ = {}
+__depends__ = {'cubicweb': '>= 3.0.0'}
+__use__ = tuple(__depends_cubes__)
+
 from os import listdir
 from os.path import join
 
@@ -46,11 +55,3 @@
 
 
 cube_eid = 20308
-# used packages
-__use__ = ()
-classifiers = [
-           'Environment :: Web Environment',
-           'Framework :: CubicWeb',
-           'Programming Language :: Python',
-           'Programming Language :: JavaScript',
-]
--- a/debian/control	Mon Aug 31 17:11:03 2009 +0200
+++ b/debian/control	Mon Sep 07 20:58:59 2009 +0200
@@ -2,16 +2,18 @@
 Section: web
 Priority: optional
 Maintainer: Logilab Packaging Team <contact@logilab.fr>
-Uploaders: Sylvain Thenault <sylvain.thenault@logilab.fr> 
+Uploaders: Sylvain Thenault <sylvain.thenault@logilab.fr>
 Build-Depends: debhelper (>= 5.0.37.1), python (>=2.4), python-dev (>=2.4)
 Standards-Version: 3.8.0
+Homepage: http://www.cubicweb.org/project/cubicweb-keyword
 
 Package: cubicweb-keyword
 Conflicts: cubicweb-keywords
 Replaces: cubicweb-keywords
 Architecture: all
-Depends: python2.4, cubicweb-common (>= 2.99.0)
-Description: Classification scheme support for the CubicWeb framework
- CubicWeb is a semantic web application framework.
+Depends: cubicweb-common (>= 3.0.0)
+Description: keyword component for the Cubicweb framework
+ This Cubicweb component provides classification (hierarchies of keywords)
+ to classify content. See also cubicweb-tag.
  .
- This package provides classification schemas to organize content.
+ CubicWeb is a semantic web application framework, see http://www.cubicweb.org