# Path: lib/distro.py
# LOG = logging.getLogger(__name__)
# SUPPORTED_ARCHITECTURES = ("ppc64le")
# class LinuxDistribution(object):
#     def __init__(self, name=None, version=None, architecture=None):


from lib import distro
# Copyright (C) IBM Corp. 2016.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.


# The old versions contains directories erroneously named "7.2" instead
# of just "7". To keep backwards compatibility, we have to list "7.2" as
# a supported version in addition to "7". To build those versions,
# you'll have to edit the version in your "config/host_os.yaml" file to "7.2".
CENTOS_VERSIONS = ["7.2", "7", ]

# The old versions had packages metadata files under `centOS` directory. We
# need to lookup on these directories to maintain compatibility.
CENTOS_NAMES = ["CentOS", "centOS"]

class CentOS(distro.LinuxDistribution):


# Path: lib/distro.py
# LOG = logging.getLogger(__name__)
# SUPPORTED_ARCHITECTURES = ("ppc64le")
# class LinuxDistribution(object):
#     def __init__(self, name=None, version=None, architecture=None):


# Path: lib/centos.py
from lib import distro

# Copyright (C) IBM Corp. 2016.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.


# The old versions contains directories erroneously named "7.2" instead
# of just "7". To keep backwards compatibility, we have to list "7.2" as
# a supported version in addition to "7". To build those versions,
# you'll have to edit the version in your "config/host_os.yaml" file to "7.2".
CENTOS_VERSIONS = ["7.2", "7", ]

# The old versions had packages metadata files under `centOS` directory. We
# need to lookup on these directories to maintain compatibility.
CENTOS_NAMES = ["CentOS", "centOS"]

class CentOS(distro.LinuxDistribution):


    supported_versions = CENTOS_VERSIONS