public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas K. Hüttel" <dilfridge@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Lab-Measurement/
Date: Wed, 20 Jan 2021 21:39:51 +0000 (UTC)	[thread overview]
Message-ID: <1611178755.74387afdc08435dc52394acb6120cdcede629b72.dilfridge@gentoo> (raw)

commit:     74387afdc08435dc52394acb6120cdcede629b72
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 20 21:39:15 2021 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Jan 20 21:39:15 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74387afd

dev-perl/Lab-Measurement: Version bump

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 .../Lab-Measurement/Lab-Measurement-3.740.ebuild   | 148 +++++++++++++++++++++
 dev-perl/Lab-Measurement/Manifest                  |   1 +
 2 files changed, 149 insertions(+)

diff --git a/dev-perl/Lab-Measurement/Lab-Measurement-3.740.ebuild b/dev-perl/Lab-Measurement/Lab-Measurement-3.740.ebuild
new file mode 100644
index 00000000000..e3f434a03ec
--- /dev/null
+++ b/dev-perl/Lab-Measurement/Lab-Measurement-3.740.ebuild
@@ -0,0 +1,148 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_EXAMPLES=( "examples/*" )
+
+if [[ "${PV}" != "9999" ]]; then
+	DIST_VERSION=${PV%.0}
+	DIST_AUTHOR="AKHUETTEL"
+	KEYWORDS="~amd64 ~x86"
+	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"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DZIL_PLUGINS=( Git PodWeaver AuthorsFromGit )
+
+RDEPEND="
+	virtual/perl-Carp
+	dev-perl/Class-ISA
+	>=dev-perl/Class-Method-Modifiers-2.110.0
+	>=dev-perl/Clone-0.310.0
+	virtual/perl-Data-Dumper
+	virtual/perl-Encode
+	>=dev-perl/Exception-Class-1.0.0
+	virtual/perl-Exporter
+	virtual/perl-File-Path
+	virtual/perl-File-Spec
+	virtual/perl-Getopt-Long
+	dev-perl/Hook-LexWrap
+	virtual/perl-IO
+	>=dev-perl/IO-Socket-Timeout-0.320.0
+	dev-perl/List-MoreUtils
+	virtual/perl-Scalar-List-Utils
+	virtual/perl-Math-Complex
+	>=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/PDL-2.7.0
+	dev-perl/PDL-Graphics-Gnuplot
+	>=dev-perl/Role-Tiny-1.3.4
+	virtual/perl-Socket
+	dev-perl/Statistics-Descriptive
+	virtual/perl-Storable
+	>=dev-perl/TermReadKey-2.300.0
+	virtual/perl-Thread-Semaphore
+	virtual/perl-Time-HiRes
+	dev-perl/Time-Monotonic
+	virtual/perl-Time-Piece
+	>=dev-perl/Try-Tiny-0.220.0
+	>=dev-perl/YAML-LibYAML-0.410.0
+	virtual/perl-autodie
+	>=dev-perl/namespace-autoclean-0.200.0
+	virtual/perl-parent
+	sci-visualization/gnuplot
+	dev-perl/Lab-VXI11
+	dev-perl/USB-TMC
+"
+DEPEND="
+	${RDEPEND}
+	virtual/perl-ExtUtils-MakeMaker
+	test? (
+		dev-perl/File-Slurper
+		virtual/perl-File-Temp
+		dev-perl/Test-Fatal
+		dev-perl/Test-File
+		virtual/perl-Test-Simple
+		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 906b7d51828..c020d8e215c 100644
--- a/dev-perl/Lab-Measurement/Manifest
+++ b/dev-perl/Lab-Measurement/Manifest
@@ -1,2 +1,3 @@
 DIST Lab-Measurement-3.692.tar.gz 609567 BLAKE2B 0e73254415927cf4a6454aa33ffe5408d23b2f7ab0773fe35b12096879bbd618eb856cb99b8611d61a72926d55d4c8a2ef1aecc354b6246fa0ee27f08bff6b3f SHA512 9a94a47af43e479f28aa7c8243cd2e79f27df9f7a809fffaba58c42031aa858a7f7daa26f3f0b7d648eaa721d8163d1d840150089bba4bfa0f3cfd9a9b2338d4
 DIST Lab-Measurement-3.721.tar.gz 615005 BLAKE2B 90982b7d5cbb1b62c3bd2444645649e39704d44e519e6484dabb3702fbdfccf82ea5af1c6ba31b5f75eca4a779eaac4d83cb6fe92232ae4bdde4618d7e5477a4 SHA512 4d5e493339c7d50f96dae999d1f2c2fe59e9e970862f4ac8747a4e9e89aad72e1c72801bffddcf9f1e7a434f9eb6b23a21f563cd1612fdb2b986af9ea118e731
+DIST Lab-Measurement-3.740.tar.gz 630593 BLAKE2B d3b7bb07e9a99f993a900fc8bcf391c69999f052535dc505259dd212374a3a2fc681d187a0c3119be915dfaf698901defc9686b38f1b0c11772182bf5f64bd2e SHA512 b036821a3af73d2278dbfd0e08efb5f5eb1f07a71203ba0a85208bdbab7142e0182f9bae6045233bbbb3d992d6598cc5c3401ef7c2e694ddbd3f3a6884271b70


             reply	other threads:[~2021-01-20 21:39 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-20 21:39 Andreas K. Hüttel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-10-02 19:34 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Lab-Measurement/ Andreas K. Hüttel
2022-10-02 19:34 Andreas K. Hüttel
2022-09-02 15:14 Andreas K. Hüttel
2022-09-02 15:14 Andreas K. Hüttel
2022-09-02 15:14 Andreas K. Hüttel
2022-08-24  7:35 Andreas K. Hüttel
2022-08-02 10:05 Andreas K. Hüttel
2022-01-22 19:35 Andreas K. Hüttel
2022-01-22 19:35 Andreas K. Hüttel
2022-01-22 19:35 Andreas K. Hüttel
2021-11-07  0:13 Andreas K. Hüttel
2021-11-07  0:13 Andreas K. Hüttel
2021-11-07  0:13 Andreas K. Hüttel
2021-10-23 15:01 Andreas K. Hüttel
2021-10-23  9:19 Andreas K. Hüttel
2021-07-15 12:09 Andreas K. Hüttel
2021-07-15 12:09 Andreas K. Hüttel
2021-07-14 21:14 Andreas K. Hüttel
2021-06-22 18:13 Andreas K. Hüttel
2021-06-22 18:13 Andreas K. Hüttel
2021-02-28 21:34 Andreas K. Hüttel
2021-02-28 21:34 Andreas K. Hüttel
2021-01-20 21:39 Andreas K. Hüttel
2020-08-17 18:03 Andreas K. Hüttel
2020-08-17 18:03 Andreas K. Hüttel
2020-03-06 21:03 Andreas K. Hüttel
2020-03-06 21:03 Andreas K. Hüttel
2019-08-12 20:39 Andreas K. Hüttel
2019-08-12 20:39 Andreas K. Hüttel
2018-09-29 19:20 Andreas Hüttel
2018-05-16 22:57 Aaron Bauman
2018-04-25 15:24 Andreas Hüttel
2018-04-25 11:40 Andreas Hüttel
2018-02-22 11:53 Andreas Hüttel
2017-12-09 18:07 Andreas Hüttel
2017-11-28 14:35 Andreas Hüttel
2017-11-28 14:15 Andreas Hüttel
2017-11-16 23:05 Andreas Hüttel
2017-10-10 16:05 Andreas Hüttel
2017-09-18 16:50 Kent Fredric
2017-07-15 22:24 Andreas Hüttel
2017-07-01 23:14 Andreas Hüttel
2017-07-01 20:07 Andreas Hüttel
2017-07-01 20:01 Andreas Hüttel
2017-06-28 19:41 Andreas Hüttel
2017-06-23 16:54 Andreas Hüttel
2017-06-23 16:54 Andreas Hüttel
2017-03-24 23:41 Andreas Hüttel
2016-11-05  0:48 Andreas Hüttel
2016-11-05  0:48 Andreas Hüttel
2016-10-26 15:24 Andreas Hüttel
2016-09-24 20:13 Andreas Hüttel
2016-09-24 19:31 Andreas Hüttel
2016-08-01 22:21 Andreas Hüttel
2016-04-29 19:36 Andreas Hüttel
2016-03-16 11:42 Andreas Hüttel
2016-03-16 11:41 Andreas Hüttel
2016-03-10 23:10 Andreas Hüttel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1611178755.74387afdc08435dc52394acb6120cdcede629b72.dilfridge@gentoo \
    --to=dilfridge@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox