+mathpaqs, -alire_reserved

This commit is contained in:
Alejandro R Mosteo
2018-03-14 12:35:09 +01:00
parent 5c3d8bc5b1
commit 0832927844
5 changed files with 67 additions and 6 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ package Alire.Index.Alire is
Semantic_Versioning.V_0_1_2.Within_Minor and
Simple_Logging.V_1_0.Within_Major);
function Example_Project is new Catalogued_Project (Projects.Alire_Reserved);
function Example_Project is new Catalogued_Project (Projects.Alire);
Elite_Dangerous,
Half_Life_3,
+51
View File
@@ -0,0 +1,51 @@
package Alire.Index.Mathpaqs is
function Project is new Catalogued_Project (Projects.Mathpaqs);
Prj_Repo : constant URL := "https://github.com/svn2github/Mathpaqs.git";
Prj_Author : constant String := "Gautier de Montmollin";
Prj_Website : constant URL := "https://mathpacks.sourceforge.io/";
V_20180114 : constant Release :=
Project.Register
(V ("20180114"),
Git (Prj_Repo, "c17a6725c4b559ea55b64f0cf3c3660e558777ea"),
Properties =>
GPR_Scenario ("Build_Mode", "Debug" or "Style_Checks" or "Fast") and
Executable ("arenstorf") and
Executable ("arithmetic_compression") and
Executable ("biomorph") and
Executable ("champ_vt") and
Executable ("cr_demo") and
Executable ("fractal") and
Executable ("gnat_int") and
Executable ("ppm2func") and
Executable ("show_floats_limits") and
Executable ("test_beta") and
Executable ("test_cholesky") and
Executable ("test_copulas") and
Executable ("test_ert") and
Executable ("test_estimators") and
Executable ("test_formulas") and
Executable ("test_gamma") and
Executable ("test_generic_real_linear_equations") and
Executable ("test_normal") and
Executable ("test_pareto") and
Executable ("test_poisson") and
Executable ("test_qr") and
Executable ("test_random_performance") and
Executable ("test_rsa") and
Executable ("test_samples") and
Executable ("test_sparse") and
Executable ("test_u_rand") and
Author (Prj_Author) and
Website (Prj_Website) and
License (Unknown)
);
V_Pi_Day : Release renames V_20180114; -- Let's celebrate!
end Alire.Index.Mathpaqs;
+13 -3
View File
@@ -11,7 +11,6 @@ package Alire.Projects with Preelaborate is
(Ada_Lua,
Adacurses,
Alire,
Alire_Reserved, -- Special release for internal use
Alr,
APQ,
AUnit,
@@ -56,6 +55,12 @@ package Alire.Projects with Preelaborate is
LibSDL2_TTF,
LibX11,
-------
-- M --
-------
Mathpaqs,
NcursesAda,
OpenGLAda,
@@ -92,8 +97,6 @@ package Alire.Projects with Preelaborate is
"Wrapper on different packagings of NcursesAda",
when Alire =>
"Alire project catalog and support files",
when Alire_Reserved =>
"Alire internal",
when Alr =>
"Command-line tool from the Alire project",
when APQ =>
@@ -164,6 +167,13 @@ package Alire.Projects with Preelaborate is
when LibX11 =>
"X11 client-side library",
-------
-- M --
-------
when Mathpaqs =>
"A collection of mathematical, 100% portable, packages",
when NcursesAda =>
"Ada binding to the ncurses text interface library",
+1 -1
View File
@@ -52,7 +52,7 @@ package body Alire.Index is
function Exists (Project : Name_String) return Boolean is
begin
return Names'Value (Project) = Alire_Reserved or else True;
return Names'Value (Project) = Projects.Alire or else True;
exception
when others =>
return False;
+1 -1
View File
@@ -338,6 +338,6 @@ private
function Unavailable return Conditional.Dependencies is
(Conditional.For_Dependencies.New_Value -- A conditional (without condition) dependency vector
(Dependencies.Vectors.New_Dependency (Projects.Alire_Reserved, Semver.Any)));
(Dependencies.Vectors.New_Dependency (Projects.Alire, Semver.At_Most (Semver.V ("0.0")))));
end Alire.Index;