-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathPackageInfo.g
102 lines (84 loc) · 2.96 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
#############################################################################
##
## Demo PackageInfo.g for the GitHubPagesForGAP
##
SetPackageInfo( rec(
PackageName := "GitHubPagesForGAP",
Subtitle := "A GitHub Pages generator for GAP packages",
Version := "0.3",
Date := "10/11/2019", # dd/mm/yyyy format
License := "0BSD",
Persons := [
rec(
LastName := "Horn",
FirstNames := "Max",
IsAuthor := true,
IsMaintainer := true,
Email := "[email protected]",
WWWHome := "https://www.quendi.de/math",
PostalAddress := Concatenation(
"Department Mathematik\n",
"Universität Siegen\n",
"Walter-Flex-Straße 3\n",
"57072 Siegen\n",
"Germany" ),
Place := "Siegen",
Institution := "Universität Siegen"
),
rec(
LastName := "Thor",
FirstNames := "A. U.",
IsAuthor := true,
IsMaintainer := false,
#Email := "[email protected]",
),
rec(
LastName := "Itor",
FirstNames := "Jan",
IsAuthor := false,
IsMaintainer := true,
#Email := "[email protected]",
),
],
Status := "other",
# The following are not strictly necessary in your own PackageInfo.g
# (in the sense that update.g only looks at the usual fields
# like PackageWWWHome, ArchiveURL etc.). But they are convenient
# if you use exactly the scheme for your package website that we propose.
GithubUser := "gap-system",
GithubRepository := ~.PackageName,
GithubWWW := Concatenation("https://github.com/", ~.GithubUser, "/", ~.GithubRepository),
PackageWWWHome := Concatenation("https://", ~.GithubUser, ".github.io/", ~.GithubRepository, "/"),
README_URL := Concatenation( ~.PackageWWWHome, "README.md" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "PackageInfo.g" ),
# The following assumes you are using the Github releases system. If not, adjust
# it accordingly.
ArchiveURL := Concatenation(~.GithubWWW,
"/releases/download/v", ~.Version, "/",
~.GithubRepository, "-", ~.Version),
ArchiveFormats := ".tar.gz .tar.bz2",
AbstractHTML :=
"This is a pseudo package that contains no actual\
<span class=\"pkgname\">GAP</span> code. Instead, it is a template for other\
GAP packages that allows to quickly setup GitHub Pages.",
PackageDoc := rec(
BookName := "GitHubPagesForGAP",
ArchiveURLSubset := ["doc"],
HTMLStart := "doc/chap0.html",
PDFFile := "doc/manual.pdf",
SixFile := "doc/manual.six",
LongTitle := "A GitHub Pages generator for GAP packages",
),
# The following dependencies are fake and for testing / demo purposes
Dependencies := rec(
GAP := ">=4.8.1",
NeededOtherPackages := [
["GAPDoc", ">= 1.2"],
["IO", ">= 4.1"],
],
SuggestedOtherPackages := [["orb", ">= 4.2"]],
ExternalConditions := []
),
AvailabilityTest := ReturnTrue,
Keywords := ["GitHub Pages", "GAP"]
));