From nobody Wed Oct 04 20:03:06 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S15GM1TBFz4w4YK; Wed, 4 Oct 2023 20:03:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S15GM0X6Qz4HBJ; Wed, 4 Oct 2023 20:03:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696449787; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Qo7aA9lcV8kcCD4VnKmkddWw/ZZiKU7wRAX6zlgfC4I=; b=io29dAQ/TwVWUPVDDNHUkn4qvyxjaNfmGGN5aUCOb44PFkRvVFqSWwr2axSse+p02ZwtVY OmVTrXd3m9xWdUN33txCa4vEIwy3dFXdcTiVl/5OA73iC1VAacHu4VowdanvaJQQxN/kIf hFXAIDlYOxmefvC3n7vubTe1YtU+djCudrYalFJXjIoOx4vn9QwQO+LrJXaVZ3wCPF1gl3 MR+ip5b93gj/pdymTcYAaYhYlmDZJipn8XosfnC07Q5iUNBbqWeHFe0bAO+24KrdCUNP6Q a29g/UmRCUy07BGbv1A13EAWSyb9uksd+3C7dDOhsNfZEHpy2FSLska7Rt244A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696449787; a=rsa-sha256; cv=none; b=oLTvMKjD3Vx9ZrN4uWAOxt3fsdop1TqVnrjV+KCVIJhF6W+ST5ckio8PNOOssKDoMktZf5 lFqJqBith6i1/3+KuhP6IDMX92Xg4wHjwJs7f9vwzLU9N2WF9bpWuMUp97LSH0POjyq3Fi 9pE1c2RKksiXk82eRA1dEjOGOahJkzDhQuBbi/L8XXBTNXHDeomdAQjTNiV2Dzqf5XajOp SMSmF3eSyeVy/DVZnMyWibEhp3ig9w/sAdQzoqHdp93bgv4f6LiuZp0I2HImXD6FXWhXgg v77alElZdYD973/nwEk6NzL30v3I1TkG8ZciKCZoona9KBMW9EjpWv19/0s7Cg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696449787; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Qo7aA9lcV8kcCD4VnKmkddWw/ZZiKU7wRAX6zlgfC4I=; b=VZBmNnUcWd9FuoZyGa+Kt7lKizBKeCoeATudHSK1MJ5uxfsbS/U7pjvwWEwDYd132Fbc9K Wf8DvW24r0jpHu5GinpzGAcw1ayVxn6qF52Du2newQK9C+r2y71ESJ03JXhsAokf1VWZhz 4YRZpUETvUt7C4+/4pA6KucmLKBsHu4FDLpFCbaTKUZlkmx8OXvzAyif7C4uIlwYyUWl4T CgaFFn+19d2QHbb48bqSPHdJ6wzTWORPCzyhsfKNTMpR4b52xVHho89a70eWxHTWzmxXKy KYJrRGUBgIc7ew/dfE8QFk3SdWC+fkLq8mqeqx6QL9gdvh5mE6VW7K7KxEhE5A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S15GL6WPPzrjv; Wed, 4 Oct 2023 20:03:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 394K36SI056602; Wed, 4 Oct 2023 20:03:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 394K36UD056599; Wed, 4 Oct 2023 20:03:06 GMT (envelope-from git) Date: Wed, 4 Oct 2023 20:03:06 GMT Message-Id: <202310042003.394K36UD056599@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 930f7ed0ac0a - main - devel/alire: New Port, alr, Ada LIbrary REpository (ALIRE) management tool List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 930f7ed0ac0ad777d9a83b030f7dabe9b6fc883c Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=930f7ed0ac0ad777d9a83b030f7dabe9b6fc883c commit 930f7ed0ac0ad777d9a83b030f7dabe9b6fc883c Author: Alastair Hogge AuthorDate: 2023-10-04 03:20:12 +0000 Commit: Robert Clausecker CommitDate: 2023-10-04 20:01:38 +0000 devel/alire: New Port, alr, Ada LIbrary REpository (ALIRE) management tool ALIRE: Ada LIbrary REpository tool, alr. 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. 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. WWW: https://github.com/alire-project/alire PR: 273092 Differential Revision: https://reviews.freebsd.org/D41478 --- devel/Makefile | 1 + devel/alire/Makefile | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++ devel/alire/distinfo | 3 +++ devel/alire/pkg-descr | 15 +++++++++++++ devel/alire/pkg-plist | 21 ++++++++++++++++++ 5 files changed, 101 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index a386c5549d8c..e63743be84ad 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -155,6 +155,7 @@ SUBDIR += aifad SUBDIR += aixlog SUBDIR += ald + SUBDIR += alire SUBDIR += allegro SUBDIR += allegro5 SUBDIR += amber diff --git a/devel/alire/Makefile b/devel/alire/Makefile new file mode 100644 index 000000000000..342a69fd7d71 --- /dev/null +++ b/devel/alire/Makefile @@ -0,0 +1,61 @@ +PORTNAME= alire +DISTVERSION= 1.2.2 +CATEGORIES= devel +MASTER_SITES= https://github.com/alire-project/${PORTNAME}/releases/download/v${DISTVERSION}/ +DISTNAME= alr-${DISTVERSION}-full-sources + +MAINTAINER= agh@riseup.net +COMMENT= Ada LIbrary REpository (ALIRE) management tool, alr +WWW= https://alire.ada.dev/ + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BROKEN_i386= segfault: raised STORAGE_ERROR : s-intman.adb:136 explicit raise + +BUILD_DEPENDS= gprbuild>0:devel/gprbuild + +USES= ada:12,run desktop-file-utils zip +USE_GCC= yes:build + +_GPR_ARGS= -j${MAKE_JOBS_NUMBER} -p -XALIRE_OS=freebsd + +WRKSRC= ${WRKDIR}/alr-${DISTVERSION} + +OPTIONS_DEFINE= DEBUG DOCS +OPTIONS_SUB= yes + +DOCS_DESC= Install Design and Development documentation + +.include + +.if empty(PORT_OPTIONS:MDEBUG) +_GPR_ARGS+= -XALIRE_BUILD_MODE=release +.else +WITH_DEBUG= yes +.endif + +do-build: + (cd ${WRKSRC} && \ + ${SETENV} ${MAKE_ENV} gprbuild ${_GPR_ARGS} -P alr_env) + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/bin/alr \ + ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d + ${INSTALL_DATA} ${WRKSRC}/scripts/alr-completion.bash \ + ${STAGEDIR}${PREFIX}/etc/bash_completion.d/ + ${MKDIR} ${STAGEDIR}${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKSRC}/resources/alr.desktop \ + ${STAGEDIR}${PREFIX}/share/applications + ${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps + ${INSTALL_DATA} ${WRKSRC}/resources/alr.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps + +do-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/doc && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) + +.include diff --git a/devel/alire/distinfo b/devel/alire/distinfo new file mode 100644 index 000000000000..aa0ad93172dc --- /dev/null +++ b/devel/alire/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1691804403 +SHA256 (alr-1.2.2-full-sources.zip) = 8a9efd65a3da4e22ffaf5b146dba8dc125cf4ea26d482a25bcaac85d0d2764d1 +SIZE (alr-1.2.2-full-sources.zip) = 2267709 diff --git a/devel/alire/pkg-descr b/devel/alire/pkg-descr new file mode 100644 index 000000000000..7b4340358a89 --- /dev/null +++ b/devel/alire/pkg-descr @@ -0,0 +1,15 @@ +ALIRE: Ada LIbrary REpository. + +A catalog of ready-to-use Ada libraries plus a command-line tool (alr) to +obtain, build, and use with your own projects. + +alr is designed to configure, and deploy custom isolated userspace +environments, known as a project or workspace. Environments will contain +all the state, and dependencies it requires for operation. + +Properties and dependencies of projects are managed through a TOML file +(alire.toml, found at the root of Alire workspaces). This file exists locally +for working copies of projects, and the Alire community index stores the files +corresponding to its projects. + +You can check the environment alr is using with 'alr printenv' diff --git a/devel/alire/pkg-plist b/devel/alire/pkg-plist new file mode 100644 index 000000000000..5e6b9951cd10 --- /dev/null +++ b/devel/alire/pkg-plist @@ -0,0 +1,21 @@ +bin/alr +etc/bash_completion.d/alr-completion.bash +share/applications/alr.desktop +%%DOCS%%%%DOCSDIR%%/2018-03.alr-draft.pdf +%%DOCS%%%%DOCSDIR%%/AEPs/aep-0001.md +%%DOCS%%%%DOCSDIR%%/AEPs/aep-0002.md +%%DOCS%%%%DOCSDIR%%/alr-logo-black-white.svg +%%DOCS%%%%DOCSDIR%%/alr-logo-sq.png +%%DOCS%%%%DOCSDIR%%/alr-logo-white.svg +%%DOCS%%%%DOCSDIR%%/alr-logo.svg +%%DOCS%%%%DOCSDIR%%/alr-logo.svg.png +%%DOCS%%%%DOCSDIR%%/catalog-format-spec.md +%%DOCS%%%%DOCSDIR%%/classes.graphml +%%DOCS%%%%DOCSDIR%%/configuration.md +%%DOCS%%%%DOCSDIR%%/getting-started.md +%%DOCS%%%%DOCSDIR%%/introduction.md +%%DOCS%%%%DOCSDIR%%/policies.md +%%DOCS%%%%DOCSDIR%%/publishing.md +%%DOCS%%%%DOCSDIR%%/toolchains.md +%%DOCS%%%%DOCSDIR%%/user-changes.md +share/pixmaps/alr.png