-
Notifications
You must be signed in to change notification settings - Fork 463
/
glib.py
33 lines (32 loc) · 1.15 KB
/
glib.py
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
# Copyright (C) 2022 Orange
# SPDX-License-Identifier: GPL-3.0-or-later
mapping_test_data = [
{"product": "glib", "version": "2.74.0", "version_strings": ["GDBus 2.74.0"]},
{"product": "glib", "version": "2.74.0", "version_strings": ["glib-2.74.0"]},
]
package_test_data = [
{
"url": "http://rpmfind.net/linux/fedora/linux/development/rawhide/Everything/aarch64/os/Packages/g/",
"package_name": "glib2-2.74.0-3.fc38.aarch64.rpm",
"product": "glib",
"version": "2.74.0",
},
{
"url": "http://rpmfind.net/linux/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/g/",
"package_name": "glib2-2.74.0-3.fc38.i686.rpm",
"product": "glib",
"version": "2.74.0",
},
{
"url": "http://ftp.fr.debian.org/debian/pool/main/g/glib2.0/",
"package_name": "libglib2.0-0_2.50.3-2+deb9u2_arm64.deb",
"product": "glib",
"version": "2.50.3",
},
{
"url": "https://downloads.openwrt.org/releases/packages-19.07/x86_64/packages/",
"package_name": "glib2_2.58.3-5_x86_64.ipk",
"product": "glib",
"version": "2.58.3",
},
]