[med-svn] r1389 - trunk/community/infrastructure/test
tille at alioth.debian.org
tille at alioth.debian.org
Fri Feb 15 22:57:02 UTC 2008
Author: tille
Date: 2008-02-15 22:57:02 +0000 (Fri, 15 Feb 2008)
New Revision: 1389
Modified:
trunk/community/infrastructure/test/cddtasktools.py
Log:
License information for official packages
Modified: trunk/community/infrastructure/test/cddtasktools.py
===================================================================
--- trunk/community/infrastructure/test/cddtasktools.py 2008-02-15 22:24:39 UTC (rev 1388)
+++ trunk/community/infrastructure/test/cddtasktools.py 2008-02-15 22:57:02 UTC (rev 1389)
@@ -297,6 +297,14 @@
for component in self.available.components:
if dep.pkg in self.available.packages[component].keys():
dep.component = component
+ if component == 'main':
+ dep.license = 'DFSG free'
+ elif component == 'contrib':
+ dep.license = 'DFSG free, but needs non-free components'
+ elif component == 'non-free':
+ dep.license = 'non-free'
+ else:
+ dep.license = 'unknown'
dep.pkgShortDesc = self.available.packages[component][dep.pkg].pkgShortDesc
dep.pkgLongDesc = self.available.packages[component][dep.pkg].pkgLongDesc
dep.homepage = self.available.packages[component][dep.pkg].homepage
More information about the debian-med-commit
mailing list