Definition at line 38 of file generate-manifest.py.
def generate-manifest.Product.__init__ |
( |
|
self, |
|
|
|
product, |
|
|
|
qualifiers |
|
) |
| |
def generate-manifest.Product.manifest_entry |
( |
|
self | ) |
|
Definition at line 43 of file generate-manifest.py.
48 qualifiers=self.qualifiers.split(
':')
49 rqual=list(
filter(re.compile(
r'(e[0-9]{2}|c[0-9]{1})').search , qualifiers))
50 bqual=list(
filter(re.compile(
r'(debug|prof)').search , qualifiers))
51 aqual=list(
filter(re.compile(
r'(noarch|slf7-x86_64)').search , qualifiers))
53 arch=
'slf7-x86_64' if not aqual
else aqual[0]
55 if name
in sl7_only_packages
and arch.startswith(
'slf'):
56 arch=arch.replace(
'slf',
'sl')
58 tarball=
'{0:s}-{1:s}-{2:s}'.
format(name,version.replace(
'_',
'.').replace(
'v',
'') ,arch)
61 tarball +=
'-{0:s}'.
format(rqual[0])
63 tarball +=
'-{0:s}'.
format(bqual[0])
66 entry =
'{0:20s} {1:10s} {2:70s}'.
format(name,version,tarball)
67 entry +=
' -f {0:20s}'.
format(
'Linux64bit+3.10-2.17' if arch ==
'slf7-x86_64' else 'NULL')
static bool format(QChar::Decomposition tag, QString &str, int index, int len)
generate-manifest.Product.product |
generate-manifest.Product.qualifiers |
The documentation for this class was generated from the following file: