1 |
commit: c633de581b1dca5421c7e7439c42c4e0684618b1 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 7 00:10:35 2021 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 7 00:13:01 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c633de58 |
7 |
|
8 |
dev-perl/Lab-Measurement: Version bump 3.791 |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> |
12 |
|
13 |
.../Lab-Measurement/Lab-Measurement-3.791.ebuild | 147 +++++++++++++++++++++ |
14 |
dev-perl/Lab-Measurement/Manifest | 1 + |
15 |
2 files changed, 148 insertions(+) |
16 |
|
17 |
diff --git a/dev-perl/Lab-Measurement/Lab-Measurement-3.791.ebuild b/dev-perl/Lab-Measurement/Lab-Measurement-3.791.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..dd02cae0229 |
20 |
--- /dev/null |
21 |
+++ b/dev-perl/Lab-Measurement/Lab-Measurement-3.791.ebuild |
22 |
@@ -0,0 +1,147 @@ |
23 |
+# Copyright 1999-2021 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=8 |
27 |
+ |
28 |
+DIST_EXAMPLES=( "examples/*" ) |
29 |
+ |
30 |
+if [[ "${PV}" != "9999" ]]; then |
31 |
+ DIST_VERSION=${PV%.0} |
32 |
+ DIST_AUTHOR=AKHUETTEL |
33 |
+ KEYWORDS="~amd64 ~x86" |
34 |
+ inherit perl-module |
35 |
+else |
36 |
+ EGIT_REPO_URI="https://github.com/lab-measurement/Lab-Measurement.git" |
37 |
+ EGIT_BRANCH="master" |
38 |
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git" |
39 |
+ inherit perl-module git-r3 |
40 |
+fi |
41 |
+ |
42 |
+DESCRIPTION="Measurement control and automation with Perl" |
43 |
+HOMEPAGE="https://www.labmeasurement.de" |
44 |
+ |
45 |
+SLOT="0" |
46 |
+ |
47 |
+DZIL_PLUGINS=( Git PodWeaver AuthorsFromGit RPM Test-ReportPrereqs ) |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ virtual/perl-Carp |
51 |
+ dev-perl/Class-ISA |
52 |
+ >=dev-perl/Class-Method-Modifiers-2.110.0 |
53 |
+ >=dev-perl/Clone-0.310.0 |
54 |
+ virtual/perl-Data-Dumper |
55 |
+ virtual/perl-Encode |
56 |
+ >=dev-perl/Exception-Class-1.0.0 |
57 |
+ virtual/perl-Exporter |
58 |
+ virtual/perl-File-Path |
59 |
+ virtual/perl-File-Spec |
60 |
+ virtual/perl-Getopt-Long |
61 |
+ dev-perl/Hook-LexWrap |
62 |
+ virtual/perl-IO |
63 |
+ >=dev-perl/IO-Socket-Timeout-0.320.0 |
64 |
+ dev-perl/List-MoreUtils |
65 |
+ virtual/perl-Scalar-List-Utils |
66 |
+ virtual/perl-Math-Complex |
67 |
+ dev-perl/Math-Round |
68 |
+ >=virtual/perl-Module-Load-0.260.0 |
69 |
+ >=dev-perl/Moose-2.121.300 |
70 |
+ >=dev-perl/MooseX-Params-Validate-0.180.0 |
71 |
+ dev-perl/MooseX-StrictConstructor |
72 |
+ >=dev-perl/PDL-2.7.0 |
73 |
+ dev-perl/PDL-Graphics-Gnuplot |
74 |
+ >=dev-perl/Role-Tiny-1.3.4 |
75 |
+ virtual/perl-Socket |
76 |
+ dev-perl/Statistics-Descriptive |
77 |
+ virtual/perl-Storable |
78 |
+ >=dev-perl/TermReadKey-2.300.0 |
79 |
+ virtual/perl-Thread-Semaphore |
80 |
+ virtual/perl-Time-HiRes |
81 |
+ dev-perl/Time-Monotonic |
82 |
+ virtual/perl-Time-Piece |
83 |
+ >=dev-perl/Try-Tiny-0.220.0 |
84 |
+ >=dev-perl/YAML-LibYAML-0.410.0 |
85 |
+ virtual/perl-autodie |
86 |
+ >=dev-perl/namespace-autoclean-0.200.0 |
87 |
+ virtual/perl-parent |
88 |
+ sci-visualization/gnuplot |
89 |
+ dev-perl/Lab-VXI11 |
90 |
+ dev-perl/USB-TMC |
91 |
+" |
92 |
+BDEPEND="${RDEPEND} |
93 |
+ virtual/perl-ExtUtils-MakeMaker |
94 |
+ test? ( |
95 |
+ dev-perl/File-Slurper |
96 |
+ virtual/perl-File-Temp |
97 |
+ dev-perl/Test-Fatal |
98 |
+ dev-perl/Test-File |
99 |
+ virtual/perl-Test-Simple |
100 |
+ dev-perl/Text-Diff |
101 |
+ dev-perl/aliased |
102 |
+ ) |
103 |
+" |
104 |
+ |
105 |
+if [[ "${PV}" == "9999" ]]; then |
106 |
+ DEPEND="${DEPEND} |
107 |
+ dev-perl/Dist-Zilla" |
108 |
+ for dzp in "${DZIL_PLUGINS[@]}" ; do |
109 |
+ DEPEND="${DEPEND} |
110 |
+ dev-perl/Dist-Zilla-Plugin-${dzp}" |
111 |
+ done |
112 |
+fi |
113 |
+ |
114 |
+src_unpack() { |
115 |
+ if [[ "${PV}" == "9999" ]]; then |
116 |
+ git-r3_src_unpack |
117 |
+ mkdir -p "${S}" || die "Can't make ${S}" |
118 |
+ else |
119 |
+ default |
120 |
+ fi |
121 |
+} |
122 |
+ |
123 |
+dzil_to_distdir() { |
124 |
+ local dzil_root dest has_missing modname dzil_version |
125 |
+ dzil_root="$1" |
126 |
+ dest="$2" |
127 |
+ |
128 |
+ cd "${dzil_root}" || die "Can't enter git workdir '${dzil_root}'"; |
129 |
+ |
130 |
+ dzil_version="$(dzil version)" || die "Error invoking 'dzil version'" |
131 |
+ einfo "Generating CPAN dist with ${dzil_version}" |
132 |
+ |
133 |
+ has_missing="" |
134 |
+ |
135 |
+ einfo "Checking dzil authordeps" |
136 |
+ while IFS= read -d $'\n' -r modname; do |
137 |
+ if [[ -z "${has_missing}" ]]; then |
138 |
+ has_missing=1 |
139 |
+ eerror "'dzil authordeps' indicates missing build dependencies" |
140 |
+ eerror "These will prevent building, please report a bug" |
141 |
+ eerror "Missing:" |
142 |
+ fi |
143 |
+ eerror " ${modname}" |
144 |
+ done < <( dzil authordeps --missing --versions ) |
145 |
+ |
146 |
+ [[ -z "${has_missing}" ]] || die "Satisfy all missing authordeps first" |
147 |
+ |
148 |
+ einfo "Checking dzil build deps" |
149 |
+ while IFS= read -d $'\n' -r modname; do |
150 |
+ if [[ -z "${has_missing}" ]]; then |
151 |
+ has_missing=1 |
152 |
+ ewarn "'dzil listdeps' indicates missing build dependencies" |
153 |
+ ewarn "These may prevent building, please report a bug if they do" |
154 |
+ ewarn "Missing:" |
155 |
+ fi |
156 |
+ ewarn " ${modname}" |
157 |
+ done < <( dzil listdeps --missing --versions --author ) |
158 |
+ |
159 |
+ einfo "Generating release" |
160 |
+ dzil build --notgz --in "${dest}" || die "Unable to build CPAN dist in '${dest}'" |
161 |
+} |
162 |
+ |
163 |
+src_prepare() { |
164 |
+ if [[ ${PV} == 9999 ]]; then |
165 |
+ dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}" |
166 |
+ fi |
167 |
+ cd "${S}" || die "Can't enter build dir" |
168 |
+ perl-module_src_prepare |
169 |
+} |
170 |
|
171 |
diff --git a/dev-perl/Lab-Measurement/Manifest b/dev-perl/Lab-Measurement/Manifest |
172 |
index 442cba1bd9c..c7411c1ab54 100644 |
173 |
--- a/dev-perl/Lab-Measurement/Manifest |
174 |
+++ b/dev-perl/Lab-Measurement/Manifest |
175 |
@@ -1,2 +1,3 @@ |
176 |
DIST Lab-Measurement-3.762.tar.gz 651690 BLAKE2B 9cced9cb51c45149db353a46ad2c253da5c9d1d2ec82889b9221b010a5fae3fffa54afe65f2f08b66238d1970b842ec913d8464c988938fee55b47423298467d SHA512 df9ee0f9535fbff44be18b61978c6b2735acbbeee510715d6b34812576053022a24be52ec04d1dba04edcd79fa6eaa13706e173dc2b3b4c0352fa7bdccb5d96e |
177 |
DIST Lab-Measurement-3.780.tar.gz 641884 BLAKE2B b0d5117eeb022a7d58ffe975ba943a29689436911210eba63385df7e4536f850b5cc3a021e26ca60c9fc9cf19f359e2a648927ec5fc68ab2dea3a66fc1ac903c SHA512 260d670e7f67448c49fb82900fc0605978c6fcd39a6813c091a84977972f0965e25f14dd3568860cfe136f4628047e0720ea69710693513c5e567eeac10ddf97 |
178 |
+DIST Lab-Measurement-3.791.tar.gz 662036 BLAKE2B f133d2590c91ef62a8c8234aa77e2c3eed2a43236d260e13d49a27fe89082be505f7aa9be79e1fbcd5c9d9c96068b1db50ad0a1377f84124bb47702c8801ba3c SHA512 c07fddf0b1c728fcb2aa17ada14edff32dcc3cb8fe7e23e9f770251562aef6c09343900e0104d8ef971b5366fdda27c212500993616be3b92422e0cba88873bb |