-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathPackageInfo.g
102 lines (86 loc) · 2.92 KB
/
PackageInfo.g
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
SetPackageInfo( rec(
PackageName := "cohomolo",
Subtitle := "Cohomology groups of finite groups on finite modules",
Version := "1.6.11",
Date := "03/01/2023", # dd/mm/yyyy format
License := "GPL-2.0-or-later",
Persons := [
rec(
LastName := "Holt",
FirstNames := "Derek",
IsAuthor := true,
IsMaintainer := false,
Email := "[email protected]",
WWWHome := "http://homepages.warwick.ac.uk/staff/D.F.Holt/",
PostalAddress := Concatenation( [
"Mathematics Institute\n",
"University of Warwick\n",
"Coventry CV4 7AL\n", "UK" ] )
),
rec(
LastName := "GAP Team",
FirstNames := "The",
IsAuthor := false,
IsMaintainer := true,
Email := "[email protected]",
),
],
Status := "accepted",
CommunicatedBy := "unknown (unknown)",
AcceptDate := "01/1970", # unknown, package might predate refereeing system
SourceRepository := rec(
Type := "git",
URL := Concatenation( "https://github.com/gap-packages/", ~.PackageName ),
),
IssueTrackerURL := Concatenation( ~.SourceRepository.URL, "/issues" ),
PackageWWWHome := Concatenation( "https://gap-packages.github.io/", ~.PackageName ),
README_URL := Concatenation( ~.PackageWWWHome, "/README.md" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "/PackageInfo.g" ),
ArchiveURL := Concatenation( ~.SourceRepository.URL,
"/releases/download/v", ~.Version,
"/", ~.PackageName, "-", ~.Version ),
ArchiveFormats := ".tar.gz",
AbstractHTML :=
"The <span class=\"pkgname\">cohomolo</span> package is a\
<span class=\"pkgname\">GAP</span> interface to some `C' programs\
for computing Schur multipliers and covering groups of finite groups\
and first and second cohomology groups of finite groups acting\
on finite modules",
PackageDoc := rec(
BookName := "cohomolo",
ArchiveURLSubset := ["doc", "htm"],
HTMLStart := "htm/chapters.htm",
PDFFile := "doc/manual.pdf",
SixFile := "doc/manual.six",
LongTitle := "Computing Cohomology groups and Schur Multipliers",
),
Dependencies := rec(
GAP := ">=4.7",
NeededOtherPackages := [],
SuggestedOtherPackages := [],
ExternalConditions := ["Unix only"]
),
AvailabilityTest := function()
local path,file;
# test for existence of the compiled binary
path:=DirectoriesPackagePrograms("cohomolo");
file:=Filename(path,"extprun");
if file=fail then
Info(InfoWarning,1,
"Package ``cohomolo'': The program `extprun' (for example) is not compiled");
Info(InfoWarning,1,
"`cohomolo' is thus unavailable");
Info(InfoWarning,1,
"See the installation instructions; ",
"type: ?Installing the package");
return false;
fi;
return true;
end,
Keywords := [
"Cohomology",
"Schur Multiplier",
"Covering group"
],
TestFile := "tst/testall.g",
));