8.30. platformids.custom.linuxmint

Module LinuxMint [doc].

8.30.1. Module

LinuxMint, which actually has a default release version layout, and though could be handled by the default handler.

8.30.2. Data

8.30.2.1. RTE_LINUXMINT

Registration of the dist value:

RTE_LINUXMINT        = RTE_LINUX   + custom_dist.add_enum()

8.30.2.2. rte2num

Mapping of the rte string and numeric representation to the numeric value.

8.30.2.3. num2rte

Mapping of the rte numeric representation to the string value.

8.30.2.4. num2pretty

Mapping of the rte numeric representation to the pretty string value.

8.30.3. Source

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# -*- coding: utf-8 -*-
"""*LinuxMint*, which actually has a default 
release version layout, and though could be handled 
by the default handler.

"""
from __future__ import absolute_import

from platformids import rte2num, num2rte, num2pretty, custom_dist, \
    RTE_LINUX


__author__ = 'Arno-Can Uestuensoez'
__license__ = "Artistic-License-2.0 + Forced-Fairplay-Constraints"
__copyright__ = "Copyright (C) 2019 Arno-Can Uestuensoez" \
                " @Ingenieurbuero Arno-Can Uestuensoez"
__version__ = '0.0.1'
__uuid__ = "7add5ded-c39b-4b6e-8c87-1b3a1c150ee9"

RTE_LINUXMINT       = RTE_LINUX   + custom_dist.add_enum()     #: LinuxMint
RTE_LINUXMINT191    = RTE_LINUXMINT    + 0x00001480            #: LinuxMint-19.1

    
#: mapping of the rte string and numeric representation to the numeric value
rte2num.update(
    {
        'linuxmint':        RTE_LINUXMINT,
        RTE_LINUXMINT:      RTE_LINUXMINT,
    }
)


#: mapping of the rte numeric representation to the string value
num2rte.update(
    {
        RTE_LINUXMINT:          'linuxmint',
    }
)

#: mapping of the rte numeric representation to the string value
num2pretty.update(
    {
        RTE_LINUXMINT:          'LinuxMint',
    }
)

8.30.4. Download

custom linuxmint.py