|
1 | 1 | ############################################################################# |
2 | 2 | ## |
3 | | -## Demo PackageInfo.g for the GitHubPagesForGAP |
| 3 | +## PackageInfo.g for the package `Forms' |
| 4 | +## John Bamberg |
| 5 | +## Jan De Beule |
4 | 6 | ## |
| 7 | +## (created from Frank Luebeck's PackageInfo.g template file) |
| 8 | +## |
5 | 9 |
|
6 | | -SetPackageInfo( rec( |
7 | | - |
8 | | -PackageName := "GitHubPagesForGAP", |
| 10 | +SetPackageInfo( rec( |
| 11 | + PackageName := "Forms", |
| 12 | + Subtitle := "Sesquilinear and Quadratic", |
| 13 | + Version := "1.2.14", |
| 14 | + Date := "26/01/2026", |
| 15 | + License := "GPL-2.0-or-later", |
| 16 | + |
| 17 | +SourceRepository := rec( |
| 18 | + Type := "git", |
| 19 | + URL := Concatenation( "https://github.com/gap-packages/", LowercaseString(~.PackageName) ), |
| 20 | + |
| 21 | +), |
| 22 | +IssueTrackerURL := Concatenation( ~.SourceRepository.URL, "/issues" ), |
| 23 | +PackageWWWHome := Concatenation( "https://gap-packages.github.io/", LowercaseString(~.PackageName) ), |
| 24 | +README_URL := Concatenation( ~.PackageWWWHome, "/README" ), |
| 25 | +PackageInfoURL := Concatenation( ~.PackageWWWHome, "/PackageInfo.g" ), |
| 26 | +ArchiveURL := Concatenation( ~.SourceRepository.URL, |
| 27 | + "/releases/download/v", ~.Version, |
| 28 | + "/", LowercaseString(~.PackageName), "-", ~.Version ), |
9 | 29 |
|
10 | | -Subtitle := "A GitHub Pages generator for GAP packages", |
11 | | -Version := "0.4", |
12 | | -Date := "10/04/2025", # dd/mm/yyyy format |
13 | | -License := "0BSD", |
| 30 | +ArchiveFormats := ".tar.gz .zip .tar.bz2", |
14 | 31 |
|
15 | 32 | Persons := [ |
| 33 | + rec( |
| 34 | + LastName := "Bamberg", |
| 35 | + FirstNames := "John", |
| 36 | + IsAuthor := true, |
| 37 | + IsMaintainer := true, |
| 38 | + Email := "john.bamberg@uwa.edu.au", |
| 39 | + WWWHome := "https://johnbamberg.github.io", |
| 40 | + GitHubUsername := "johnbamberg", |
| 41 | + PostalAddress := Concatenation( [ |
| 42 | + "School of Mathematics and Statistics\n", |
| 43 | + "The University of Western Australia\n", |
| 44 | + "35 Stirling Highway\n", |
| 45 | + "Crawley WA 6009, Perth\n", |
| 46 | + "Australia" ] ), |
| 47 | + Place := "Perth", |
| 48 | + Institution := "The University of Western Australia", |
| 49 | + ), |
| 50 | + rec( |
| 51 | + LastName := "De Beule", |
| 52 | + FirstNames := "Jan", |
| 53 | + IsAuthor := true, |
| 54 | + IsMaintainer := true, |
| 55 | + Email := "jan@debeule.eu", |
| 56 | + WWWHome := "http://www.debeule.eu", |
| 57 | + GitHubUsername := "jdebeule", |
| 58 | + PostalAddress := Concatenation( [ |
| 59 | + "Department of Mathematics and Data Science\n", |
| 60 | + "Vrije Universiteit Brussel\n", |
| 61 | + "Pleinlaan 2\n", |
| 62 | + "B-1050 Brussel\n", |
| 63 | + "Belgium" ] ), |
| 64 | + Place := "Brussels", |
| 65 | + Institution := "Vrije Universiteit Brussel", |
| 66 | + ), |
16 | 67 | rec( |
17 | 68 | LastName := "Horn", |
18 | 69 | FirstNames := "Max", |
19 | | - IsAuthor := true, |
| 70 | + IsAuthor := false, |
20 | 71 | IsMaintainer := true, |
21 | 72 | Email := "mhorn@rptu.de", |
22 | 73 | WWWHome := "https://www.quendi.de/math", |
23 | | - GitHubUsername:= "fingolfin", |
| 74 | + GitHubUsername := "fingolfin", |
24 | 75 | PostalAddress := Concatenation( |
25 | 76 | "Fachbereich Mathematik\n", |
26 | 77 | "RPTU Kaiserslautern-Landau\n", |
27 | 78 | "Gottlieb-Daimler-Straße 48\n", |
28 | 79 | "67663 Kaiserslautern\n", |
29 | 80 | "Germany" ), |
30 | 81 | Place := "Kaiserslautern, Germany", |
31 | | - Institution := "RPTU Kaiserslautern-Landau" |
32 | | - ), |
33 | | - |
34 | | - rec( |
35 | | - LastName := "Thor", |
36 | | - FirstNames := "A. U.", |
37 | | - IsAuthor := true, |
38 | | - IsMaintainer := false, |
39 | | - #Email := "author@example.com", |
40 | | - ), |
41 | | - |
42 | | - rec( |
43 | | - LastName := "Itor", |
44 | | - FirstNames := "Jan", |
45 | | - IsAuthor := false, |
46 | | - IsMaintainer := true, |
47 | | - #Email := "janitor@example.com", |
| 82 | + Institution := "RPTU Kaiserslautern-Landau", |
48 | 83 | ), |
49 | 84 | ], |
50 | 85 |
|
51 | | -Status := "other", |
52 | | - |
53 | | -# The following are not strictly necessary in your own PackageInfo.g |
54 | | -# (in the sense that update.g only looks at the usual fields |
55 | | -# like PackageWWWHome, ArchiveURL etc.). But they are convenient |
56 | | -# if you use exactly the scheme for your package website that we propose. |
57 | | -GithubUser := "gap-system", |
58 | | -GithubRepository := ~.PackageName, |
59 | | -GithubWWW := Concatenation("https://github.com/", ~.GithubUser, "/", ~.GithubRepository), |
60 | | - |
61 | | -PackageWWWHome := Concatenation("https://", ~.GithubUser, ".github.io/", ~.GithubRepository, "/"), |
62 | | -README_URL := Concatenation( ~.PackageWWWHome, "README.md" ), |
63 | | -PackageInfoURL := Concatenation( ~.PackageWWWHome, "PackageInfo.g" ), |
64 | | -# The following assumes you are using the Github releases system. If not, adjust |
65 | | -# it accordingly. |
66 | | -ArchiveURL := Concatenation(~.GithubWWW, |
67 | | - "/releases/download/v", ~.Version, "/", |
68 | | - ~.GithubRepository, "-", ~.Version), |
69 | | - |
70 | | -ArchiveFormats := ".tar.gz .tar.bz2", |
71 | | - |
72 | | -AbstractHTML := |
73 | | - "This is a pseudo package that contains no actual\ |
74 | | - <span class=\"pkgname\">GAP</span> code. Instead, it is a template for other\ |
75 | | - GAP packages that allows to quickly setup GitHub Pages.", |
| 86 | +Status := "accepted", |
| 87 | +CommunicatedBy := "Leonard Soicher (London)", |
| 88 | +AcceptDate := "03/2009", |
76 | 89 |
|
| 90 | +AbstractHTML := "This package can be used for work with sesquilinear and quadratic forms on finite vector spaces; objects that are used to describe polar spaces and classical groups.", |
| 91 | + |
77 | 92 | PackageDoc := rec( |
78 | | - BookName := "GitHubPagesForGAP", |
| 93 | + # use same as in GAP |
| 94 | + BookName := "Forms", |
79 | 95 | ArchiveURLSubset := ["doc"], |
80 | | - HTMLStart := "doc/chap0.html", |
| 96 | + HTMLStart := "doc/chap0_mj.html", |
81 | 97 | PDFFile := "doc/manual.pdf", |
82 | 98 | SixFile := "doc/manual.six", |
83 | | - LongTitle := "A GitHub Pages generator for GAP packages", |
| 99 | + LongTitle := "Forms - Sesquilinear and Quadratic", |
84 | 100 | ), |
85 | 101 |
|
86 | | -# The following dependencies are fake and for testing / demo purposes |
87 | 102 | Dependencies := rec( |
88 | | - GAP := ">=4.8.1", |
89 | | - NeededOtherPackages := [ |
90 | | - ["GAPDoc", ">= 1.2"], |
91 | | - ["IO", ">= 4.1"], |
92 | | - ], |
93 | | - SuggestedOtherPackages := [["orb", ">= 4.2"]], |
94 | | - ExternalConditions := [] |
95 | | -), |
| 103 | + GAP := ">=4.9", |
| 104 | + NeededOtherPackages := [], |
| 105 | + SuggestedOtherPackages := [], |
| 106 | + ExternalConditions := []), |
96 | 107 |
|
97 | 108 | AvailabilityTest := ReturnTrue, |
98 | 109 |
|
99 | | -Keywords := ["GitHub Pages", "GAP"] |
| 110 | +BannerString := Concatenation( |
| 111 | + "---------------------------------------------------------------------\n", |
| 112 | + "Loading 'Forms' ", ~.Version," (", ~.Date,")", "\n", |
| 113 | + "by ", ~.Persons[1].FirstNames, " ", ~.Persons[1].LastName, |
| 114 | + " (", ~.Persons[1].WWWHome, ")\n", |
| 115 | + " ", ~.Persons[2].FirstNames, " ", ~.Persons[2].LastName, |
| 116 | + " (", ~.Persons[2].WWWHome, ")\n", |
| 117 | + "For help, type: ?Forms \n", |
| 118 | + "---------------------------------------------------------------------\n" ), |
| 119 | + |
| 120 | +TestFile := "tst/testall.g", |
| 121 | + |
| 122 | +Keywords := ["Forms", "Sesquilinear", "Quadratic"], |
| 123 | + |
| 124 | +AutoDoc := rec( |
| 125 | + TitlePage := rec( |
| 126 | + Copyright := Concatenation( |
| 127 | + "©right; 2015-2024 by the authors<P/>\n\n", |
| 128 | + "This package may be distributed under the terms and conditions ", |
| 129 | + "of the GNU Public License Version 2 or (at your option) any later version.\n" |
| 130 | + ), |
| 131 | + ) |
| 132 | +), |
100 | 133 |
|
101 | 134 | )); |
102 | | - |
103 | | - |
|
0 commit comments