From nobody Mon Nov 21 07:07:41 2022 X-Original-To: dev-commits-ports-main@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 4NFz3y1Tnqz4hqhB; Mon, 21 Nov 2022 07:07:42 +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 4NFz3y0nhqz3DDZ; Mon, 21 Nov 2022 07:07:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669014462; 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=IZ+GzfWJYNc2eiOR+6EVLMpP9iu8kuudI0+5GmAtG2Q=; b=V6mo1IVrvF+a8c8X/e5Y0KRhQ51zQOjDOKeR24VXQCcUwXUguWaQ/CKlUiv3xdd6Epm/KW pxKpx/WqTDtoIaXbI9b+f3mGzga2vfGslt0NXyIYLFj6apZlZs7+iMR2awqQcEp8w+Xhzt TdXmC0jR6SpjB+Hl7Ej6CGU/khOr92AjUcEFl0HcVu/maiGKPexEKKP7ZuWm57+KL4KjhU vML50btiHl2gQGTJTgmYAMCq4MjGsqYdCMFYi/34d75Ie/o4w61JzR9j4+kMnebo5tRKgo Sqv7LTFAkC4xNWgmpaHFvR/s9VSMVOU2V/WdpF4LxOyQagoVf90sx4haqrE/2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669014462; 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=IZ+GzfWJYNc2eiOR+6EVLMpP9iu8kuudI0+5GmAtG2Q=; b=PX8lv8nPjn36ql79hY3TFRy0w6lxfOHorXnQ8bmrLbKdtDKKl5bGVVSnywJomkCQ/5VsRE HPnavLxtOO7QRNLGKNAR/rxzUfMTU9hL2ahsOM8jzdtlNnZbWRcRvSXwxLOx1sYl5ieOU1 +Vu7kRUx2SZga4Xwy3Rkhjghc+pnpBEJklO+IjbEebbSR6LsKGIEFhWPptXOOoH4VdGOHf s5rhqUzwGVQjpRNnnIIq2/kedAI4abQztyYC2L/23MHjEd+JhYKBKTbhldiQVZaIuSC/7e nOTQ/wTPkyPNsPAW+nBuKhhOsnXCO3LYR2d8Mv5M9jtB7wUdamcn54W+tCDV8A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669014462; a=rsa-sha256; cv=none; b=Gue5wjRHNTkKyWtRELgJs8I+sF25q/sMEzT+AikTSWx94upO8urpaKGohFSJ2+VZcS9DU4 4Xk0NRRR+mxQQTZAokFd+7jxkkpYDs3POdhzLHyvA1xjvwJIgk1bcOS0xP7qDsyzxTb0G+ yXboHGlFjf/ggVolpoHO1P4aGrC86MyAGA8rwO79kLJzwe0EdawuJ0X2zFck8gfIKedFBo +zp9cZHVO3WVMI5bT5ocs9YJ9g6JAxARRAJ1nU+mRSyJHboidAPNt0phU4BkCqUGKXt48m 9DFMH+m5Qbn7x98GszRYpLkvaGQTmFOhHw8fS5GQEEEFgwh7c30YTyJTwGjHtQ== 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 4NFz3x6tGmzvMh; Mon, 21 Nov 2022 07:07:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2AL77f9k002273; Mon, 21 Nov 2022 07:07:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AL77fko002272; Mon, 21 Nov 2022 07:07:41 GMT (envelope-from git) Date: Mon, 21 Nov 2022 07:07:41 GMT Message-Id: <202211210707.2AL77fko002272@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dave Cottlehuber Subject: git: 35ad7d572d70 - main - lang/gleam: teach portscout to ignore nightly versions List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dch X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 35ad7d572d707762bc880b07d81ef1b391d18b0a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dch: URL: https://cgit.FreeBSD.org/ports/commit/?id=35ad7d572d707762bc880b07d81ef1b391d18b0a commit 35ad7d572d707762bc880b07d81ef1b391d18b0a Author: Dave Cottlehuber AuthorDate: 2022-11-21 07:05:42 +0000 Commit: Dave Cottlehuber CommitDate: 2022-11-21 07:06:58 +0000 lang/gleam: teach portscout to ignore nightly versions - pet port with portfmt, portclippy while here --- lang/gleam/Makefile | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/lang/gleam/Makefile b/lang/gleam/Makefile index 3d89242b625a..32f32366cc2a 100644 --- a/lang/gleam/Makefile +++ b/lang/gleam/Makefile @@ -19,6 +19,8 @@ GH_ACCOUNT= gleam-lang RUSTFLAGS+= --cap-lints=warn +PORTSCOUT= limit:[0-9.]+ + PLIST_FILES= bin/gleam PORTDOCS= README.md @@ -26,20 +28,27 @@ PORTDOCS= README.md OPTIONS_DEFINE= DOCS do-build: - (cd ${WRKSRC} && cargo build --release) - (cd ${WRKSRC}/compiler-cli && env HOME=${WRKDIR} cargo install --path . --force --locked) + (cd ${WRKSRC} && \ + cargo build --release) + (cd ${WRKSRC}/compiler-cli && \ + env HOME=${WRKDIR} cargo install --path . --force --locked) do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/bin/ - ${MV} ${WRKSRC}/target/release/gleam ${STAGEDIR}${PREFIX}/bin/ + ${MV} ${WRKSRC}/target/release/gleam \ + ${STAGEDIR}${PREFIX}/bin/ post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gleam post-install-DOCS-on: - (cd ${WRKSRC} && ${COPYTREE_SHARE} README.md ${STAGEDIR}${DOCSDIR}) + (cd ${WRKSRC} && \ + ${COPYTREE_SHARE} README.md ${STAGEDIR}${DOCSDIR}) do-test: - (cd ${WRKSRC} && gleam new hello && cd hello && gleam test) + (cd ${WRKSRC} && \ + gleam new hello && \ + cd hello && \ + gleam test) .include