[gnome-continuous-yocto/gnomeostree-3.28-rocko: 6487/8267] lib/oe/distro_check: drop Mandriva from create_distro_packages_list()



commit 25b410d851a04aeea1a0de7cccf85dfce63b9de0
Author: Joshua Lock <joshua g lock intel com>
Date:   Tue Jun 20 10:58:53 2017 +0100

    lib/oe/distro_check: drop Mandriva from create_distro_packages_list()
    
    Mandriva is no longer maintained, with its last release having been in
    2011. It's no longer useful as a yard-stick distro, therefore drop it from
    distro_check.create_distro_packages_list()
    
    (From OE-Core rev: 4e1bef31e04044d26a948a9682a5122b46d15c0f)
    
    Signed-off-by: Joshua Lock <joshua g lock intel com>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/lib/oe/distro_check.py |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/meta/lib/oe/distro_check.py b/meta/lib/oe/distro_check.py
index 7a727dd..e775c3a 100644
--- a/meta/lib/oe/distro_check.py
+++ b/meta/lib/oe/distro_check.py
@@ -83,13 +83,6 @@ def get_latest_released_opensuse_source_package_list(d):
     package_names |= get_source_package_list_from_url("http://download.opensuse.org/update/leap/%s/oss/src/"; 
% latest, "updates", d)
     return latest, package_names
 
-def get_latest_released_mandriva_source_package_list(d):
-    "Returns list of all the name os packages in the latest mandriva distro"
-    latest = 
find_latest_numeric_release("http://distrib-coffee.ipsl.jussieu.fr/pub/linux/MandrivaLinux/official/";, d)
-    package_names = 
get_source_package_list_from_url("http://distrib-coffee.ipsl.jussieu.fr/pub/linux/MandrivaLinux/official/%s/SRPMS/main/release/";
 % latest, "main", d)
-    package_names |= 
get_source_package_list_from_url("http://distrib-coffee.ipsl.jussieu.fr/pub/linux/MandrivaLinux/official/%s/SRPMS/main/updates/";
 % latest, "updates", d)
-    return latest, package_names
-
 def get_latest_released_clear_source_package_list(d):
     latest = find_latest_numeric_release("https://download.clearlinux.org/releases/";, d)
     package_names = 
get_source_package_list_from_url("https://download.clearlinux.org/releases/%s/clear/source/SRPMS/"; % latest, 
"main", d)
@@ -162,7 +155,6 @@ def create_distro_packages_list(distro_check_dir, d):
                             ("Ubuntu", get_latest_released_ubuntu_source_package_list),
                             ("Fedora", get_latest_released_fedora_source_package_list),
                             ("openSUSE", get_latest_released_opensuse_source_package_list),
-                            ("Mandriva", get_latest_released_mandriva_source_package_list),
                             ("Clear", get_latest_released_clear_source_package_list),
                            )
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]