Commit cfa07b68 authored by Nicolas Dufresne's avatar Nicolas Dufresne
Browse files

Remove unused codename

parent ccf4c093
......@@ -39,10 +39,6 @@ class Package(package.Package):
version = '%(version)s'
'''
CODENAME_TPL = \
''' codename = '%(codename)s'
'''
VENDOR_TPL = \
''' vendor = '%(vendor)s'
'''
......@@ -101,8 +97,6 @@ class AddPackage(Command):
help=_('version of the package')),
ArgparseArgument('-s', '--short-desc', default='',
help=_('a short description of the package')),
ArgparseArgument('-c', '--codename', default='',
help=_('a codename for the package')),
ArgparseArgument('-v', '--vendor', default='',
help=_('the package vendor')),
ArgparseArgument('-u', '--url', default='',
......@@ -169,10 +163,6 @@ class AddPackage(Command):
else:
template_args['shortdesc'] = name
if args.codename:
template += CODENAME_TPL
template_args['codename'] = args.codename
if args.vendor:
template += VENDOR_TPL
template_args['vendor'] = args.vendor
......
......@@ -36,8 +36,6 @@ class PackageBase(object):
@type longdesc: str
@cvar version: version of the package
@type version: str
@cvar codename: codename of the release
@type codename: str
@cvar uuid: unique id for this package
@type uuid: str
@cvar license: package license
......@@ -80,7 +78,6 @@ class PackageBase(object):
shortdesc = 'default'
longdesc = 'default'
version = '1.0'
codename = None
org = 'default'
uuid = None
license = License.GPL
......
......@@ -7,7 +7,6 @@ class GStreamer:
url = "http://gstreamer.freedesktop.org"
version = '1.9.2.1'
codename = 'Congo'
vendor = 'GStreamer Project'
licenses = [License.LGPL]
org = 'org.freedesktop.gstreamer'
......@@ -8,7 +8,6 @@ class Package(package.Package):
longdesc = 'Python 3'
url = "http://python.org/"
version = '3.3'
codename = 'Congo'
# Python Software Foundation License
licenses = [License.BSD_like]
vendor = 'Python Project'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment