Page MenuHomeFreeBSD

devel/alire: New Port, alr, Ada LIbrary REpository (ALIRE) management tool
ClosedPublic

Authored by agh_riseup.net on Aug 16 2023, 1:21 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 27, 4:49 PM
Unknown Object (File)
Dec 31 2024, 6:28 AM
Unknown Object (File)
Dec 31 2024, 6:04 AM
Unknown Object (File)
Dec 3 2024, 9:47 AM
Unknown Object (File)
Nov 30 2024, 6:34 PM
Unknown Object (File)
Oct 20 2024, 8:08 AM
Unknown Object (File)
Oct 8 2024, 1:36 AM
Unknown Object (File)
Oct 5 2024, 4:46 PM
Subscribers
None

Details

Summary

tl;dr a package manager for the Ada programming language.

New Ada Port:

ALIRE: Ada LIbrary REpository

A catalog of ready-to-use Ada/SPARK libraries plus a command-line tool (alr) to obtain, build, and incorporate them into your own projects. It aims to fulfill a similar role to Rust’s cargo or OCaml’s opam.
Design principles

alr is tailored to userspace, in a similar way to Python’s virtualenv. A project or workspace will contain all its dependencies.

Some projects require binary packages from the distribution (Debian/Ubuntu’s apt, msys2’s pacman on Windows). In this case the user will be asked to authorize an installation through the distribution package manager.

Properties and dependencies of projects are managed through a TOML file. This file exists locally for working copies of projects, and the Alire community index stores the files corresponding to its projects.

The complete build environment is automatically set up by Alire, thus freeing the user from concerns about installation paths. The user simply adds dependencies to the alire.toml manifest, either from the command-line (alr with) or a text editor, Alire handles the rest.

https://github.com/alire-project/alire

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

agh_riseup.net created this revision.
  • Switch to pkg-plist
  • Make use of 'USES=ada:12,run' over setting ${PATH} in ${MAKE_ENV}
  • Move -p to ${_GPR_ARGS}
  • Add OPTIONS for Bash completion and X Windows Desktop Entry
  • Remove library related stuff, I do not think libalire is happening yet.

Update patch:

  • Add B0RKED i386 declaration
  • Generate and format patch with 'git format-patch'
  • Remove options on desktop entry and Bash completions
  • Add desktop-file-utils to ${USES} on warning from portlint

Note: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273092

This revision was not accepted when it landed; it landed in state Needs Review.Oct 4 2023, 8:03 PM
This revision was automatically updated to reflect the committed changes.