Package platformids :: Package custom :: Module blackarch

Module blackarch

source code

BlackArch Linux releases.

Here *BlackArch* Linux, which has the same encoding as *ArchLinux*.


Version: 0.1.1

Author: Arno-Can Uestuensoez

License: Artistic-License-2.0 + Forced-Fairplay-Constraints

Functions
 
my_distrel2tuple(rte=RTE)
Callback for special version layout of BlackArch Linux, the same as ArchLinux by Rolling-Versioning, see manuals.
source code
Variables
  __uuid__ = "7add5ded-c39b-4b6e-8c87-1b3a1c150ee9"
  RTE_BLACKARCH = RTE_LINUX+ custom_dist.add_enum()
BlackArch Linux
  RTE_BLACKARCH20180 = RTE_BLACKARCH+ 0x00006000
BlackArch-2018.0 - offset 1970.1.1
Function Details

my_distrel2tuple(rte=RTE)

source code 
Callback for special version layout of BlackArch Linux, the
 same as ArchLinux by Rolling-Versioning, see manuals. 
 
 A callback to be used by the function:
 
    platformids.decode_rte_distrel_to_segments(rte=RTE)
 
 Decodes the compressed *distrel* from the 32bit integer
 bitmask *rte* into the corresponding tuple of integer
 segments.

Args:
    rte:
        The comppressed runtime environment identifier bitmask.
         
        default := RTE

Returns:
    Tuple of Integer values of the encoded segments, either
    as defined by the default layout, or any known as defined
    by additional extended and/or custom criteria.
 
Raises:
    pass-through

Examples:
  ::

     decode_rte_distrel_to_segments()     
     =>  (2019, 4, 1)     # on BlackArch-2019.4.1

 

Decorators: