-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathPackageInfo.g
168 lines (144 loc) · 5.52 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
#############################################################################
##
## PackageInfo.g for the package `JupyterViz' Nathan Carter
## (copied and edited from the Example package)
##
## This file contains meta-information on the package. It is used by
## the package loading mechanism and the upgrade mechanism for the
## redistribution of the package via the GAP website.
##
## For the LoadPackage mechanism in GAP >= 4.5 the minimal set of needed
## entries is .PackageName, .Version, and .AvailabilityTest, and an error
## will occur if any of them is missing. Other important entries are
## .PackageDoc and .Dependencies. The other entries are relevant if the
## package will be distributed for other GAP users, in particular if it
## will be redistributed via the GAP Website.
##
## With a new release of the package at least the entries .Version, .Date
## and .ArchiveURL must be updated.
SetPackageInfo( rec(
#########
#
# Name and version
#
#########
PackageName := "JupyterViz",
Subtitle := "Visualization Tools for Jupyter and the GAP REPL",
Version := "1.5.6",
Date := "16/08/2022", # Release date of current version, dd/mm/yyyy
License := "GPL-2.0-or-later",
#########
#
# Topic and dependencies
#
#########
## Status information. Currently the following cases are recognized:
## "accepted" for successfully refereed packages
## "submitted" for packages submitted for the refereeing
## "deposited" for packages for which the GAP developers agreed
## to distribute them with the core GAP system
## "dev" for development versions of packages
## "other" for all other packages
Status := "deposited",
## If this package is refereed and accepted, you must provide:
# CommunicatedBy := "Person Name (Place Name)",
# AcceptDate := "mm/yyyy",
Keywords := [
"Jupyter Notebook", "visualization", "graph", "plot", "chart", "HTML", "JavaScript"
],
Dependencies := rec(
GAP := ">= 4.9",
NeededOtherPackages := [
[ "json", "2.0.0" ],
[ "GAPDoc", "1.3" ]
],
SuggestedOtherPackages := [ ]
),
#########
#
# URLs
#
#########
PackageWWWHome := Concatenation( "https://nathancarter.github.io/",
LowercaseString( ~.PackageName ) ),
## Later, if this becomes part of GAP, use:
## Concatenation( "https://gap-packages.github.io/", LowercaseString( ~.PackageName ) ),
SourceRepository := rec( Type := "git",
URL := Concatenation( "https://github.com/nathancarter/",
LowercaseString( ~.PackageName ) ) ),
IssueTrackerURL := Concatenation( ~.SourceRepository.URL, "/issues" ),
SupportEmail := "[email protected]",
README_URL := Concatenation( ~.PackageWWWHome, "/README.md" ),
PackageInfoURL := Concatenation( ~.PackageWWWHome, "/PackageInfo.g" ),
## URL of the archive(s) of the current package release, but *without*
## the format extension(s), like '.tar.gz' or '-win.zip', which are given next.
## The archive file name *must be changed* with each version of the archive
## (and probably somehow contain the package name and version).
## The paths of the files in the archive must begin with the name of the
## directory containing the package (in our "example" probably:
## example/init.g, ... or example-3.3/init.g, ... )
ArchiveURL := Concatenation( ~.SourceRepository.URL,
"/releases/download/v", ~.Version, "/",
LowercaseString( ~.PackageName ), "-", ~.Version ),
ArchiveFormats := ".tar.gz",
#########
#
# Contact info
#
#########
Persons := [
rec(
FirstNames := "Nathan",
LastName := "Carter",
IsAuthor := true,
IsMaintainer := true,
Email := "[email protected]",
WWWHome := "http://nathancarter.github.io",
PostalAddress := Concatenation( [
"175 Forest St.\n",
"Waltham, MA 02452\n",
"USA" ] ),
Place := "Waltham",
Institution := "Bentley University"
)
],
#########
#
# Documentation
#
#########
## Provide a short (up to a few lines) abstract in HTML format, explaining
## the package content. This text will be displayed on the package overview
## Web page. Please use '<span class="pkgname">GAP</span>' for GAP and
## '<span class="pkgname">MyPKG</span>' for specifing package names.
##
# AbstractHTML := "This package provides a collection of functions for \
# computing the Smith normal form of integer matrices and some related \
# utilities.",
AbstractHTML :=
"The <span class=\"pkgname\">JupyterViz</span> package \
adds visualization tools for use in Jupyter Notebooks \
or from the GAP REPL. Those tools can be used to make \
charts, graphs, and arbitrary other visualizations.",
PackageDoc := rec(
BookName := "JupyterViz",
ArchiveURLSubset := [ "doc" ],
HTMLStart := "doc/chap0_mj.html",
PDFFile := "doc/manual.pdf",
SixFile := "doc/manual.six",
LongTitle := "Visualization Tools for Jupyter and the GAP REPL",
),
#########
#
# Tests
#
#########
## Provide a test function for the availability of this package.
## For packages containing nothing but GAP code, just say 'ReturnTrue' here.
## With the package loading mechanism of GAP >=4.4, the availability
## tests of other packages, as given under .Dependencies above, will be
## done automatically and need not be included in this function.
##
AvailabilityTest := ReturnTrue,
TestFile := "tst/testall.g"
) );