-
Notifications
You must be signed in to change notification settings - Fork 463
/
exim.py
49 lines (48 loc) · 1.68 KB
/
exim.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Copyright (C) 2022 Orange
# SPDX-License-Identifier: GPL-3.0-or-later
mapping_test_data = [
{"product": "exim", "version": "4.96", "version_strings": ["exim/4.96"]},
{
"product": "exim",
"version": "4.96",
"version_strings": ["4.96\n<<eximversion>>"],
},
{"product": "exim", "version": "4.94.2", "version_strings": ["exim/4.94.2"]},
]
package_test_data = [
{
"url": "http://rpmfind.net/linux/fedora/linux/development/rawhide/Everything/aarch64/os/Packages/e/",
"package_name": "exim-4.96-3.fc38.aarch64.rpm",
"product": "exim",
"version": "4.96",
"other_products": ["berkeley_db"],
},
{
"url": "http://rpmfind.net/linux/fedora-secondary/development/rawhide/Everything/ppc64le/os/Packages/e/",
"package_name": "exim-4.96-3.fc38.ppc64le.rpm",
"product": "exim",
"version": "4.96",
"other_products": ["berkeley_db"],
},
{
"url": "http://ftp.de.debian.org/debian/pool/main/e/exim4/",
"package_name": "exim4-daemon-light_4.89-2+deb9u7_arm64.deb",
"product": "exim",
"version": "4.89",
"other_products": ["berkeley_db"],
},
{
"url": "http://ftp.de.debian.org/debian/pool/main/e/exim4/",
"package_name": "exim4-daemon-light_4.94.2-7_mips64el.deb",
"product": "exim",
"version": "4.94.2",
"other_products": ["berkeley_db"],
},
{
"url": "https://downloads.openwrt.org/releases/22.03.0/packages/x86_64/packages/",
"package_name": "exim_4.95-1_x86_64.ipk",
"product": "exim",
"version": "4.95",
"other_products": ["berkeley_db", "gnutls"],
},
]