From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A9A19158176 for ; Sat, 18 Oct 2025 12:26:53 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 96814341E79 for ; Sat, 18 Oct 2025 12:26:53 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id B20FD110561; Sat, 18 Oct 2025 12:26:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id A976C110561 for ; Sat, 18 Oct 2025 12:26:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 60CDE341607 for ; Sat, 18 Oct 2025 12:26:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C939929D0 for ; Sat, 18 Oct 2025 12:26:48 +0000 (UTC) From: "Andreas K. Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Hüttel" Message-ID: <1760790393.8bc11b46189c2ca6d1063a3ef7079b2d39059548.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Lab-Measurement/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/Lab-Measurement/Lab-Measurement-3.931.ebuild dev-perl/Lab-Measurement/Manifest X-VCS-Directories: dev-perl/Lab-Measurement/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: 8bc11b46189c2ca6d1063a3ef7079b2d39059548 X-VCS-Branch: master Date: Sat, 18 Oct 2025 12:26:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: aaeac79a-688d-4b5a-9001-a36a63e3a738 X-Archives-Hash: 13e850246c9daf37ebfa11ac606bf11a commit: 8bc11b46189c2ca6d1063a3ef7079b2d39059548 Author: Andreas K. Hüttel gentoo org> AuthorDate: Sat Oct 18 11:56:11 2025 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Sat Oct 18 12:26:33 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bc11b46 dev-perl/Lab-Measurement: add 3.931 Signed-off-by: Andreas K. Hüttel gentoo.org> .../Lab-Measurement/Lab-Measurement-3.931.ebuild | 130 +++++++++++++++++++++ dev-perl/Lab-Measurement/Manifest | 1 + 2 files changed, 131 insertions(+) diff --git a/dev-perl/Lab-Measurement/Lab-Measurement-3.931.ebuild b/dev-perl/Lab-Measurement/Lab-Measurement-3.931.ebuild new file mode 100644 index 000000000000..d70b9c7be321 --- /dev/null +++ b/dev-perl/Lab-Measurement/Lab-Measurement-3.931.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_EXAMPLES=( "examples/*" ) + +if [[ "${PV}" != "9999" ]]; then + DIST_VERSION=${PV%.0} + DIST_AUTHOR=AKHUETTEL + KEYWORDS="~amd64" + inherit perl-module +else + EGIT_REPO_URI="https://github.com/lab-measurement/Lab-Measurement.git" + EGIT_BRANCH="master" + EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git" + inherit perl-module git-r3 +fi + +DESCRIPTION="Measurement control and automation with Perl" +HOMEPAGE="https://www.labmeasurement.de" + +SLOT="0" + +DZIL_PLUGINS=( Git PodWeaver AuthorsFromGit RPM Test-ReportPrereqs ) + +RDEPEND=" + dev-perl/Class-ISA + >=dev-perl/Class-Method-Modifiers-2.110.0 + >=dev-perl/Clone-0.310.0 + >=dev-perl/Exception-Class-1.0.0 + dev-perl/Hook-LexWrap + >=dev-perl/IO-Socket-Timeout-0.320.0 + dev-perl/List-MoreUtils + dev-perl/Math-Round + >=virtual/perl-Module-Load-0.260.0 + >=dev-perl/Moose-2.121.300 + >=dev-perl/MooseX-Params-Validate-0.180.0 + dev-perl/MooseX-StrictConstructor + dev-perl/Net-RFC3161-Timestamp + >=dev-perl/PDL-2.7.0 + dev-perl/PDL-Graphics-Gnuplot + dev-perl/PDL-IO-CSV + >=dev-perl/Role-Tiny-1.3.4 + dev-perl/Statistics-Descriptive + >=dev-perl/TermReadKey-2.300.0 + dev-perl/Text-Diff + dev-perl/Time-Monotonic + >=dev-perl/Try-Tiny-0.220.0 + >=dev-perl/YAML-LibYAML-0.410.0 + >=dev-perl/namespace-autoclean-0.200.0 + sci-visualization/gnuplot + dev-perl/Lab-VXI11 + dev-perl/USB-TMC +" +BDEPEND="${RDEPEND} + test? ( + dev-perl/File-Slurper + dev-perl/Test-Fatal + dev-perl/Test-File + dev-perl/Text-Diff + dev-perl/aliased + ) +" + +if [[ "${PV}" == "9999" ]]; then + DEPEND="${DEPEND} + dev-perl/Dist-Zilla" + for dzp in "${DZIL_PLUGINS[@]}" ; do + DEPEND="${DEPEND} + dev-perl/Dist-Zilla-Plugin-${dzp}" + done +fi + +src_unpack() { + if [[ "${PV}" == "9999" ]]; then + git-r3_src_unpack + mkdir -p "${S}" || die "Can't make ${S}" + else + default + fi +} + +dzil_to_distdir() { + local dzil_root dest has_missing modname dzil_version + dzil_root="$1" + dest="$2" + + cd "${dzil_root}" || die "Can't enter git workdir '${dzil_root}'"; + + dzil_version="$(dzil version)" || die "Error invoking 'dzil version'" + einfo "Generating CPAN dist with ${dzil_version}" + + has_missing="" + + einfo "Checking dzil authordeps" + while IFS= read -d $'\n' -r modname; do + if [[ -z "${has_missing}" ]]; then + has_missing=1 + eerror "'dzil authordeps' indicates missing build dependencies" + eerror "These will prevent building, please report a bug" + eerror "Missing:" + fi + eerror " ${modname}" + done < <( dzil authordeps --missing --versions ) + + [[ -z "${has_missing}" ]] || die "Satisfy all missing authordeps first" + + einfo "Checking dzil build deps" + while IFS= read -d $'\n' -r modname; do + if [[ -z "${has_missing}" ]]; then + has_missing=1 + ewarn "'dzil listdeps' indicates missing build dependencies" + ewarn "These may prevent building, please report a bug if they do" + ewarn "Missing:" + fi + ewarn " ${modname}" + done < <( dzil listdeps --missing --versions --author ) + + einfo "Generating release" + dzil build --notgz --in "${dest}" || die "Unable to build CPAN dist in '${dest}'" +} + +src_prepare() { + if [[ ${PV} == 9999 ]]; then + dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}" + fi + cd "${S}" || die "Can't enter build dir" + perl-module_src_prepare +} diff --git a/dev-perl/Lab-Measurement/Manifest b/dev-perl/Lab-Measurement/Manifest index d864261d2ad1..41e107e413d3 100644 --- a/dev-perl/Lab-Measurement/Manifest +++ b/dev-perl/Lab-Measurement/Manifest @@ -1 +1,2 @@ DIST Lab-Measurement-3.823.tar.gz 614793 BLAKE2B 62a4a55ed72b3d164dbd8b8b65c76da2d62eda4c49fc95c0d93e50eca204a0a3969844b01bfb5532b338ee38717a926ea2be9c05ed1789542389f9d3b26d7256 SHA512 0f60e7ae20af98022dcb913e27ecaa22658d8038c3d4cf446df24b42bc4834cf4ea6d2a1b8ff04d02f4f0728ed4cbbc5cb79ca42ee6611675c09842c27c114a8 +DIST Lab-Measurement-3.931.tar.gz 323062 BLAKE2B 772e51ffd6e28451095799cf750e61643621de5f907e42e6ed98e769c6eab6745852e84084241be0f6f11a14f9aa969bca4ffbfa3ee3726f6bd125b1fc5350c0 SHA512 7ea2a6ae58fb1a6cec6ee18864b957b65617eff412aca5883f8d4e5888f14aa8fc60d7394780bdde9c6f7dbc2f2b7401ef4e9932eaa1dc0a12f79a4bbd3786dd