* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2015-12-20 18:45 Patrick Lauer
0 siblings, 0 replies; 58+ messages in thread
From: Patrick Lauer @ 2015-12-20 18:45 UTC (permalink / raw
To: gentoo-commits
commit: 5ceed750d850feda260f516049f5419666d048e5
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 20 18:43:33 2015 +0000
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Sun Dec 20 18:44:33 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ceed750
app-admin/rex: Bump
Package-Manager: portage-2.2.26
app-admin/rex/Manifest | 1 +
app-admin/rex/rex-1.3.3.ebuild | 62 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 63 insertions(+)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index 8b2d0b1..bec6500 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -1,3 +1,4 @@
DIST Rex-1.0.0.tar.gz 261873 SHA256 894ba5128842b33cbc5dfeabdbeded18f303d2efbb082d08c9fceb38a7a0217b SHA512 53eb51e88e466f9dc429da828e3745c074eac1e1f1ba02f5c4f058358f071cd6eb71a95d56f65bd9b0e142aa824b2c660b7e7fe83c9ecd742dec12c3a4b642d4 WHIRLPOOL dc6b0dcd6ef3b1de4a7839a47054481b036bbd5395702c110e7760173797428b24d198bd50d8975045bd740a6180278bc34eef57c827e4d6a17a316577f16608
DIST Rex-1.2.0.tar.gz 267664 SHA256 26a222bf418950b94b53c22c5fe87828a1503d6794a5516759914c5925f5f6fb SHA512 68467d00b6acdedd6b92dd51a8a6b42e3acf92fd28713a7ee7137744cd071b681e2e8f2fc5cf45df8979bdb78e9b49d2dbd52db7505f8aa9169b18e94e38719d WHIRLPOOL 453330d69b4a8e7e5f689fd10797233948a32fc239025fe68196ee2bfcd71f762f80e008e959cec209da58c8e1bb9be9ac66abaea9efe3bd70b4fcd38f903a8e
DIST Rex-1.3.2.tar.gz 271446 SHA256 49be858e2ae51dda2fa2769b5e824ca2b5b7605f3b7e6c2f613b889e132e34b0 SHA512 589383b5a2c993e775be12ecd7b6ed5b525bd1f503311592bb302dd8558f5e0221fae6b459d4b52be418cb423fd294a759a63fce918b260e7c90fa153df0525a WHIRLPOOL ace24f03fc5ee5cb5b58bc14d4eb60f18598df645ad4c39260797012e2ecd2c40f72b3875f63dd5b4213990a6de817abcd511ade5d2928110072719e8b9c8ee2
+DIST Rex-1.3.3.tar.gz 274725 SHA256 111e80515fc3c1846668aa4ff0731443a58f3e74d78063dfc61fea96ca49cde6 SHA512 b2331e400027568f59496ff52f0a19bd009f66fea2a5b80ed9055859f59f0057afa50f61934cccd5af434c6f60dfa99700bc3904127b822a5ae684cb8bb6c70c WHIRLPOOL c8285e50f0259060ead8e86b120b3a16d6a1f506dec8eead33ac5e8a0af8371083a73315cf859c99433a7b8c902cbd48f383326c6ce2b0c4d900681baf623a51
diff --git a/app-admin/rex/rex-1.3.3.ebuild b/app-admin/rex/rex-1.3.3.ebuild
new file mode 100644
index 0000000..561ea9d
--- /dev/null
+++ b/app-admin/rex/rex-1.3.3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MODULE_AUTHOR=FERKI
+MODULE_A=Rex-${PV}.tar.gz
+
+inherit perl-module
+
+DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+ dev-perl/DBI
+ dev-perl/Digest-HMAC
+ dev-perl/Digest-SHA1
+ dev-perl/Expect
+ dev-perl/Hash-Merge
+ dev-perl/IO-String
+ dev-perl/IO-Tty
+ dev-perl/IPC-Shareable
+ dev-perl/JSON-XS
+ dev-perl/List-MoreUtils
+ dev-perl/Net-OpenSSH
+ dev-perl/Net-SFTP-Foreign
+ dev-perl/Parallel-ForkManager
+ dev-perl/Sort-Naturally
+ dev-perl/String-Escape
+ dev-perl/TermReadKey
+ dev-perl/Text-Glob
+ dev-perl/URI
+ dev-perl/XML-LibXML
+ dev-perl/XML-Simple
+ dev-perl/libwww-perl
+ dev-perl/yaml
+ virtual/perl-Carp
+ virtual/perl-Data-Dumper
+ virtual/perl-Digest-MD5
+ virtual/perl-Exporter
+ virtual/perl-File-Spec
+ virtual/perl-MIME-Base64
+ virtual/perl-Scalar-List-Utils
+ virtual/perl-Storable
+ virtual/perl-Time-HiRes
+"
+
+DEPEND="
+ ${RDEPEND}
+ test? (
+ dev-perl/Test-UseAllModules
+ virtual/perl-File-Temp
+ )
+"
+
+SRC_TEST="do"
+
+S="${WORKDIR}/Rex-${PV}"
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2016-02-09 14:06 Patrick Lauer
0 siblings, 0 replies; 58+ messages in thread
From: Patrick Lauer @ 2016-02-09 14:06 UTC (permalink / raw
To: gentoo-commits
commit: c39afd175a3eae1813354e94590361694c5ecb4f
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 9 14:04:55 2016 +0000
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Tue Feb 9 14:05:47 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c39afd17
app-admin/rex: Bump
Package-Manager: portage-2.2.27
app-admin/rex/Manifest | 1 +
app-admin/rex/rex-1.4.0_rc2.ebuild | 64 ++++++++++++++++++++++++++++++++++++++
2 files changed, 65 insertions(+)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index bec6500..42138de 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -2,3 +2,4 @@ DIST Rex-1.0.0.tar.gz 261873 SHA256 894ba5128842b33cbc5dfeabdbeded18f303d2efbb08
DIST Rex-1.2.0.tar.gz 267664 SHA256 26a222bf418950b94b53c22c5fe87828a1503d6794a5516759914c5925f5f6fb SHA512 68467d00b6acdedd6b92dd51a8a6b42e3acf92fd28713a7ee7137744cd071b681e2e8f2fc5cf45df8979bdb78e9b49d2dbd52db7505f8aa9169b18e94e38719d WHIRLPOOL 453330d69b4a8e7e5f689fd10797233948a32fc239025fe68196ee2bfcd71f762f80e008e959cec209da58c8e1bb9be9ac66abaea9efe3bd70b4fcd38f903a8e
DIST Rex-1.3.2.tar.gz 271446 SHA256 49be858e2ae51dda2fa2769b5e824ca2b5b7605f3b7e6c2f613b889e132e34b0 SHA512 589383b5a2c993e775be12ecd7b6ed5b525bd1f503311592bb302dd8558f5e0221fae6b459d4b52be418cb423fd294a759a63fce918b260e7c90fa153df0525a WHIRLPOOL ace24f03fc5ee5cb5b58bc14d4eb60f18598df645ad4c39260797012e2ecd2c40f72b3875f63dd5b4213990a6de817abcd511ade5d2928110072719e8b9c8ee2
DIST Rex-1.3.3.tar.gz 274725 SHA256 111e80515fc3c1846668aa4ff0731443a58f3e74d78063dfc61fea96ca49cde6 SHA512 b2331e400027568f59496ff52f0a19bd009f66fea2a5b80ed9055859f59f0057afa50f61934cccd5af434c6f60dfa99700bc3904127b822a5ae684cb8bb6c70c WHIRLPOOL c8285e50f0259060ead8e86b120b3a16d6a1f506dec8eead33ac5e8a0af8371083a73315cf859c99433a7b8c902cbd48f383326c6ce2b0c4d900681baf623a51
+DIST Rex-1.3.3_02.tar.gz 284949 SHA256 816ad482aeb7c614b10066433d2789169b0513963d0a57b09ae1526727ec1499 SHA512 0e1e88627128bcb07e5fb2e8fb1b64e0cb412372cc44f7d1e2f4a6eb48229385f9a83c3b472e7176895eaa7523efe3000f510283ca98cc8f64967a33f9672200 WHIRLPOOL 5923b06c72d4139c1dab4e696f2092faeb05a3ea1fa480bc3dee19719e29dfdc4f1a045a1357ba8d9e6a7dee5987fc9cd27fcc7d71172833fe32cdc7354a83dd
diff --git a/app-admin/rex/rex-1.4.0_rc2.ebuild b/app-admin/rex/rex-1.4.0_rc2.ebuild
new file mode 100644
index 0000000..925841f
--- /dev/null
+++ b/app-admin/rex/rex-1.4.0_rc2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MODULE_AUTHOR=FERKI
+MODULE_A=Rex-1.3.3_02.tar.gz
+
+inherit perl-module
+
+DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands"
+
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+
+RDEPEND="
+ dev-perl/DBI
+ dev-perl/Devel-Caller
+ dev-perl/Digest-HMAC
+ dev-perl/Digest-SHA1
+ dev-perl/Expect
+ dev-perl/Hash-Merge
+ dev-perl/IO-String
+ dev-perl/IO-Tty
+ dev-perl/IPC-Shareable
+ dev-perl/JSON-XS
+ dev-perl/List-MoreUtils
+ dev-perl/Net-OpenSSH
+ dev-perl/Net-SFTP-Foreign
+ dev-perl/Parallel-ForkManager
+ dev-perl/Sort-Naturally
+ dev-perl/String-Escape
+ dev-perl/TermReadKey
+ dev-perl/Test-Deep
+ dev-perl/Text-Glob
+ dev-perl/URI
+ dev-perl/XML-LibXML
+ dev-perl/XML-Simple
+ dev-perl/libwww-perl
+ dev-perl/yaml
+ virtual/perl-Carp
+ virtual/perl-Data-Dumper
+ virtual/perl-Digest-MD5
+ virtual/perl-Exporter
+ virtual/perl-File-Spec
+ virtual/perl-MIME-Base64
+ virtual/perl-Scalar-List-Utils
+ virtual/perl-Storable
+ virtual/perl-Time-HiRes
+"
+
+DEPEND="
+ ${RDEPEND}
+ test? (
+ dev-perl/Test-UseAllModules
+ virtual/perl-File-Temp
+ )
+"
+
+SRC_TEST="do"
+
+S="${WORKDIR}/${MODULE_A/.tar.gz/}"
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2016-02-23 9:19 Patrick Lauer
0 siblings, 0 replies; 58+ messages in thread
From: Patrick Lauer @ 2016-02-23 9:19 UTC (permalink / raw
To: gentoo-commits
commit: 9fe53cd8763dced9982c34f73489c897115ac9ff
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 23 09:17:32 2016 +0000
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Tue Feb 23 09:18:05 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fe53cd8
app-admin/rex: Bump rc
Package-Manager: portage-2.2.27
app-admin/rex/Manifest | 2 +-
app-admin/rex/{rex-1.4.0_rc2.ebuild => rex-1.4.0_rc3.ebuild} | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index 42138de..00b79a1 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -2,4 +2,4 @@ DIST Rex-1.0.0.tar.gz 261873 SHA256 894ba5128842b33cbc5dfeabdbeded18f303d2efbb08
DIST Rex-1.2.0.tar.gz 267664 SHA256 26a222bf418950b94b53c22c5fe87828a1503d6794a5516759914c5925f5f6fb SHA512 68467d00b6acdedd6b92dd51a8a6b42e3acf92fd28713a7ee7137744cd071b681e2e8f2fc5cf45df8979bdb78e9b49d2dbd52db7505f8aa9169b18e94e38719d WHIRLPOOL 453330d69b4a8e7e5f689fd10797233948a32fc239025fe68196ee2bfcd71f762f80e008e959cec209da58c8e1bb9be9ac66abaea9efe3bd70b4fcd38f903a8e
DIST Rex-1.3.2.tar.gz 271446 SHA256 49be858e2ae51dda2fa2769b5e824ca2b5b7605f3b7e6c2f613b889e132e34b0 SHA512 589383b5a2c993e775be12ecd7b6ed5b525bd1f503311592bb302dd8558f5e0221fae6b459d4b52be418cb423fd294a759a63fce918b260e7c90fa153df0525a WHIRLPOOL ace24f03fc5ee5cb5b58bc14d4eb60f18598df645ad4c39260797012e2ecd2c40f72b3875f63dd5b4213990a6de817abcd511ade5d2928110072719e8b9c8ee2
DIST Rex-1.3.3.tar.gz 274725 SHA256 111e80515fc3c1846668aa4ff0731443a58f3e74d78063dfc61fea96ca49cde6 SHA512 b2331e400027568f59496ff52f0a19bd009f66fea2a5b80ed9055859f59f0057afa50f61934cccd5af434c6f60dfa99700bc3904127b822a5ae684cb8bb6c70c WHIRLPOOL c8285e50f0259060ead8e86b120b3a16d6a1f506dec8eead33ac5e8a0af8371083a73315cf859c99433a7b8c902cbd48f383326c6ce2b0c4d900681baf623a51
-DIST Rex-1.3.3_02.tar.gz 284949 SHA256 816ad482aeb7c614b10066433d2789169b0513963d0a57b09ae1526727ec1499 SHA512 0e1e88627128bcb07e5fb2e8fb1b64e0cb412372cc44f7d1e2f4a6eb48229385f9a83c3b472e7176895eaa7523efe3000f510283ca98cc8f64967a33f9672200 WHIRLPOOL 5923b06c72d4139c1dab4e696f2092faeb05a3ea1fa480bc3dee19719e29dfdc4f1a045a1357ba8d9e6a7dee5987fc9cd27fcc7d71172833fe32cdc7354a83dd
+DIST Rex-1.3.3_03.tar.gz 285174 SHA256 213553011ca7bd351a257d1180701d8bb8bade090280296e1f10f6edb06ea09a SHA512 299c232d050bdbc27f951f7a584b639a3126c0e7f364e2016016c8bbedf828c5a158a76e36c47c5d4c61a7a80b5613cdfb04153ba8fda7edffa95d9ee5d4bcc6 WHIRLPOOL ab8286e34092c0f59a5f047ae8fd0992abf7703c653ae47f29521778305f15498a04e4ca634aa7384f4e83112b6a7e20756118aecaba9511f38a2ff784a6153b
diff --git a/app-admin/rex/rex-1.4.0_rc2.ebuild b/app-admin/rex/rex-1.4.0_rc3.ebuild
similarity index 97%
rename from app-admin/rex/rex-1.4.0_rc2.ebuild
rename to app-admin/rex/rex-1.4.0_rc3.ebuild
index 925841f..0c3de4d 100644
--- a/app-admin/rex/rex-1.4.0_rc2.ebuild
+++ b/app-admin/rex/rex-1.4.0_rc3.ebuild
@@ -5,7 +5,7 @@
EAPI=5
MODULE_AUTHOR=FERKI
-MODULE_A=Rex-1.3.3_02.tar.gz
+MODULE_A=Rex-1.3.3_03.tar.gz
inherit perl-module
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2016-03-07 13:19 Patrick Lauer
0 siblings, 0 replies; 58+ messages in thread
From: Patrick Lauer @ 2016-03-07 13:19 UTC (permalink / raw
To: gentoo-commits
commit: 81b6aef15ce610083f7541ea0f62a740780bf073
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 7 13:17:55 2016 +0000
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Mon Mar 7 13:18:22 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81b6aef1
app-admin/rex: Bump
Package-Manager: portage-2.2.27
app-admin/rex/Manifest | 2 +-
app-admin/rex/{rex-1.4.0_rc3.ebuild => rex-1.4.0.ebuild} | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index 00b79a1..41f69ce 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -2,4 +2,4 @@ DIST Rex-1.0.0.tar.gz 261873 SHA256 894ba5128842b33cbc5dfeabdbeded18f303d2efbb08
DIST Rex-1.2.0.tar.gz 267664 SHA256 26a222bf418950b94b53c22c5fe87828a1503d6794a5516759914c5925f5f6fb SHA512 68467d00b6acdedd6b92dd51a8a6b42e3acf92fd28713a7ee7137744cd071b681e2e8f2fc5cf45df8979bdb78e9b49d2dbd52db7505f8aa9169b18e94e38719d WHIRLPOOL 453330d69b4a8e7e5f689fd10797233948a32fc239025fe68196ee2bfcd71f762f80e008e959cec209da58c8e1bb9be9ac66abaea9efe3bd70b4fcd38f903a8e
DIST Rex-1.3.2.tar.gz 271446 SHA256 49be858e2ae51dda2fa2769b5e824ca2b5b7605f3b7e6c2f613b889e132e34b0 SHA512 589383b5a2c993e775be12ecd7b6ed5b525bd1f503311592bb302dd8558f5e0221fae6b459d4b52be418cb423fd294a759a63fce918b260e7c90fa153df0525a WHIRLPOOL ace24f03fc5ee5cb5b58bc14d4eb60f18598df645ad4c39260797012e2ecd2c40f72b3875f63dd5b4213990a6de817abcd511ade5d2928110072719e8b9c8ee2
DIST Rex-1.3.3.tar.gz 274725 SHA256 111e80515fc3c1846668aa4ff0731443a58f3e74d78063dfc61fea96ca49cde6 SHA512 b2331e400027568f59496ff52f0a19bd009f66fea2a5b80ed9055859f59f0057afa50f61934cccd5af434c6f60dfa99700bc3904127b822a5ae684cb8bb6c70c WHIRLPOOL c8285e50f0259060ead8e86b120b3a16d6a1f506dec8eead33ac5e8a0af8371083a73315cf859c99433a7b8c902cbd48f383326c6ce2b0c4d900681baf623a51
-DIST Rex-1.3.3_03.tar.gz 285174 SHA256 213553011ca7bd351a257d1180701d8bb8bade090280296e1f10f6edb06ea09a SHA512 299c232d050bdbc27f951f7a584b639a3126c0e7f364e2016016c8bbedf828c5a158a76e36c47c5d4c61a7a80b5613cdfb04153ba8fda7edffa95d9ee5d4bcc6 WHIRLPOOL ab8286e34092c0f59a5f047ae8fd0992abf7703c653ae47f29521778305f15498a04e4ca634aa7384f4e83112b6a7e20756118aecaba9511f38a2ff784a6153b
+DIST Rex-1.4.0.tar.gz 289330 SHA256 b4f930044ea907aae67c18f347a33b55cd3da4efe5f5a5869db3c891d6c4e125 SHA512 d14489157860df1b32dd2b4af7ce8148a9693d66f59bc0ee228c7c4ff57f38f7b308212c18fc7c0aff7a585a76028a9de0a7a96f8eb58c2455d19bd6b2713eab WHIRLPOOL ee24b8c0770a94f84e6ae6ad5c3002f2e3be3a6e416121443c142477307674499fd631c0d72569aefcf81875365cd84fdd37666c9235c873b6adf5acb51eee3c
diff --git a/app-admin/rex/rex-1.4.0_rc3.ebuild b/app-admin/rex/rex-1.4.0.ebuild
similarity index 93%
rename from app-admin/rex/rex-1.4.0_rc3.ebuild
rename to app-admin/rex/rex-1.4.0.ebuild
index 0c3de4d..1dc0d62 100644
--- a/app-admin/rex/rex-1.4.0_rc3.ebuild
+++ b/app-admin/rex/rex-1.4.0.ebuild
@@ -5,14 +5,14 @@
EAPI=5
MODULE_AUTHOR=FERKI
-MODULE_A=Rex-1.3.3_03.tar.gz
+MODULE_A=Rex-${PV}.tar.gz
inherit perl-module
DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands"
SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
@@ -61,4 +61,4 @@ DEPEND="
SRC_TEST="do"
-S="${WORKDIR}/${MODULE_A/.tar.gz/}"
+S="${WORKDIR}/Rex-${PV}"
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2016-03-07 14:34 Patrick Lauer
0 siblings, 0 replies; 58+ messages in thread
From: Patrick Lauer @ 2016-03-07 14:34 UTC (permalink / raw
To: gentoo-commits
commit: 297d4eeb0611061deaa9ec52c1e1888560b5b07b
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 7 14:31:52 2016 +0000
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Mon Mar 7 14:33:51 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=297d4eeb
app-admin/rex: Cleanups thanks to kentnl
Package-Manager: portage-2.2.27
app-admin/rex/{rex-1.4.0.ebuild => rex-1.4.0-r1.ebuild} | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/app-admin/rex/rex-1.4.0.ebuild b/app-admin/rex/rex-1.4.0-r1.ebuild
similarity index 88%
rename from app-admin/rex/rex-1.4.0.ebuild
rename to app-admin/rex/rex-1.4.0-r1.ebuild
index 1dc0d62..9c68a18 100644
--- a/app-admin/rex/rex-1.4.0.ebuild
+++ b/app-admin/rex/rex-1.4.0-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
-MODULE_AUTHOR=FERKI
-MODULE_A=Rex-${PV}.tar.gz
+DIST_AUTHOR=FERKI
+DIST_NAME=Rex
inherit perl-module
@@ -58,7 +58,3 @@ DEPEND="
virtual/perl-File-Temp
)
"
-
-SRC_TEST="do"
-
-S="${WORKDIR}/Rex-${PV}"
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2016-03-07 14:34 Patrick Lauer
0 siblings, 0 replies; 58+ messages in thread
From: Patrick Lauer @ 2016-03-07 14:34 UTC (permalink / raw
To: gentoo-commits
commit: 5274ece9202032d4ee667111f29a47e91d340954
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 7 14:32:55 2016 +0000
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Mon Mar 7 14:33:51 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5274ece9
app-admin/rex: Old
Package-Manager: portage-2.2.27
app-admin/rex/Manifest | 3 --
app-admin/rex/rex-1.0.0.ebuild | 36 -----------------------
app-admin/rex/rex-1.2.0.ebuild | 39 ------------------------
app-admin/rex/rex-1.3.2-r1.ebuild | 62 ---------------------------------------
app-admin/rex/rex-1.3.2.ebuild | 41 --------------------------
5 files changed, 181 deletions(-)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index 41f69ce..38729ad 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -1,5 +1,2 @@
-DIST Rex-1.0.0.tar.gz 261873 SHA256 894ba5128842b33cbc5dfeabdbeded18f303d2efbb082d08c9fceb38a7a0217b SHA512 53eb51e88e466f9dc429da828e3745c074eac1e1f1ba02f5c4f058358f071cd6eb71a95d56f65bd9b0e142aa824b2c660b7e7fe83c9ecd742dec12c3a4b642d4 WHIRLPOOL dc6b0dcd6ef3b1de4a7839a47054481b036bbd5395702c110e7760173797428b24d198bd50d8975045bd740a6180278bc34eef57c827e4d6a17a316577f16608
-DIST Rex-1.2.0.tar.gz 267664 SHA256 26a222bf418950b94b53c22c5fe87828a1503d6794a5516759914c5925f5f6fb SHA512 68467d00b6acdedd6b92dd51a8a6b42e3acf92fd28713a7ee7137744cd071b681e2e8f2fc5cf45df8979bdb78e9b49d2dbd52db7505f8aa9169b18e94e38719d WHIRLPOOL 453330d69b4a8e7e5f689fd10797233948a32fc239025fe68196ee2bfcd71f762f80e008e959cec209da58c8e1bb9be9ac66abaea9efe3bd70b4fcd38f903a8e
-DIST Rex-1.3.2.tar.gz 271446 SHA256 49be858e2ae51dda2fa2769b5e824ca2b5b7605f3b7e6c2f613b889e132e34b0 SHA512 589383b5a2c993e775be12ecd7b6ed5b525bd1f503311592bb302dd8558f5e0221fae6b459d4b52be418cb423fd294a759a63fce918b260e7c90fa153df0525a WHIRLPOOL ace24f03fc5ee5cb5b58bc14d4eb60f18598df645ad4c39260797012e2ecd2c40f72b3875f63dd5b4213990a6de817abcd511ade5d2928110072719e8b9c8ee2
DIST Rex-1.3.3.tar.gz 274725 SHA256 111e80515fc3c1846668aa4ff0731443a58f3e74d78063dfc61fea96ca49cde6 SHA512 b2331e400027568f59496ff52f0a19bd009f66fea2a5b80ed9055859f59f0057afa50f61934cccd5af434c6f60dfa99700bc3904127b822a5ae684cb8bb6c70c WHIRLPOOL c8285e50f0259060ead8e86b120b3a16d6a1f506dec8eead33ac5e8a0af8371083a73315cf859c99433a7b8c902cbd48f383326c6ce2b0c4d900681baf623a51
DIST Rex-1.4.0.tar.gz 289330 SHA256 b4f930044ea907aae67c18f347a33b55cd3da4efe5f5a5869db3c891d6c4e125 SHA512 d14489157860df1b32dd2b4af7ce8148a9693d66f59bc0ee228c7c4ff57f38f7b308212c18fc7c0aff7a585a76028a9de0a7a96f8eb58c2455d19bd6b2713eab WHIRLPOOL ee24b8c0770a94f84e6ae6ad5c3002f2e3be3a6e416121443c142477307674499fd631c0d72569aefcf81875365cd84fdd37666c9235c873b6adf5acb51eee3c
diff --git a/app-admin/rex/rex-1.0.0.ebuild b/app-admin/rex/rex-1.0.0.ebuild
deleted file mode 100644
index dc21bdf..0000000
--- a/app-admin/rex/rex-1.0.0.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-MODULE_AUTHOR=JFRIED
-MODULE_VERSION=0.53.1
-MODULE_A=Rex-${PV}.tar.gz
-
-inherit perl-module
-
-DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="dev-perl/Net-SSH2"
-DEPEND="${RDEPEND}
- dev-perl/JSON-XS
- dev-perl/XML-Simple
- dev-perl/Digest-SHA1
- dev-perl/Digest-HMAC
- dev-perl/Expect
- dev-perl/DBI
- dev-perl/yaml
- dev-perl/libwww-perl
- dev-perl/String-Escape
- dev-perl/List-MoreUtils
- dev-perl/Parallel-ForkManager
- dev-perl/Text-Glob"
-
-SRC_TEST="do"
-
-S="${WORKDIR}/Rex-${PV}"
diff --git a/app-admin/rex/rex-1.2.0.ebuild b/app-admin/rex/rex-1.2.0.ebuild
deleted file mode 100644
index 24548e3..0000000
--- a/app-admin/rex/rex-1.2.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-MODULE_AUTHOR=JFRIED
-MODULE_VERSION=0.53.1
-MODULE_A=Rex-${PV}.tar.gz
-
-inherit perl-module
-
-DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="dev-perl/Net-SSH2"
-DEPEND="${RDEPEND}
- dev-perl/JSON-XS
- dev-perl/XML-Simple
- dev-perl/Digest-SHA1
- dev-perl/Digest-HMAC
- dev-perl/Expect
- dev-perl/DBI
- dev-perl/yaml
- dev-perl/libwww-perl
- dev-perl/String-Escape
- dev-perl/List-MoreUtils
- dev-perl/Parallel-ForkManager
- dev-perl/Text-Glob
- dev-perl/Sort-Naturally
- dev-perl/TermReadKey
- dev-perl/Hash-Merge"
-
-SRC_TEST="do"
-
-S="${WORKDIR}/Rex-${PV}"
diff --git a/app-admin/rex/rex-1.3.2-r1.ebuild b/app-admin/rex/rex-1.3.2-r1.ebuild
deleted file mode 100644
index 561ea9d..0000000
--- a/app-admin/rex/rex-1.3.2-r1.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-MODULE_AUTHOR=FERKI
-MODULE_A=Rex-${PV}.tar.gz
-
-inherit perl-module
-
-DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-
-RDEPEND="
- dev-perl/DBI
- dev-perl/Digest-HMAC
- dev-perl/Digest-SHA1
- dev-perl/Expect
- dev-perl/Hash-Merge
- dev-perl/IO-String
- dev-perl/IO-Tty
- dev-perl/IPC-Shareable
- dev-perl/JSON-XS
- dev-perl/List-MoreUtils
- dev-perl/Net-OpenSSH
- dev-perl/Net-SFTP-Foreign
- dev-perl/Parallel-ForkManager
- dev-perl/Sort-Naturally
- dev-perl/String-Escape
- dev-perl/TermReadKey
- dev-perl/Text-Glob
- dev-perl/URI
- dev-perl/XML-LibXML
- dev-perl/XML-Simple
- dev-perl/libwww-perl
- dev-perl/yaml
- virtual/perl-Carp
- virtual/perl-Data-Dumper
- virtual/perl-Digest-MD5
- virtual/perl-Exporter
- virtual/perl-File-Spec
- virtual/perl-MIME-Base64
- virtual/perl-Scalar-List-Utils
- virtual/perl-Storable
- virtual/perl-Time-HiRes
-"
-
-DEPEND="
- ${RDEPEND}
- test? (
- dev-perl/Test-UseAllModules
- virtual/perl-File-Temp
- )
-"
-
-SRC_TEST="do"
-
-S="${WORKDIR}/Rex-${PV}"
diff --git a/app-admin/rex/rex-1.3.2.ebuild b/app-admin/rex/rex-1.3.2.ebuild
deleted file mode 100644
index aa51dd4..0000000
--- a/app-admin/rex/rex-1.3.2.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-MODULE_AUTHOR=FERKI
-MODULE_VERSION=0.53.1
-MODULE_A=Rex-${PV}.tar.gz
-
-inherit perl-module
-
-DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="dev-perl/Net-SSH2"
-DEPEND="${RDEPEND}
- dev-perl/JSON-XS
- dev-perl/XML-Simple
- dev-perl/Digest-SHA1
- dev-perl/Digest-HMAC
- dev-perl/Expect
- dev-perl/DBI
- dev-perl/yaml
- dev-perl/libwww-perl
- dev-perl/String-Escape
- dev-perl/List-MoreUtils
- dev-perl/Parallel-ForkManager
- dev-perl/Text-Glob
- dev-perl/Test-UseAllModules
- dev-perl/Sort-Naturally
- dev-perl/TermReadKey
- dev-perl/Hash-Merge
- dev-perl/IO-String"
-
-SRC_TEST="do"
-
-S="${WORKDIR}/Rex-${PV}"
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2016-04-29 19:36 Andreas Hüttel
0 siblings, 0 replies; 58+ messages in thread
From: Andreas Hüttel @ 2016-04-29 19:36 UTC (permalink / raw
To: gentoo-commits
commit: 2ebc441531c3e2c01629eb389a2bc377d9fe5532
Author: Kent Fredric <kentfredric <AT> gmail <DOT> com>
AuthorDate: Tue Apr 26 13:01:38 2016 +0000
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Apr 29 19:35:59 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ebc4415
app-admin/rex: Fix dependency on dev-perl/YAML
Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="alpha amd64 amd64-fbsd arm arm64 hppa ia64 m68k mips nios2 ppc ppc64 riscv s390 sh sparc sparc-fbsd x86 x86-fbsd"
app-admin/rex/rex-1.3.3.ebuild | 4 ++--
app-admin/rex/rex-1.4.0-r1.ebuild | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/app-admin/rex/rex-1.3.3.ebuild b/app-admin/rex/rex-1.3.3.ebuild
index 561ea9d..79e8253 100644
--- a/app-admin/rex/rex-1.3.3.ebuild
+++ b/app-admin/rex/rex-1.3.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -37,7 +37,7 @@ RDEPEND="
dev-perl/XML-LibXML
dev-perl/XML-Simple
dev-perl/libwww-perl
- dev-perl/yaml
+ dev-perl/YAML
virtual/perl-Carp
virtual/perl-Data-Dumper
virtual/perl-Digest-MD5
diff --git a/app-admin/rex/rex-1.4.0-r1.ebuild b/app-admin/rex/rex-1.4.0-r1.ebuild
index 9c68a18..04c39e2 100644
--- a/app-admin/rex/rex-1.4.0-r1.ebuild
+++ b/app-admin/rex/rex-1.4.0-r1.ebuild
@@ -39,7 +39,7 @@ RDEPEND="
dev-perl/XML-LibXML
dev-perl/XML-Simple
dev-perl/libwww-perl
- dev-perl/yaml
+ dev-perl/YAML
virtual/perl-Carp
virtual/perl-Data-Dumper
virtual/perl-Digest-MD5
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2016-07-20 10:13 Patrick Lauer
0 siblings, 0 replies; 58+ messages in thread
From: Patrick Lauer @ 2016-07-20 10:13 UTC (permalink / raw
To: gentoo-commits
commit: 54e2eca3c1bb7906ff38acd2a11223bfb7ce6357
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 20 10:12:58 2016 +0000
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Wed Jul 20 10:12:58 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54e2eca3
app-admin/rex: Bump
Package-Manager: portage-2.3.0
app-admin/rex/Manifest | 1 +
app-admin/rex/rex-1.4.1.ebuild | 60 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 61 insertions(+)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index 38729ad..56e3795 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -1,2 +1,3 @@
DIST Rex-1.3.3.tar.gz 274725 SHA256 111e80515fc3c1846668aa4ff0731443a58f3e74d78063dfc61fea96ca49cde6 SHA512 b2331e400027568f59496ff52f0a19bd009f66fea2a5b80ed9055859f59f0057afa50f61934cccd5af434c6f60dfa99700bc3904127b822a5ae684cb8bb6c70c WHIRLPOOL c8285e50f0259060ead8e86b120b3a16d6a1f506dec8eead33ac5e8a0af8371083a73315cf859c99433a7b8c902cbd48f383326c6ce2b0c4d900681baf623a51
DIST Rex-1.4.0.tar.gz 289330 SHA256 b4f930044ea907aae67c18f347a33b55cd3da4efe5f5a5869db3c891d6c4e125 SHA512 d14489157860df1b32dd2b4af7ce8148a9693d66f59bc0ee228c7c4ff57f38f7b308212c18fc7c0aff7a585a76028a9de0a7a96f8eb58c2455d19bd6b2713eab WHIRLPOOL ee24b8c0770a94f84e6ae6ad5c3002f2e3be3a6e416121443c142477307674499fd631c0d72569aefcf81875365cd84fdd37666c9235c873b6adf5acb51eee3c
+DIST Rex-1.4.1.tar.gz 317358 SHA256 6898add0c9ad8b30b1ea5f70730a53cf899e4fe7228e1f8d5006d6694cfe8eb2 SHA512 07e7d950326aaa60e05977f2acb2ac90f07efe0d56411ba202a4c60a890c37e984c6786383623ac67f8e36052cf8436e8430fd024dde282a7d2530425b420e8e WHIRLPOOL e67b3e73c8d1337f2b91104d80132b860fb49f045bca12c15d57651204dd23811248e196962fcda41afdfdc6a2ad1123dc5829d1fd04bd17879bea812b281a47
diff --git a/app-admin/rex/rex-1.4.1.ebuild b/app-admin/rex/rex-1.4.1.ebuild
new file mode 100644
index 0000000..65569d5
--- /dev/null
+++ b/app-admin/rex/rex-1.4.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DIST_AUTHOR=JFRIED
+DIST_NAME=Rex
+
+inherit perl-module
+
+DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+ dev-perl/DBI
+ dev-perl/Devel-Caller
+ dev-perl/Digest-HMAC
+ dev-perl/Digest-SHA1
+ dev-perl/Expect
+ dev-perl/Hash-Merge
+ dev-perl/IO-String
+ dev-perl/IO-Tty
+ dev-perl/IPC-Shareable
+ dev-perl/JSON-XS
+ dev-perl/List-MoreUtils
+ dev-perl/Net-OpenSSH
+ dev-perl/Net-SFTP-Foreign
+ dev-perl/Parallel-ForkManager
+ dev-perl/Sort-Naturally
+ dev-perl/String-Escape
+ dev-perl/TermReadKey
+ dev-perl/Test-Deep
+ dev-perl/Text-Glob
+ dev-perl/URI
+ dev-perl/XML-LibXML
+ dev-perl/XML-Simple
+ dev-perl/libwww-perl
+ dev-perl/YAML
+ virtual/perl-Carp
+ virtual/perl-Data-Dumper
+ virtual/perl-Digest-MD5
+ virtual/perl-Exporter
+ virtual/perl-File-Spec
+ virtual/perl-MIME-Base64
+ virtual/perl-Scalar-List-Utils
+ virtual/perl-Storable
+ virtual/perl-Time-HiRes
+"
+
+DEPEND="
+ ${RDEPEND}
+ test? (
+ dev-perl/Test-UseAllModules
+ virtual/perl-File-Temp
+ )
+"
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2017-02-23 18:58 Kent Fredric
0 siblings, 0 replies; 58+ messages in thread
From: Kent Fredric @ 2017-02-23 18:58 UTC (permalink / raw
To: gentoo-commits
commit: eeaef8de0d0444f77a5c3023721e7e5a4da39703
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 21 20:10:58 2017 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Thu Feb 23 18:57:00 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eeaef8de
app-admin/rex: Add -9999 ebuild
Package-Manager: Portage-2.3.3, Repoman-2.3.1
app-admin/rex/rex-9999.ebuild | 144 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 144 insertions(+)
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-9999.ebuild
new file mode 100644
index 0000000000..6cde2ea0fe
--- /dev/null
+++ b/app-admin/rex/rex-9999.ebuild
@@ -0,0 +1,144 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+if [[ ${PV} == 9999 ]]; then
+ GITHUB_USER=RexOps
+ GITHUB_REPO=Rex
+ EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
+ EGIT_BRANCH="development-1.x"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
+ VCS_ECLASS="git-r3"
+else
+ # This is intentional to stop perl-module.eclass doing magic things when it
+ # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
+ # Also prevents perl-module.eclass provisioning SRC_URI
+ DIST_AUTHOR=JFRIED
+ DIST_NAME=Rex
+fi
+
+inherit perl-module ${VCS_ECLASS}
+
+DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands"
+
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+
+DZIL_DEPENDS="
+ dev-perl/Dist-Zilla
+ dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
+ dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
+ dev-perl/Dist-Zilla-Plugin-OSPrereqs
+ dev-perl/Dist-Zilla-Plugin-OurPkgVersion
+ dev-perl/Dist-Zilla-Plugin-Test-MinimumVersion
+ dev-perl/Dist-Zilla-Plugin-Test-Perl-Critic
+"
+
+RDEPEND="
+ dev-perl/DBI
+ dev-perl/Devel-Caller
+ dev-perl/Digest-HMAC
+ dev-perl/Digest-SHA1
+ dev-perl/Expect
+ dev-perl/Hash-Merge
+ dev-perl/IO-String
+ dev-perl/IO-Tty
+ dev-perl/IPC-Shareable
+ dev-perl/JSON-XS
+ dev-perl/List-MoreUtils
+ dev-perl/Net-OpenSSH
+ dev-perl/Net-SFTP-Foreign
+ dev-perl/Parallel-ForkManager
+ dev-perl/Sort-Naturally
+ dev-perl/String-Escape
+ dev-perl/TermReadKey
+ dev-perl/Test-Deep
+ dev-perl/Text-Glob
+ dev-perl/URI
+ dev-perl/XML-LibXML
+ dev-perl/XML-Simple
+ dev-perl/libwww-perl
+ dev-perl/YAML
+ virtual/perl-Carp
+ virtual/perl-Data-Dumper
+ virtual/perl-Digest-MD5
+ virtual/perl-Exporter
+ virtual/perl-File-Spec
+ virtual/perl-MIME-Base64
+ virtual/perl-Scalar-List-Utils
+ virtual/perl-Storable
+ virtual/perl-Time-HiRes
+"
+
+DEPEND="
+ ${RDEPEND}
+ test? (
+ dev-perl/Test-UseAllModules
+ virtual/perl-File-Temp
+ )
+"
+
+[[ ${PV} == 9999 ]] && DEPEND+=" ${DZIL_DEPENDS}"
+
+src_unpack() {
+ if [[ $PV == 9999 ]]; then
+ "${VCS_ECLASS}"_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
+ # Uses git sources in WORKDIR/rex-git
+ # to generate a CPAN-style tree in ${S}
+ # before letting perl-module.eclass do the rest
+ dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
+ fi
+ cd "${S}" || die "Can't enter build dir"
+ perl-module_src_prepare
+}
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2017-02-23 18:58 Kent Fredric
0 siblings, 0 replies; 58+ messages in thread
From: Kent Fredric @ 2017-02-23 18:58 UTC (permalink / raw
To: gentoo-commits
commit: 73677fa2fefe6d905374c904009e4ae7a443a7a1
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 22 21:28:12 2017 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Thu Feb 23 18:57:02 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73677fa2
app-admin/rex: Add myself to metadata.xml
With Patricks approval, as I'm the Dist::Zilla wizard.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
app-admin/rex/metadata.xml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/app-admin/rex/metadata.xml b/app-admin/rex/metadata.xml
index 5535130184..83a4ce6a1f 100644
--- a/app-admin/rex/metadata.xml
+++ b/app-admin/rex/metadata.xml
@@ -9,7 +9,11 @@
<email>patrick@gentoo.org</email>
<name>Patrick Lauer</name>
</maintainer>
-<maintainer type="project">
+ <maintainer type="person">
+ <email>kentnl@gentoo.org</email>
+ <name>Kent Fredric</name>
+ </maintainer>
+ <maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2017-03-31 10:14 Kent Fredric
0 siblings, 0 replies; 58+ messages in thread
From: Kent Fredric @ 2017-03-31 10:14 UTC (permalink / raw
To: gentoo-commits
commit: 31c034e7539cc229aee0327f3be23c8ba6850754
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 30 16:59:32 2017 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Fri Mar 31 10:14:07 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31c034e7
app-admin/rex: fix keywording, add Data-Valdiate-IP dep
Changes supplied by Ferenc Erki
Bug: https://bugs.gentoo.org/614286
Package-Manager: Portage-2.3.4, Repoman-2.3.2
app-admin/rex/rex-9999.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-9999.ebuild
index 9f36dfc5c24..d7c75b836fb 100644
--- a/app-admin/rex/rex-9999.ebuild
+++ b/app-admin/rex/rex-9999.ebuild
@@ -16,6 +16,7 @@ else
# Also prevents perl-module.eclass provisioning SRC_URI
DIST_AUTHOR=JFRIED
DIST_NAME=Rex
+ KEYWORDS="~amd64 ~x86"
fi
inherit perl-module ${VCS_ECLASS}
@@ -23,7 +24,6 @@ inherit perl-module ${VCS_ECLASS}
DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands"
SLOT="0"
-KEYWORDS=""
IUSE="test"
DZIL_DEPENDS="
@@ -37,6 +37,7 @@ DZIL_DEPENDS="
"
RDEPEND="
+ dev-perl/Data-Validate-IP
dev-perl/DBI
dev-perl/Devel-Caller
dev-perl/Digest-HMAC
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2017-03-31 10:15 Kent Fredric
0 siblings, 0 replies; 58+ messages in thread
From: Kent Fredric @ 2017-03-31 10:15 UTC (permalink / raw
To: gentoo-commits
commit: b8788bbe6e0eaef92f83ee61eef2707beeb52a3d
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 30 18:06:06 2017 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Fri Mar 31 10:14:11 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8788bbe
app-admin/rex: Bump to version 1.5.0
Ebuild & metadata changes submitted by Ferenc Erki
- Update metadata
- Fix keywords
- Add dep on Data-Validate-IP
Bug: https://bugs.gentoo.org/614286
Bug: https://bugs.gentoo.org/559178
Package-Manager: Portage-2.3.4, Repoman-2.3.2
app-admin/rex/Manifest | 1 +
app-admin/rex/metadata.xml | 339 +++++++++++++++++++++++++++++++++++++++++
app-admin/rex/rex-1.5.0.ebuild | 144 +++++++++++++++++
3 files changed, 484 insertions(+)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index 56e3795d24b..1c64ccadb60 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -1,3 +1,4 @@
DIST Rex-1.3.3.tar.gz 274725 SHA256 111e80515fc3c1846668aa4ff0731443a58f3e74d78063dfc61fea96ca49cde6 SHA512 b2331e400027568f59496ff52f0a19bd009f66fea2a5b80ed9055859f59f0057afa50f61934cccd5af434c6f60dfa99700bc3904127b822a5ae684cb8bb6c70c WHIRLPOOL c8285e50f0259060ead8e86b120b3a16d6a1f506dec8eead33ac5e8a0af8371083a73315cf859c99433a7b8c902cbd48f383326c6ce2b0c4d900681baf623a51
DIST Rex-1.4.0.tar.gz 289330 SHA256 b4f930044ea907aae67c18f347a33b55cd3da4efe5f5a5869db3c891d6c4e125 SHA512 d14489157860df1b32dd2b4af7ce8148a9693d66f59bc0ee228c7c4ff57f38f7b308212c18fc7c0aff7a585a76028a9de0a7a96f8eb58c2455d19bd6b2713eab WHIRLPOOL ee24b8c0770a94f84e6ae6ad5c3002f2e3be3a6e416121443c142477307674499fd631c0d72569aefcf81875365cd84fdd37666c9235c873b6adf5acb51eee3c
DIST Rex-1.4.1.tar.gz 317358 SHA256 6898add0c9ad8b30b1ea5f70730a53cf899e4fe7228e1f8d5006d6694cfe8eb2 SHA512 07e7d950326aaa60e05977f2acb2ac90f07efe0d56411ba202a4c60a890c37e984c6786383623ac67f8e36052cf8436e8430fd024dde282a7d2530425b420e8e WHIRLPOOL e67b3e73c8d1337f2b91104d80132b860fb49f045bca12c15d57651204dd23811248e196962fcda41afdfdc6a2ad1123dc5829d1fd04bd17879bea812b281a47
+DIST Rex-1.5.0.tar.gz 327424 SHA256 c042a0ed4920070d4508b6e7d2c36d28b3a5691938f2e0a0d7717977b44b82d0 SHA512 43a1e147e5d2dccdc641479f2bf5449b0051651d152823738caf946bb3ceecb444011c3273f0c70ca5feab737702f6cd609f5b211eec8261e1facd80c82b6c73 WHIRLPOOL eca2ecd1a0bd18355cf1dcf1b20df795bd25788acf10b800d2216fb78ecc87a63556dc1d40d0da0ff7487b2540e7c33efc14f324780d6d401d068762fa6921d0
diff --git a/app-admin/rex/metadata.xml b/app-admin/rex/metadata.xml
index 83a4ce6a1f0..074c06f812c 100644
--- a/app-admin/rex/metadata.xml
+++ b/app-admin/rex/metadata.xml
@@ -17,4 +17,343 @@
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
+ <upstream>
+ <remote-id type="github">RexOps/rex</remote-id>
+ <remote-id type="cpan">Rex</remote-id>
+ <remote-id type="cpan-module">Rex</remote-id>
+ <remote-id type="cpan-module">Rex::Args</remote-id>
+ <remote-id type="cpan-module">Rex::Args::Integer</remote-id>
+ <remote-id type="cpan-module">Rex::Args::Single</remote-id>
+ <remote-id type="cpan-module">Rex::Args::String</remote-id>
+ <remote-id type="cpan-module">Rex::Batch</remote-id>
+ <remote-id type="cpan-module">Rex::Box</remote-id>
+ <remote-id type="cpan-module">Rex::Box::Amazon</remote-id>
+ <remote-id type="cpan-module">Rex::Box::Base</remote-id>
+ <remote-id type="cpan-module">Rex::Box::KVM</remote-id>
+ <remote-id type="cpan-module">Rex::Box::VBox</remote-id>
+ <remote-id type="cpan-module">Rex::CLI</remote-id>
+ <remote-id type="cpan-module">Rex::CMDB</remote-id>
+ <remote-id type="cpan-module">Rex::CMDB::Base</remote-id>
+ <remote-id type="cpan-module">Rex::CMDB::YAML</remote-id>
+ <remote-id type="cpan-module">Rex::Cloud</remote-id>
+ <remote-id type="cpan-module">Rex::Cloud::Amazon</remote-id>
+ <remote-id type="cpan-module">Rex::Cloud::Base</remote-id>
+ <remote-id type="cpan-module">Rex::Cloud::Jiffybox</remote-id>
+ <remote-id type="cpan-module">Rex::Cloud::OpenStack</remote-id>
+ <remote-id type="cpan-module">Rex::Commands</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::Augeas</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::Box</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::Cloud</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::Cron</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::DB</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::Download</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::File</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::Fs</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::Gather</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::Host</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::Inventory</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::Iptables</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::JobControl</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::Kernel</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::LVM</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::MD5</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::Mkfs</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::Network</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::Notify</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::Partition</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::Pkg</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::PkgConf</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::Process</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::Rsync</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::Run</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::SCM</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::Service</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::SimpleCheck</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::Sync</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::Sysctl</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::Tail</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::Upload</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::User</remote-id>
+ <remote-id type="cpan-module">Rex::Commands::Virtualization</remote-id>
+ <remote-id type="cpan-module">Rex::Config</remote-id>
+ <remote-id type="cpan-module">Rex::Constants</remote-id>
+ <remote-id type="cpan-module">Rex::Cron</remote-id>
+ <remote-id type="cpan-module">Rex::Cron::Base</remote-id>
+ <remote-id type="cpan-module">Rex::Cron::FreeBSD</remote-id>
+ <remote-id type="cpan-module">Rex::Cron::Linux</remote-id>
+ <remote-id type="cpan-module">Rex::Cron::SunOS</remote-id>
+ <remote-id type="cpan-module">Rex::Exporter</remote-id>
+ <remote-id type="cpan-module">Rex::FS::File</remote-id>
+ <remote-id type="cpan-module">Rex::File::Parser::Data</remote-id>
+ <remote-id type="cpan-module">Rex::File::Parser::Ini</remote-id>
+ <remote-id type="cpan-module">Rex::Fork::Manager</remote-id>
+ <remote-id type="cpan-module">Rex::Fork::Task</remote-id>
+ <remote-id type="cpan-module">Rex::Group</remote-id>
+ <remote-id type="cpan-module">Rex::Group::Entry::Server</remote-id>
+ <remote-id type="cpan-module">Rex::Group::Lookup::Command</remote-id>
+ <remote-id type="cpan-module">Rex::Group::Lookup::DBI</remote-id>
+ <remote-id type="cpan-module">Rex::Group::Lookup::File</remote-id>
+ <remote-id type="cpan-module">Rex::Group::Lookup::INI</remote-id>
+ <remote-id type="cpan-module">Rex::Group::Lookup::XML</remote-id>
+ <remote-id type="cpan-module">Rex::Group::Lookup::YAML</remote-id>
+ <remote-id type="cpan-module">Rex::Hardware</remote-id>
+ <remote-id type="cpan-module">Rex::Hardware::Host</remote-id>
+ <remote-id type="cpan-module">Rex::Hardware::Kernel</remote-id>
+ <remote-id type="cpan-module">Rex::Hardware::Memory</remote-id>
+ <remote-id type="cpan-module">Rex::Hardware::Network</remote-id>
+ <remote-id type="cpan-module">Rex::Hardware::Network::Darwin</remote-id>
+ <remote-id type="cpan-module">Rex::Hardware::Network::FreeBSD</remote-id>
+ <remote-id type="cpan-module">Rex::Hardware::Network::Linux</remote-id>
+ <remote-id type="cpan-module">Rex::Hardware::Network::NetBSD</remote-id>
+ <remote-id type="cpan-module">Rex::Hardware::Network::OpenBSD</remote-id>
+ <remote-id type="cpan-module">Rex::Hardware::Network::Solaris</remote-id>
+ <remote-id type="cpan-module">Rex::Hardware::Swap</remote-id>
+ <remote-id type="cpan-module">Rex::Hardware::VirtInfo</remote-id>
+ <remote-id type="cpan-module">Rex::Helper::Array</remote-id>
+ <remote-id type="cpan-module">Rex::Helper::DBI</remote-id>
+ <remote-id type="cpan-module">Rex::Helper::Encode</remote-id>
+ <remote-id type="cpan-module">Rex::Helper::File::Spec</remote-id>
+ <remote-id type="cpan-module">Rex::Helper::File::Stat</remote-id>
+ <remote-id type="cpan-module">Rex::Helper::File::Stat::Unix</remote-id>
+ <remote-id type="cpan-module">Rex::Helper::File::Stat::Win32</remote-id>
+ <remote-id type="cpan-module">Rex::Helper::Hash</remote-id>
+ <remote-id type="cpan-module">Rex::Helper::INI</remote-id>
+ <remote-id type="cpan-module">Rex::Helper::IP</remote-id>
+ <remote-id type="cpan-module">Rex::Helper::Misc</remote-id>
+ <remote-id type="cpan-module">Rex::Helper::Path</remote-id>
+ <remote-id type="cpan-module">Rex::Helper::Rexfile::ParamLookup</remote-id>
+ <remote-id type="cpan-module">Rex::Helper::Run</remote-id>
+ <remote-id type="cpan-module">Rex::Helper::SSH2</remote-id>
+ <remote-id type="cpan-module">Rex::Helper::SSH2::Expect</remote-id>
+ <remote-id type="cpan-module">Rex::Helper::System</remote-id>
+ <remote-id type="cpan-module">Rex::Helper::URI</remote-id>
+ <remote-id type="cpan-module">Rex::Helper::UserAgent</remote-id>
+ <remote-id type="cpan-module">Rex::Hook</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Cache</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Cache::Base</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Cache::YAML</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Connection</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Connection::Base</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Connection::Fake</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Connection::HTTP</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Connection::HTTPS</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Connection::Local</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Connection::OpenSSH</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Connection::SSH</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Exec</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Exec::Base</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Exec::HTTP</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Exec::IOReader</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Exec::Local</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Exec::OpenSSH</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Exec::SSH</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Exec::Sudo</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Executor</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Executor::Base</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Executor::Default</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::File</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::File::Base</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::File::HTTP</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::File::Local</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::File::OpenSSH</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::File::SSH</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::File::Sudo</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Fs</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Fs::Base</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Fs::HTTP</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Fs::Local</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Fs::OpenSSH</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Fs::SSH</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Fs::Sudo</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Shell</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Shell::Ash</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Shell::Base</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Shell::Bash</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Shell::Csh</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Shell::Default</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Shell::Idrac</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Shell::Ksh</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Shell::Sh</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Shell::Tcsh</remote-id>
+ <remote-id type="cpan-module">Rex::Interface::Shell::Zsh</remote-id>
+ <remote-id type="cpan-module">Rex::Inventory</remote-id>
+ <remote-id type="cpan-module">Rex::Inventory::Bios</remote-id>
+ <remote-id type="cpan-module">Rex::Inventory::DMIDecode</remote-id>
+ <remote-id type="cpan-module">Rex::Inventory::DMIDecode::BaseBoard</remote-id>
+ <remote-id type="cpan-module">Rex::Inventory::DMIDecode::Bios</remote-id>
+ <remote-id type="cpan-module">Rex::Inventory::DMIDecode::CPU</remote-id>
+ <remote-id type="cpan-module">Rex::Inventory::DMIDecode::Memory</remote-id>
+ <remote-id type="cpan-module">Rex::Inventory::DMIDecode::MemoryArray</remote-id>
+ <remote-id type="cpan-module">Rex::Inventory::DMIDecode::Section</remote-id>
+ <remote-id type="cpan-module">Rex::Inventory::DMIDecode::SystemInformation</remote-id>
+ <remote-id type="cpan-module">Rex::Inventory::HP::ACU</remote-id>
+ <remote-id type="cpan-module">Rex::Inventory::Hal</remote-id>
+ <remote-id type="cpan-module">Rex::Inventory::Hal::Object</remote-id>
+ <remote-id type="cpan-module">Rex::Inventory::Hal::Object::Net</remote-id>
+ <remote-id type="cpan-module">Rex::Inventory::Hal::Object::Storage</remote-id>
+ <remote-id type="cpan-module">Rex::Inventory::Hal::Object::Volume</remote-id>
+ <remote-id type="cpan-module">Rex::Inventory::Proc</remote-id>
+ <remote-id type="cpan-module">Rex::Inventory::Proc::Cpuinfo</remote-id>
+ <remote-id type="cpan-module">Rex::Inventory::SMBios</remote-id>
+ <remote-id type="cpan-module">Rex::Inventory::SMBios::BaseBoard</remote-id>
+ <remote-id type="cpan-module">Rex::Inventory::SMBios::Bios</remote-id>
+ <remote-id type="cpan-module">Rex::Inventory::SMBios::CPU</remote-id>
+ <remote-id type="cpan-module">Rex::Inventory::SMBios::Memory</remote-id>
+ <remote-id type="cpan-module">Rex::Inventory::SMBios::MemoryArray</remote-id>
+ <remote-id type="cpan-module">Rex::Inventory::SMBios::Section</remote-id>
+ <remote-id type="cpan-module">Rex::Inventory::SMBios::SystemInformation</remote-id>
+ <remote-id type="cpan-module">Rex::Logger</remote-id>
+ <remote-id type="cpan-module">Rex::Notify</remote-id>
+ <remote-id type="cpan-module">Rex::Output</remote-id>
+ <remote-id type="cpan-module">Rex::Output::Base</remote-id>
+ <remote-id type="cpan-module">Rex::Output::JUnit</remote-id>
+ <remote-id type="cpan-module">Rex::Pkg</remote-id>
+ <remote-id type="cpan-module">Rex::Pkg::ALT</remote-id>
+ <remote-id type="cpan-module">Rex::Pkg::Arch</remote-id>
+ <remote-id type="cpan-module">Rex::Pkg::Base</remote-id>
+ <remote-id type="cpan-module">Rex::Pkg::Debian</remote-id>
+ <remote-id type="cpan-module">Rex::Pkg::FreeBSD</remote-id>
+ <remote-id type="cpan-module">Rex::Pkg::Gentoo</remote-id>
+ <remote-id type="cpan-module">Rex::Pkg::Mageia</remote-id>
+ <remote-id type="cpan-module">Rex::Pkg::NetBSD</remote-id>
+ <remote-id type="cpan-module">Rex::Pkg::OpenBSD</remote-id>
+ <remote-id type="cpan-module">Rex::Pkg::OpenWrt</remote-id>
+ <remote-id type="cpan-module">Rex::Pkg::Redhat</remote-id>
+ <remote-id type="cpan-module">Rex::Pkg::SuSE</remote-id>
+ <remote-id type="cpan-module">Rex::Pkg::SunOS</remote-id>
+ <remote-id type="cpan-module">Rex::Pkg::SunOS::OpenCSW</remote-id>
+ <remote-id type="cpan-module">Rex::Pkg::SunOS::pkg</remote-id>
+ <remote-id type="cpan-module">Rex::Pkg::Ubuntu</remote-id>
+ <remote-id type="cpan-module">Rex::PkgConf</remote-id>
+ <remote-id type="cpan-module">Rex::PkgConf::Base</remote-id>
+ <remote-id type="cpan-module">Rex::PkgConf::Debian</remote-id>
+ <remote-id type="cpan-module">Rex::Profiler</remote-id>
+ <remote-id type="cpan-module">Rex::Report</remote-id>
+ <remote-id type="cpan-module">Rex::Report::Base</remote-id>
+ <remote-id type="cpan-module">Rex::Report::YAML</remote-id>
+ <remote-id type="cpan-module">Rex::Require</remote-id>
+ <remote-id type="cpan-module">Rex::Resource</remote-id>
+ <remote-id type="cpan-module">Rex::Resource::Common</remote-id>
+ <remote-id type="cpan-module">Rex::Resource::firewall</remote-id>
+ <remote-id type="cpan-module">Rex::Resource::firewall::Provider::base</remote-id>
+ <remote-id type="cpan-module">Rex::Resource::firewall::Provider::iptables</remote-id>
+ <remote-id type="cpan-module">Rex::Resource::firewall::Provider::ufw</remote-id>
+ <remote-id type="cpan-module">Rex::RunList</remote-id>
+ <remote-id type="cpan-module">Rex::SCM::Git</remote-id>
+ <remote-id type="cpan-module">Rex::SCM::Subversion</remote-id>
+ <remote-id type="cpan-module">Rex::Service</remote-id>
+ <remote-id type="cpan-module">Rex::Service::ALT</remote-id>
+ <remote-id type="cpan-module">Rex::Service::ALT::systemd</remote-id>
+ <remote-id type="cpan-module">Rex::Service::Arch::systemd</remote-id>
+ <remote-id type="cpan-module">Rex::Service::Base</remote-id>
+ <remote-id type="cpan-module">Rex::Service::Debian</remote-id>
+ <remote-id type="cpan-module">Rex::Service::Debian::systemd</remote-id>
+ <remote-id type="cpan-module">Rex::Service::FreeBSD</remote-id>
+ <remote-id type="cpan-module">Rex::Service::Gentoo</remote-id>
+ <remote-id type="cpan-module">Rex::Service::Gentoo::systemd</remote-id>
+ <remote-id type="cpan-module">Rex::Service::Mageia</remote-id>
+ <remote-id type="cpan-module">Rex::Service::Mageia::systemd</remote-id>
+ <remote-id type="cpan-module">Rex::Service::NetBSD</remote-id>
+ <remote-id type="cpan-module">Rex::Service::OpenBSD</remote-id>
+ <remote-id type="cpan-module">Rex::Service::OpenWrt</remote-id>
+ <remote-id type="cpan-module">Rex::Service::Redhat</remote-id>
+ <remote-id type="cpan-module">Rex::Service::Redhat::systemd</remote-id>
+ <remote-id type="cpan-module">Rex::Service::SuSE</remote-id>
+ <remote-id type="cpan-module">Rex::Service::SuSE::systemd</remote-id>
+ <remote-id type="cpan-module">Rex::Service::SunOS</remote-id>
+ <remote-id type="cpan-module">Rex::Service::SunOS::svcadm</remote-id>
+ <remote-id type="cpan-module">Rex::Service::Ubuntu</remote-id>
+ <remote-id type="cpan-module">Rex::Shared::Var</remote-id>
+ <remote-id type="cpan-module">Rex::Shared::Var::Array</remote-id>
+ <remote-id type="cpan-module">Rex::Shared::Var::Common</remote-id>
+ <remote-id type="cpan-module">Rex::Shared::Var::Hash</remote-id>
+ <remote-id type="cpan-module">Rex::Shared::Var::Scalar</remote-id>
+ <remote-id type="cpan-module">Rex::Sudo::File</remote-id>
+ <remote-id type="cpan-module">Rex::Task</remote-id>
+ <remote-id type="cpan-module">Rex::TaskList</remote-id>
+ <remote-id type="cpan-module">Rex::TaskList::Base</remote-id>
+ <remote-id type="cpan-module">Rex::TaskList::Parallel_ForkManager</remote-id>
+ <remote-id type="cpan-module">Rex::Template</remote-id>
+ <remote-id type="cpan-module">Rex::Template::NG</remote-id>
+ <remote-id type="cpan-module">Rex::Test</remote-id>
+ <remote-id type="cpan-module">Rex::Test::Base</remote-id>
+ <remote-id type="cpan-module">Rex::Test::Base::has_content</remote-id>
+ <remote-id type="cpan-module">Rex::Test::Base::has_cron</remote-id>
+ <remote-id type="cpan-module">Rex::Test::Base::has_cron_env</remote-id>
+ <remote-id type="cpan-module">Rex::Test::Base::has_dir</remote-id>
+ <remote-id type="cpan-module">Rex::Test::Base::has_file</remote-id>
+ <remote-id type="cpan-module">Rex::Test::Base::has_file_content</remote-id>
+ <remote-id type="cpan-module">Rex::Test::Base::has_output</remote-id>
+ <remote-id type="cpan-module">Rex::Test::Base::has_output_matching</remote-id>
+ <remote-id type="cpan-module">Rex::Test::Base::has_package</remote-id>
+ <remote-id type="cpan-module">Rex::Test::Base::has_service_running</remote-id>
+ <remote-id type="cpan-module">Rex::Test::Base::has_service_stopped</remote-id>
+ <remote-id type="cpan-module">Rex::Test::Base::has_stat</remote-id>
+ <remote-id type="cpan-module">Rex::Transaction</remote-id>
+ <remote-id type="cpan-module">Rex::User</remote-id>
+ <remote-id type="cpan-module">Rex::User::Base</remote-id>
+ <remote-id type="cpan-module">Rex::User::FreeBSD</remote-id>
+ <remote-id type="cpan-module">Rex::User::Linux</remote-id>
+ <remote-id type="cpan-module">Rex::User::NetBSD</remote-id>
+ <remote-id type="cpan-module">Rex::User::OpenBSD</remote-id>
+ <remote-id type="cpan-module">Rex::User::OpenWrt</remote-id>
+ <remote-id type="cpan-module">Rex::User::SunOS</remote-id>
+ <remote-id type="cpan-module">Rex::Value</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::Base</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::Docker</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::Docker::create</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::Docker::daemon</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::Docker::delete</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::Docker::destroy</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::Docker::info</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::Docker::list</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::Docker::reboot</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::Docker::shutdown</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::Docker::start</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::LibVirt</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::LibVirt::blklist</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::LibVirt::clone</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::LibVirt::create</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::LibVirt::delete</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::LibVirt::destroy</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::LibVirt::dumpxml</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::LibVirt::guestinfo</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::LibVirt::hypervisor</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::LibVirt::iflist</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::LibVirt::import</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::LibVirt::info</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::LibVirt::list</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::LibVirt::option</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::LibVirt::reboot</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::LibVirt::shutdown</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::LibVirt::start</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::LibVirt::status</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::LibVirt::vncdisplay</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::Lxc</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::Lxc::attach</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::Lxc::copy</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::Lxc::create</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::Lxc::destroy</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::Lxc::info</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::Lxc::list</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::Lxc::start</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::Lxc::stop</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::VBox</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::VBox::bridge</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::VBox::create</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::VBox::delete</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::VBox::destroy</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::VBox::forward_port</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::VBox::guestinfo</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::VBox::import</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::VBox::info</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::VBox::list</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::VBox::option</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::VBox::reboot</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::VBox::share_folder</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::VBox::shutdown</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::VBox::start</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::VBox::status</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/app-admin/rex/rex-1.5.0.ebuild b/app-admin/rex/rex-1.5.0.ebuild
new file mode 100644
index 00000000000..d7c75b836fb
--- /dev/null
+++ b/app-admin/rex/rex-1.5.0.ebuild
@@ -0,0 +1,144 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} == 9999 ]]; then
+ GITHUB_USER=RexOps
+ GITHUB_REPO=Rex
+ EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
+ EGIT_BRANCH="development-1.x"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
+ VCS_ECLASS="git-r3"
+else
+ # This is intentional to stop perl-module.eclass doing magic things when it
+ # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
+ # Also prevents perl-module.eclass provisioning SRC_URI
+ DIST_AUTHOR=JFRIED
+ DIST_NAME=Rex
+ KEYWORDS="~amd64 ~x86"
+fi
+
+inherit perl-module ${VCS_ECLASS}
+
+DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands"
+
+SLOT="0"
+IUSE="test"
+
+DZIL_DEPENDS="
+ dev-perl/Dist-Zilla
+ dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
+ dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
+ dev-perl/Dist-Zilla-Plugin-OSPrereqs
+ dev-perl/Dist-Zilla-Plugin-OurPkgVersion
+ dev-perl/Dist-Zilla-Plugin-Test-MinimumVersion
+ dev-perl/Dist-Zilla-Plugin-Test-Perl-Critic
+"
+
+RDEPEND="
+ dev-perl/Data-Validate-IP
+ dev-perl/DBI
+ dev-perl/Devel-Caller
+ dev-perl/Digest-HMAC
+ dev-perl/Digest-SHA1
+ dev-perl/Expect
+ dev-perl/Hash-Merge
+ dev-perl/IO-String
+ dev-perl/IO-Tty
+ dev-perl/IPC-Shareable
+ dev-perl/JSON-XS
+ dev-perl/List-MoreUtils
+ dev-perl/Net-OpenSSH
+ dev-perl/Net-SFTP-Foreign
+ dev-perl/Parallel-ForkManager
+ dev-perl/Sort-Naturally
+ dev-perl/String-Escape
+ dev-perl/TermReadKey
+ dev-perl/Test-Deep
+ dev-perl/Text-Glob
+ dev-perl/URI
+ dev-perl/XML-LibXML
+ dev-perl/XML-Simple
+ dev-perl/libwww-perl
+ dev-perl/YAML
+ virtual/perl-Carp
+ virtual/perl-Data-Dumper
+ virtual/perl-Digest-MD5
+ virtual/perl-Exporter
+ virtual/perl-File-Spec
+ virtual/perl-MIME-Base64
+ virtual/perl-Scalar-List-Utils
+ virtual/perl-Storable
+ virtual/perl-Time-HiRes
+"
+
+DEPEND="
+ ${RDEPEND}
+ test? (
+ dev-perl/Test-UseAllModules
+ virtual/perl-File-Temp
+ )
+"
+
+[[ ${PV} == 9999 ]] && DEPEND+=" ${DZIL_DEPENDS}"
+
+src_unpack() {
+ if [[ $PV == 9999 ]]; then
+ "${VCS_ECLASS}"_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
+ # Uses git sources in WORKDIR/rex-git
+ # to generate a CPAN-style tree in ${S}
+ # before letting perl-module.eclass do the rest
+ dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
+ fi
+ cd "${S}" || die "Can't enter build dir"
+ perl-module_src_prepare
+}
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2017-03-31 10:28 Kent Fredric
0 siblings, 0 replies; 58+ messages in thread
From: Kent Fredric @ 2017-03-31 10:28 UTC (permalink / raw
To: gentoo-commits
commit: 85980db271ebe19eef02520db8aca22f3bdb99ed
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 31 10:27:23 2017 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Fri Mar 31 10:27:40 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85980db2
app-admin/rex: Fix captialization in Github Upstream ID
Package-Manager: Portage-2.3.4, Repoman-2.3.2
app-admin/rex/metadata.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-admin/rex/metadata.xml b/app-admin/rex/metadata.xml
index 074c06f812c..8ff646c52b5 100644
--- a/app-admin/rex/metadata.xml
+++ b/app-admin/rex/metadata.xml
@@ -18,7 +18,7 @@
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
- <remote-id type="github">RexOps/rex</remote-id>
+ <remote-id type="github">RexOps/Rex</remote-id>
<remote-id type="cpan">Rex</remote-id>
<remote-id type="cpan-module">Rex</remote-id>
<remote-id type="cpan-module">Rex::Args</remote-id>
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2018-02-13 20:47 Patrick Lauer
0 siblings, 0 replies; 58+ messages in thread
From: Patrick Lauer @ 2018-02-13 20:47 UTC (permalink / raw
To: gentoo-commits
commit: 17211e38d70f47e505f73fce5bafd78ab2d09d64
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 13 20:47:00 2018 +0000
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Tue Feb 13 20:47:15 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17211e38
app-admin/rex: Bump
Package-Manager: Portage-2.3.24, Repoman-2.3.6
app-admin/rex/Manifest | 1 +
app-admin/rex/rex-1.6.0.ebuild | 145 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 146 insertions(+)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index 203c954d597..0f9e21d527b 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -2,3 +2,4 @@ DIST Rex-1.3.3.tar.gz 274725 BLAKE2B a87576a136baac488a040098f2089412e6b53bb9bc4
DIST Rex-1.4.0.tar.gz 289330 BLAKE2B 70d74753e5b04b05ea7a5507f5c8c19ae953b4cc28e55e4d52dd57bbe2b3084ec00195d9f65f1a4c0ba712238ba8efe0cc4b33f236a7c4f9bb429ad2f98af652 SHA512 d14489157860df1b32dd2b4af7ce8148a9693d66f59bc0ee228c7c4ff57f38f7b308212c18fc7c0aff7a585a76028a9de0a7a96f8eb58c2455d19bd6b2713eab
DIST Rex-1.4.1.tar.gz 317358 BLAKE2B 8c12d54e86684ec224a75693f82fd4728af32a986f166d530bccc2d06c5087fdb29f067d4419f3160244d37c12ace6cd29ba1322992bcc9f4a481c06e00efa51 SHA512 07e7d950326aaa60e05977f2acb2ac90f07efe0d56411ba202a4c60a890c37e984c6786383623ac67f8e36052cf8436e8430fd024dde282a7d2530425b420e8e
DIST Rex-1.5.0.tar.gz 327424 BLAKE2B ea735ebeef7a4d879ec61783c7ee803f198b4091882bbdbaee1b415330fcb20ba408f082e7ecaaa5c63664d905690bd6b5601d2d726ff20f5dc9d1f8c6d470a4 SHA512 43a1e147e5d2dccdc641479f2bf5449b0051651d152823738caf946bb3ceecb444011c3273f0c70ca5feab737702f6cd609f5b211eec8261e1facd80c82b6c73
+DIST Rex-1.6.0.tar.gz 331330 BLAKE2B cb3a2895c1b7fd775aa762e8af7fbfdf3d14aac0d4ed5cd32bc65f4eb2b7794e438015daf9602cea3a852ed17dd207c9647303a106d8fff2cc89b5ce7a5ff0a2 SHA512 8e4421e034ddf7337266ce2002e96cad12a632ff37742991685d2919e3b11a4f6f3348097fd36717ab83a38e2e46aa974d0e56c67568a857c30f7ea673a51cda
diff --git a/app-admin/rex/rex-1.6.0.ebuild b/app-admin/rex/rex-1.6.0.ebuild
new file mode 100644
index 00000000000..5a34558d4ef
--- /dev/null
+++ b/app-admin/rex/rex-1.6.0.ebuild
@@ -0,0 +1,145 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} == 9999 ]]; then
+ GITHUB_USER=RexOps
+ GITHUB_REPO=Rex
+ EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
+ EGIT_BRANCH="development-1.x"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
+ VCS_ECLASS="git-r3"
+else
+ # This is intentional to stop perl-module.eclass doing magic things when it
+ # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
+ # Also prevents perl-module.eclass provisioning SRC_URI
+ DIST_AUTHOR=JFRIED
+ DIST_NAME=Rex
+ KEYWORDS="~amd64 ~x86"
+fi
+
+inherit perl-module ${VCS_ECLASS}
+
+DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands"
+
+SLOT="0"
+IUSE="test"
+
+DZIL_DEPENDS="
+ dev-perl/Dist-Zilla
+ dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
+ dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
+ dev-perl/Dist-Zilla-Plugin-OSPrereqs
+ dev-perl/Dist-Zilla-Plugin-OurPkgVersion
+ dev-perl/Dist-Zilla-Plugin-Test-MinimumVersion
+ dev-perl/Dist-Zilla-Plugin-Test-Perl-Critic
+"
+
+RDEPEND="
+ dev-perl/Data-Validate-IP
+ dev-perl/DBI
+ dev-perl/Devel-Caller
+ dev-perl/Digest-HMAC
+ dev-perl/Digest-SHA1
+ dev-perl/Expect
+ dev-perl/Hash-Merge
+ dev-perl/IO-String
+ dev-perl/IO-Tty
+ dev-perl/IPC-Shareable
+ dev-perl/JSON-XS
+ dev-perl/List-MoreUtils
+ dev-perl/Net-OpenSSH
+ dev-perl/Net-SFTP-Foreign
+ dev-perl/Parallel-ForkManager
+ dev-perl/Sort-Naturally
+ dev-perl/String-Escape
+ dev-perl/TermReadKey
+ dev-perl/Test-Deep
+ dev-perl/Text-Glob
+ dev-perl/URI
+ dev-perl/XML-LibXML
+ dev-perl/XML-Simple
+ dev-perl/libwww-perl
+ dev-perl/YAML
+ virtual/perl-Carp
+ virtual/perl-Data-Dumper
+ virtual/perl-Digest-MD5
+ virtual/perl-Exporter
+ virtual/perl-File-Spec
+ virtual/perl-MIME-Base64
+ virtual/perl-Scalar-List-Utils
+ virtual/perl-Storable
+ virtual/perl-Time-HiRes
+"
+
+DEPEND="
+ ${RDEPEND}
+ test? (
+ dev-perl/JSON-MaybeXS
+ dev-perl/Test-UseAllModules
+ virtual/perl-File-Temp
+ )
+"
+
+[[ ${PV} == 9999 ]] && DEPEND+=" ${DZIL_DEPENDS}"
+
+src_unpack() {
+ if [[ $PV == 9999 ]]; then
+ "${VCS_ECLASS}"_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
+ # Uses git sources in WORKDIR/rex-git
+ # to generate a CPAN-style tree in ${S}
+ # before letting perl-module.eclass do the rest
+ dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
+ fi
+ cd "${S}" || die "Can't enter build dir"
+ perl-module_src_prepare
+}
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2020-04-17 14:12 Kent Fredric
0 siblings, 0 replies; 58+ messages in thread
From: Kent Fredric @ 2020-04-17 14:12 UTC (permalink / raw
To: gentoo-commits
commit: 4faad7c2dc825fc46c3bc602affced78190e6db8
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 17 14:07:42 2020 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Fri Apr 17 14:12:05 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4faad7c2
app-admin/rex: Update -9999 ebuild to current status.
- Migrate to EAPI7
- Switch to branch 'master'
- Update DESCRIPTION
- Add new dependencies
- Add patching to dzil live code that eliminates Plugin::Test::
dependencies that are not likely to be useful for consumers building
code on Gentoo for their own purposes, especially as these massively
complicate the amount of work to satisfy dependencies.
- Add glue to populate portage ${HOME} to satisfy NextVersions' need to
have [%User] configured without erroring.
Some of these changes are borrowed from FErki's PR to bump to 1.9x,
but the changes are done in-band for clarity, and the dependency logic
is re-evaluated whosale from the start, to eliminate dependencies that
aren't needed.
Bug: https://bugs.gentoo.org/705190
Bug: https://github.com/gentoo/gentoo/pull/14313
Package-Manager: Portage-2.3.97, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
app-admin/rex/rex-9999.ebuild | 88 +++++++++++++++++++++++++++++++------------
1 file changed, 64 insertions(+), 24 deletions(-)
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-9999.ebuild
index 4eedb99641f..26385e39127 100644
--- a/app-admin/rex/rex-9999.ebuild
+++ b/app-admin/rex/rex-9999.ebuild
@@ -1,27 +1,26 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
if [[ ${PV} == 9999 ]]; then
GITHUB_USER=RexOps
GITHUB_REPO=Rex
EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
- EGIT_BRANCH="development-1.x"
+ EGIT_BRANCH="master"
EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
VCS_ECLASS="git-r3"
else
# This is intentional to stop perl-module.eclass doing magic things when it
# shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
# Also prevents perl-module.eclass provisioning SRC_URI
- DIST_AUTHOR=JFRIED
+ DIST_AUTHOR=FERKI
DIST_NAME=Rex
KEYWORDS="~amd64 ~x86"
fi
-
inherit perl-module ${VCS_ECLASS}
-DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands"
+DESCRIPTION="(R)?ex, the friendly automation framework"
SLOT="0"
IUSE="test"
@@ -29,60 +28,69 @@ RESTRICT="!test? ( test )"
DZIL_DEPENDS="
dev-perl/Dist-Zilla
+ dev-perl/Dist-Zilla-Plugin-CheckExtraTests
+ dev-perl/Dist-Zilla-Plugin-ContributorsFile
+ dev-perl/Dist-Zilla-Plugin-Git-Contributors
dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
+ dev-perl/Dist-Zilla-Plugin-Meta-Contributors
dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
+ dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
dev-perl/Dist-Zilla-Plugin-OSPrereqs
dev-perl/Dist-Zilla-Plugin-OurPkgVersion
- dev-perl/Dist-Zilla-Plugin-Test-MinimumVersion
- dev-perl/Dist-Zilla-Plugin-Test-Perl-Critic
+ dev-perl/Dist-Zilla-Plugin-Run
+ dev-perl/Software-License
"
-
RDEPEND="
+ virtual/perl-Carp
+ virtual/perl-Data-Dumper
dev-perl/Data-Validate-IP
dev-perl/DBI
dev-perl/Devel-Caller
dev-perl/Digest-HMAC
- dev-perl/Digest-SHA1
+ virtual/perl-Digest-MD5
dev-perl/Expect
+ virtual/perl-Exporter
+ virtual/perl-File-Spec
+ dev-perl/HTTP-Message
dev-perl/Hash-Merge
+ virtual/perl-IO
dev-perl/IO-String
dev-perl/IO-Tty
dev-perl/IPC-Shareable
- dev-perl/JSON-XS
+ dev-perl/JSON-MaybeXS
dev-perl/List-MoreUtils
+ virtual/perl-MIME-Base64
dev-perl/Net-OpenSSH
dev-perl/Net-SFTP-Foreign
+ virtual/perl-Scalar-List-Utils
dev-perl/Parallel-ForkManager
dev-perl/Sort-Naturally
dev-perl/String-Escape
+ virtual/perl-Storable
dev-perl/TermReadKey
- dev-perl/Test-Deep
+ virtual/perl-Test-Simple
dev-perl/Text-Glob
+ virtual/perl-Text-Tabs+Wrap
+ virtual/perl-Time-HiRes
dev-perl/URI
dev-perl/XML-LibXML
dev-perl/XML-Simple
dev-perl/libwww-perl
dev-perl/YAML
- virtual/perl-Carp
- virtual/perl-Data-Dumper
- virtual/perl-Digest-MD5
- virtual/perl-Exporter
- virtual/perl-File-Spec
- virtual/perl-MIME-Base64
- virtual/perl-Scalar-List-Utils
- virtual/perl-Storable
- virtual/perl-Time-HiRes
+ virtual/perl-version
"
-DEPEND="
+BDEPEND="
${RDEPEND}
+ >=virtual/perl-ExtUtils-MakeMaker-7.110.100
test? (
- dev-perl/Test-UseAllModules
virtual/perl-File-Temp
+ dev-perl/Test-Deep
+ >=dev-perl/Test-UseAllModules-0.150.0
)
"
-[[ ${PV} == 9999 ]] && DEPEND+=" ${DZIL_DEPENDS}"
+[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
src_unpack() {
if [[ $PV == 9999 ]]; then
@@ -93,6 +101,35 @@ src_unpack() {
fi
}
+dzil_src_prep() {
+ einfo "Patching dist.ini"
+
+ # This block of sed invocations removes all plugins that aren't
+ # useful for users to have on Gentoo, because all of them are
+ # conditional and subjective style checks, which don't indicate
+ # a real issue for users, and paying the price of their dependencies is undesired.
+
+ # The {N;d} trick adds the [n]ext line after the match to the pattern-space
+ # so that the final [d]elete deletes the next line too. Can be expanded for each
+ # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
+ sed -e '/^\[Test::Kwalitee\]/d' \
+ -e '/^\[Test::Perl::Critic\]/d' \
+ -e '/^\[PodSyntaxTests\]/d' \
+ -e '/^Test::Kwalitee =/d' \
+ -e '/^Test::PerlTidy =/d' \
+ -e '/^Test::Pod =/d' \
+ -e '/^\[Test::CPAN::Changes\]/{N;d}' \
+ -e '/^\[Test::MinimumVersion\]/{N;d}' \
+ -i dist.ini || die "Can't patch dist.ini"
+}
+dzil_env_setup() {
+ # NextVersion noise :(
+ mkdir -p ~/.dzil/
+ local user="$(whoami)"
+ local host="$(hostname)"
+ printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
+
+}
dzil_to_distdir() {
local dzil_root dest has_missing modname dzil_version
dzil_root="$1"
@@ -100,6 +137,9 @@ dzil_to_distdir() {
cd "${dzil_root}" || die "Can't enter git workdir '${dzil_root}'";
+ dzil_src_prep
+ dzil_env_setup
+
dzil_version="$(dzil version)" || die "Error invoking 'dzil version'"
einfo "Generating CPAN dist with ${dzil_version}"
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2020-04-22 20:17 Kent Fredric
0 siblings, 0 replies; 58+ messages in thread
From: Kent Fredric @ 2020-04-22 20:17 UTC (permalink / raw
To: gentoo-commits
commit: 39868a637839ba1b3eb52e645a855cb5babfeb52
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Sat Apr 11 16:34:24 2020 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Wed Apr 22 20:17:20 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39868a63
app-admin/rex: bump version to 1.9.0
Closes: https://bugs.gentoo.org/705190
Closes: https://github.com/gentoo/gentoo/pull/14313
Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
app-admin/rex/Manifest | 1 +
app-admin/rex/metadata.xml | 7 ++
app-admin/rex/rex-1.9.0.ebuild | 185 +++++++++++++++++++++++++++++++++++++++++
3 files changed, 193 insertions(+)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index 0f9e21d527b..c4495a8f5b3 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -3,3 +3,4 @@ DIST Rex-1.4.0.tar.gz 289330 BLAKE2B 70d74753e5b04b05ea7a5507f5c8c19ae953b4cc28e
DIST Rex-1.4.1.tar.gz 317358 BLAKE2B 8c12d54e86684ec224a75693f82fd4728af32a986f166d530bccc2d06c5087fdb29f067d4419f3160244d37c12ace6cd29ba1322992bcc9f4a481c06e00efa51 SHA512 07e7d950326aaa60e05977f2acb2ac90f07efe0d56411ba202a4c60a890c37e984c6786383623ac67f8e36052cf8436e8430fd024dde282a7d2530425b420e8e
DIST Rex-1.5.0.tar.gz 327424 BLAKE2B ea735ebeef7a4d879ec61783c7ee803f198b4091882bbdbaee1b415330fcb20ba408f082e7ecaaa5c63664d905690bd6b5601d2d726ff20f5dc9d1f8c6d470a4 SHA512 43a1e147e5d2dccdc641479f2bf5449b0051651d152823738caf946bb3ceecb444011c3273f0c70ca5feab737702f6cd609f5b211eec8261e1facd80c82b6c73
DIST Rex-1.6.0.tar.gz 331330 BLAKE2B cb3a2895c1b7fd775aa762e8af7fbfdf3d14aac0d4ed5cd32bc65f4eb2b7794e438015daf9602cea3a852ed17dd207c9647303a106d8fff2cc89b5ce7a5ff0a2 SHA512 8e4421e034ddf7337266ce2002e96cad12a632ff37742991685d2919e3b11a4f6f3348097fd36717ab83a38e2e46aa974d0e56c67568a857c30f7ea673a51cda
+DIST Rex-1.9.0.tar.gz 331106 BLAKE2B 74bdf06be9454bc41c444a7d2bf576740e8ecfd2dd575d96172becaac5ee6031506b5ef111c6755a3bc3dcb1eb45722a14c050578cf816815954686a0e79a5ab SHA512 9f9f629d681cc9af3fabccbbb31a881ab7a0414b51e6f1fc45600772b5f7207f8bf27a757955576b15eb7e8e7339e9f4746c497e4111904ad57614ebf1e3cb55
diff --git a/app-admin/rex/metadata.xml b/app-admin/rex/metadata.xml
index 8ff646c52b5..a1b89deccc2 100644
--- a/app-admin/rex/metadata.xml
+++ b/app-admin/rex/metadata.xml
@@ -29,6 +29,7 @@
<remote-id type="cpan-module">Rex::Box</remote-id>
<remote-id type="cpan-module">Rex::Box::Amazon</remote-id>
<remote-id type="cpan-module">Rex::Box::Base</remote-id>
+ <remote-id type="cpan-module">Rex::Box::Docker</remote-id>
<remote-id type="cpan-module">Rex::Box::KVM</remote-id>
<remote-id type="cpan-module">Rex::Box::VBox</remote-id>
<remote-id type="cpan-module">Rex::CLI</remote-id>
@@ -224,6 +225,7 @@
<remote-id type="cpan-module">Rex::Pkg::SunOS::OpenCSW</remote-id>
<remote-id type="cpan-module">Rex::Pkg::SunOS::pkg</remote-id>
<remote-id type="cpan-module">Rex::Pkg::Ubuntu</remote-id>
+ <remote-id type="cpan-module">Rex::Pkg::VoidLinux</remote-id>
<remote-id type="cpan-module">Rex::PkgConf</remote-id>
<remote-id type="cpan-module">Rex::PkgConf::Base</remote-id>
<remote-id type="cpan-module">Rex::PkgConf::Debian</remote-id>
@@ -263,6 +265,7 @@
<remote-id type="cpan-module">Rex::Service::SunOS</remote-id>
<remote-id type="cpan-module">Rex::Service::SunOS::svcadm</remote-id>
<remote-id type="cpan-module">Rex::Service::Ubuntu</remote-id>
+ <remote-id type="cpan-module">Rex::Service::VoidLinux</remote-id>
<remote-id type="cpan-module">Rex::Shared::Var</remote-id>
<remote-id type="cpan-module">Rex::Shared::Var::Array</remote-id>
<remote-id type="cpan-module">Rex::Shared::Var::Common</remote-id>
@@ -306,11 +309,15 @@
<remote-id type="cpan-module">Rex::Virtualization::Docker::daemon</remote-id>
<remote-id type="cpan-module">Rex::Virtualization::Docker::delete</remote-id>
<remote-id type="cpan-module">Rex::Virtualization::Docker::destroy</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::Docker::guestinfo</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::Docker::images</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::Docker::import</remote-id>
<remote-id type="cpan-module">Rex::Virtualization::Docker::info</remote-id>
<remote-id type="cpan-module">Rex::Virtualization::Docker::list</remote-id>
<remote-id type="cpan-module">Rex::Virtualization::Docker::reboot</remote-id>
<remote-id type="cpan-module">Rex::Virtualization::Docker::shutdown</remote-id>
<remote-id type="cpan-module">Rex::Virtualization::Docker::start</remote-id>
+ <remote-id type="cpan-module">Rex::Virtualization::Docker::status</remote-id>
<remote-id type="cpan-module">Rex::Virtualization::LibVirt</remote-id>
<remote-id type="cpan-module">Rex::Virtualization::LibVirt::blklist</remote-id>
<remote-id type="cpan-module">Rex::Virtualization::LibVirt::clone</remote-id>
diff --git a/app-admin/rex/rex-1.9.0.ebuild b/app-admin/rex/rex-1.9.0.ebuild
new file mode 100644
index 00000000000..26385e39127
--- /dev/null
+++ b/app-admin/rex/rex-1.9.0.ebuild
@@ -0,0 +1,185 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} == 9999 ]]; then
+ GITHUB_USER=RexOps
+ GITHUB_REPO=Rex
+ EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
+ EGIT_BRANCH="master"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
+ VCS_ECLASS="git-r3"
+else
+ # This is intentional to stop perl-module.eclass doing magic things when it
+ # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
+ # Also prevents perl-module.eclass provisioning SRC_URI
+ DIST_AUTHOR=FERKI
+ DIST_NAME=Rex
+ KEYWORDS="~amd64 ~x86"
+fi
+inherit perl-module ${VCS_ECLASS}
+
+DESCRIPTION="(R)?ex, the friendly automation framework"
+
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DZIL_DEPENDS="
+ dev-perl/Dist-Zilla
+ dev-perl/Dist-Zilla-Plugin-CheckExtraTests
+ dev-perl/Dist-Zilla-Plugin-ContributorsFile
+ dev-perl/Dist-Zilla-Plugin-Git-Contributors
+ dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
+ dev-perl/Dist-Zilla-Plugin-Meta-Contributors
+ dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
+ dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
+ dev-perl/Dist-Zilla-Plugin-OSPrereqs
+ dev-perl/Dist-Zilla-Plugin-OurPkgVersion
+ dev-perl/Dist-Zilla-Plugin-Run
+ dev-perl/Software-License
+"
+RDEPEND="
+ virtual/perl-Carp
+ virtual/perl-Data-Dumper
+ dev-perl/Data-Validate-IP
+ dev-perl/DBI
+ dev-perl/Devel-Caller
+ dev-perl/Digest-HMAC
+ virtual/perl-Digest-MD5
+ dev-perl/Expect
+ virtual/perl-Exporter
+ virtual/perl-File-Spec
+ dev-perl/HTTP-Message
+ dev-perl/Hash-Merge
+ virtual/perl-IO
+ dev-perl/IO-String
+ dev-perl/IO-Tty
+ dev-perl/IPC-Shareable
+ dev-perl/JSON-MaybeXS
+ dev-perl/List-MoreUtils
+ virtual/perl-MIME-Base64
+ dev-perl/Net-OpenSSH
+ dev-perl/Net-SFTP-Foreign
+ virtual/perl-Scalar-List-Utils
+ dev-perl/Parallel-ForkManager
+ dev-perl/Sort-Naturally
+ dev-perl/String-Escape
+ virtual/perl-Storable
+ dev-perl/TermReadKey
+ virtual/perl-Test-Simple
+ dev-perl/Text-Glob
+ virtual/perl-Text-Tabs+Wrap
+ virtual/perl-Time-HiRes
+ dev-perl/URI
+ dev-perl/XML-LibXML
+ dev-perl/XML-Simple
+ dev-perl/libwww-perl
+ dev-perl/YAML
+ virtual/perl-version
+"
+
+BDEPEND="
+ ${RDEPEND}
+ >=virtual/perl-ExtUtils-MakeMaker-7.110.100
+ test? (
+ virtual/perl-File-Temp
+ dev-perl/Test-Deep
+ >=dev-perl/Test-UseAllModules-0.150.0
+ )
+"
+
+[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
+
+src_unpack() {
+ if [[ $PV == 9999 ]]; then
+ "${VCS_ECLASS}"_src_unpack
+ mkdir -p "${S}" || die "Can't make ${S}"
+ else
+ default
+ fi
+}
+
+dzil_src_prep() {
+ einfo "Patching dist.ini"
+
+ # This block of sed invocations removes all plugins that aren't
+ # useful for users to have on Gentoo, because all of them are
+ # conditional and subjective style checks, which don't indicate
+ # a real issue for users, and paying the price of their dependencies is undesired.
+
+ # The {N;d} trick adds the [n]ext line after the match to the pattern-space
+ # so that the final [d]elete deletes the next line too. Can be expanded for each
+ # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
+ sed -e '/^\[Test::Kwalitee\]/d' \
+ -e '/^\[Test::Perl::Critic\]/d' \
+ -e '/^\[PodSyntaxTests\]/d' \
+ -e '/^Test::Kwalitee =/d' \
+ -e '/^Test::PerlTidy =/d' \
+ -e '/^Test::Pod =/d' \
+ -e '/^\[Test::CPAN::Changes\]/{N;d}' \
+ -e '/^\[Test::MinimumVersion\]/{N;d}' \
+ -i dist.ini || die "Can't patch dist.ini"
+}
+dzil_env_setup() {
+ # NextVersion noise :(
+ mkdir -p ~/.dzil/
+ local user="$(whoami)"
+ local host="$(hostname)"
+ printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
+
+}
+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_src_prep
+ dzil_env_setup
+
+ 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
+ # Uses git sources in WORKDIR/rex-git
+ # to generate a CPAN-style tree in ${S}
+ # before letting perl-module.eclass do the rest
+ dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
+ fi
+ cd "${S}" || die "Can't enter build dir"
+ perl-module_src_prepare
+}
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2020-05-12 8:16 Kent Fredric
0 siblings, 0 replies; 58+ messages in thread
From: Kent Fredric @ 2020-05-12 8:16 UTC (permalink / raw
To: gentoo-commits
commit: d2698b4f647b01d4e253cf0a09f0ce22596547a4
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Sun May 10 16:51:25 2020 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Tue May 12 08:10:03 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2698b4f
app-admin/rex: fix comment
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
app-admin/rex/rex-9999.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-9999.ebuild
index 26385e39127..5cc3866dba7 100644
--- a/app-admin/rex/rex-9999.ebuild
+++ b/app-admin/rex/rex-9999.ebuild
@@ -123,7 +123,7 @@ dzil_src_prep() {
-i dist.ini || die "Can't patch dist.ini"
}
dzil_env_setup() {
- # NextVersion noise :(
+ # NextRelease noise :(
mkdir -p ~/.dzil/
local user="$(whoami)"
local host="$(hostname)"
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2020-05-12 8:16 Kent Fredric
0 siblings, 0 replies; 58+ messages in thread
From: Kent Fredric @ 2020-05-12 8:16 UTC (permalink / raw
To: gentoo-commits
commit: ca9a26269f554464e68409ad3ae76291cbe74c93
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Sun May 10 17:04:58 2020 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Tue May 12 08:10:15 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca9a2626
app-admin/rex: drop old
Closes: https://github.com/gentoo/gentoo/pull/15739
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
app-admin/rex/Manifest | 5 --
app-admin/rex/rex-1.3.3.ebuild | 62 ----------------
app-admin/rex/rex-1.4.0-r1.ebuild | 60 ----------------
app-admin/rex/rex-1.4.1.ebuild | 60 ----------------
app-admin/rex/rex-1.5.0.ebuild | 145 -------------------------------------
app-admin/rex/rex-1.6.0.ebuild | 146 --------------------------------------
6 files changed, 478 deletions(-)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index dbe116c997e..82655be0c34 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -1,7 +1,2 @@
DIST Rex-1.10.0.tar.gz 332057 BLAKE2B fb8e22c25c6f5bbc696aa894cc2f77138e830bb7a41fcc42e677ae251b63fffc841d206a9c50dfda60e022fafccf4ca0181ba8ccb50151c74830994929cb70fa SHA512 eaebf722d741d028d1f89beefee756e0b2fa6e3ddb8c2d6196c4183aedb6b1dd0a7f5fd4bc4211e4da26f61138ee974aa689d84d909c8d63cc414f803227dcf2
-DIST Rex-1.3.3.tar.gz 274725 BLAKE2B a87576a136baac488a040098f2089412e6b53bb9bc4da94b5d8233adce37d20f75d39960da5bd94dda99bac6c69b51d8834e9481aaef0afdd9d728b2c15b24eb SHA512 b2331e400027568f59496ff52f0a19bd009f66fea2a5b80ed9055859f59f0057afa50f61934cccd5af434c6f60dfa99700bc3904127b822a5ae684cb8bb6c70c
-DIST Rex-1.4.0.tar.gz 289330 BLAKE2B 70d74753e5b04b05ea7a5507f5c8c19ae953b4cc28e55e4d52dd57bbe2b3084ec00195d9f65f1a4c0ba712238ba8efe0cc4b33f236a7c4f9bb429ad2f98af652 SHA512 d14489157860df1b32dd2b4af7ce8148a9693d66f59bc0ee228c7c4ff57f38f7b308212c18fc7c0aff7a585a76028a9de0a7a96f8eb58c2455d19bd6b2713eab
-DIST Rex-1.4.1.tar.gz 317358 BLAKE2B 8c12d54e86684ec224a75693f82fd4728af32a986f166d530bccc2d06c5087fdb29f067d4419f3160244d37c12ace6cd29ba1322992bcc9f4a481c06e00efa51 SHA512 07e7d950326aaa60e05977f2acb2ac90f07efe0d56411ba202a4c60a890c37e984c6786383623ac67f8e36052cf8436e8430fd024dde282a7d2530425b420e8e
-DIST Rex-1.5.0.tar.gz 327424 BLAKE2B ea735ebeef7a4d879ec61783c7ee803f198b4091882bbdbaee1b415330fcb20ba408f082e7ecaaa5c63664d905690bd6b5601d2d726ff20f5dc9d1f8c6d470a4 SHA512 43a1e147e5d2dccdc641479f2bf5449b0051651d152823738caf946bb3ceecb444011c3273f0c70ca5feab737702f6cd609f5b211eec8261e1facd80c82b6c73
-DIST Rex-1.6.0.tar.gz 331330 BLAKE2B cb3a2895c1b7fd775aa762e8af7fbfdf3d14aac0d4ed5cd32bc65f4eb2b7794e438015daf9602cea3a852ed17dd207c9647303a106d8fff2cc89b5ce7a5ff0a2 SHA512 8e4421e034ddf7337266ce2002e96cad12a632ff37742991685d2919e3b11a4f6f3348097fd36717ab83a38e2e46aa974d0e56c67568a857c30f7ea673a51cda
DIST Rex-1.9.0.tar.gz 331106 BLAKE2B 74bdf06be9454bc41c444a7d2bf576740e8ecfd2dd575d96172becaac5ee6031506b5ef111c6755a3bc3dcb1eb45722a14c050578cf816815954686a0e79a5ab SHA512 9f9f629d681cc9af3fabccbbb31a881ab7a0414b51e6f1fc45600772b5f7207f8bf27a757955576b15eb7e8e7339e9f4746c497e4111904ad57614ebf1e3cb55
diff --git a/app-admin/rex/rex-1.3.3.ebuild b/app-admin/rex/rex-1.3.3.ebuild
deleted file mode 100644
index af414184c6c..00000000000
--- a/app-admin/rex/rex-1.3.3.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-MODULE_AUTHOR=FERKI
-MODULE_A=Rex-${PV}.tar.gz
-
-inherit perl-module
-
-DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-perl/DBI
- dev-perl/Digest-HMAC
- dev-perl/Digest-SHA1
- dev-perl/Expect
- dev-perl/Hash-Merge
- dev-perl/IO-String
- dev-perl/IO-Tty
- dev-perl/IPC-Shareable
- dev-perl/JSON-XS
- dev-perl/List-MoreUtils
- dev-perl/Net-OpenSSH
- dev-perl/Net-SFTP-Foreign
- dev-perl/Parallel-ForkManager
- dev-perl/Sort-Naturally
- dev-perl/String-Escape
- dev-perl/TermReadKey
- dev-perl/Text-Glob
- dev-perl/URI
- dev-perl/XML-LibXML
- dev-perl/XML-Simple
- dev-perl/libwww-perl
- dev-perl/YAML
- virtual/perl-Carp
- virtual/perl-Data-Dumper
- virtual/perl-Digest-MD5
- virtual/perl-Exporter
- virtual/perl-File-Spec
- virtual/perl-MIME-Base64
- virtual/perl-Scalar-List-Utils
- virtual/perl-Storable
- virtual/perl-Time-HiRes
-"
-
-DEPEND="
- ${RDEPEND}
- test? (
- dev-perl/Test-UseAllModules
- virtual/perl-File-Temp
- )
-"
-
-SRC_TEST="do"
-
-S="${WORKDIR}/Rex-${PV}"
diff --git a/app-admin/rex/rex-1.4.0-r1.ebuild b/app-admin/rex/rex-1.4.0-r1.ebuild
deleted file mode 100644
index 567130b86b3..00000000000
--- a/app-admin/rex/rex-1.4.0-r1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DIST_AUTHOR=FERKI
-DIST_NAME=Rex
-
-inherit perl-module
-
-DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-perl/DBI
- dev-perl/Devel-Caller
- dev-perl/Digest-HMAC
- dev-perl/Digest-SHA1
- dev-perl/Expect
- dev-perl/Hash-Merge
- dev-perl/IO-String
- dev-perl/IO-Tty
- dev-perl/IPC-Shareable
- dev-perl/JSON-XS
- dev-perl/List-MoreUtils
- dev-perl/Net-OpenSSH
- dev-perl/Net-SFTP-Foreign
- dev-perl/Parallel-ForkManager
- dev-perl/Sort-Naturally
- dev-perl/String-Escape
- dev-perl/TermReadKey
- dev-perl/Test-Deep
- dev-perl/Text-Glob
- dev-perl/URI
- dev-perl/XML-LibXML
- dev-perl/XML-Simple
- dev-perl/libwww-perl
- dev-perl/YAML
- virtual/perl-Carp
- virtual/perl-Data-Dumper
- virtual/perl-Digest-MD5
- virtual/perl-Exporter
- virtual/perl-File-Spec
- virtual/perl-MIME-Base64
- virtual/perl-Scalar-List-Utils
- virtual/perl-Storable
- virtual/perl-Time-HiRes
-"
-
-DEPEND="
- ${RDEPEND}
- test? (
- dev-perl/Test-UseAllModules
- virtual/perl-File-Temp
- )
-"
diff --git a/app-admin/rex/rex-1.4.1.ebuild b/app-admin/rex/rex-1.4.1.ebuild
deleted file mode 100644
index 099a61a9bc6..00000000000
--- a/app-admin/rex/rex-1.4.1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DIST_AUTHOR=JFRIED
-DIST_NAME=Rex
-
-inherit perl-module
-
-DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-perl/DBI
- dev-perl/Devel-Caller
- dev-perl/Digest-HMAC
- dev-perl/Digest-SHA1
- dev-perl/Expect
- dev-perl/Hash-Merge
- dev-perl/IO-String
- dev-perl/IO-Tty
- dev-perl/IPC-Shareable
- dev-perl/JSON-XS
- dev-perl/List-MoreUtils
- dev-perl/Net-OpenSSH
- dev-perl/Net-SFTP-Foreign
- dev-perl/Parallel-ForkManager
- dev-perl/Sort-Naturally
- dev-perl/String-Escape
- dev-perl/TermReadKey
- dev-perl/Test-Deep
- dev-perl/Text-Glob
- dev-perl/URI
- dev-perl/XML-LibXML
- dev-perl/XML-Simple
- dev-perl/libwww-perl
- dev-perl/YAML
- virtual/perl-Carp
- virtual/perl-Data-Dumper
- virtual/perl-Digest-MD5
- virtual/perl-Exporter
- virtual/perl-File-Spec
- virtual/perl-MIME-Base64
- virtual/perl-Scalar-List-Utils
- virtual/perl-Storable
- virtual/perl-Time-HiRes
-"
-
-DEPEND="
- ${RDEPEND}
- test? (
- dev-perl/Test-UseAllModules
- virtual/perl-File-Temp
- )
-"
diff --git a/app-admin/rex/rex-1.5.0.ebuild b/app-admin/rex/rex-1.5.0.ebuild
deleted file mode 100644
index 4eedb99641f..00000000000
--- a/app-admin/rex/rex-1.5.0.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-if [[ ${PV} == 9999 ]]; then
- GITHUB_USER=RexOps
- GITHUB_REPO=Rex
- EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
- EGIT_BRANCH="development-1.x"
- EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
- VCS_ECLASS="git-r3"
-else
- # This is intentional to stop perl-module.eclass doing magic things when it
- # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
- # Also prevents perl-module.eclass provisioning SRC_URI
- DIST_AUTHOR=JFRIED
- DIST_NAME=Rex
- KEYWORDS="~amd64 ~x86"
-fi
-
-inherit perl-module ${VCS_ECLASS}
-
-DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands"
-
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DZIL_DEPENDS="
- dev-perl/Dist-Zilla
- dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
- dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
- dev-perl/Dist-Zilla-Plugin-OSPrereqs
- dev-perl/Dist-Zilla-Plugin-OurPkgVersion
- dev-perl/Dist-Zilla-Plugin-Test-MinimumVersion
- dev-perl/Dist-Zilla-Plugin-Test-Perl-Critic
-"
-
-RDEPEND="
- dev-perl/Data-Validate-IP
- dev-perl/DBI
- dev-perl/Devel-Caller
- dev-perl/Digest-HMAC
- dev-perl/Digest-SHA1
- dev-perl/Expect
- dev-perl/Hash-Merge
- dev-perl/IO-String
- dev-perl/IO-Tty
- dev-perl/IPC-Shareable
- dev-perl/JSON-XS
- dev-perl/List-MoreUtils
- dev-perl/Net-OpenSSH
- dev-perl/Net-SFTP-Foreign
- dev-perl/Parallel-ForkManager
- dev-perl/Sort-Naturally
- dev-perl/String-Escape
- dev-perl/TermReadKey
- dev-perl/Test-Deep
- dev-perl/Text-Glob
- dev-perl/URI
- dev-perl/XML-LibXML
- dev-perl/XML-Simple
- dev-perl/libwww-perl
- dev-perl/YAML
- virtual/perl-Carp
- virtual/perl-Data-Dumper
- virtual/perl-Digest-MD5
- virtual/perl-Exporter
- virtual/perl-File-Spec
- virtual/perl-MIME-Base64
- virtual/perl-Scalar-List-Utils
- virtual/perl-Storable
- virtual/perl-Time-HiRes
-"
-
-DEPEND="
- ${RDEPEND}
- test? (
- dev-perl/Test-UseAllModules
- virtual/perl-File-Temp
- )
-"
-
-[[ ${PV} == 9999 ]] && DEPEND+=" ${DZIL_DEPENDS}"
-
-src_unpack() {
- if [[ $PV == 9999 ]]; then
- "${VCS_ECLASS}"_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
- # Uses git sources in WORKDIR/rex-git
- # to generate a CPAN-style tree in ${S}
- # before letting perl-module.eclass do the rest
- dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
- fi
- cd "${S}" || die "Can't enter build dir"
- perl-module_src_prepare
-}
diff --git a/app-admin/rex/rex-1.6.0.ebuild b/app-admin/rex/rex-1.6.0.ebuild
deleted file mode 100644
index 796195929d6..00000000000
--- a/app-admin/rex/rex-1.6.0.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-if [[ ${PV} == 9999 ]]; then
- GITHUB_USER=RexOps
- GITHUB_REPO=Rex
- EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
- EGIT_BRANCH="development-1.x"
- EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
- VCS_ECLASS="git-r3"
-else
- # This is intentional to stop perl-module.eclass doing magic things when it
- # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
- # Also prevents perl-module.eclass provisioning SRC_URI
- DIST_AUTHOR=JFRIED
- DIST_NAME=Rex
- KEYWORDS="~amd64 ~x86"
-fi
-
-inherit perl-module ${VCS_ECLASS}
-
-DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands"
-
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DZIL_DEPENDS="
- dev-perl/Dist-Zilla
- dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
- dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
- dev-perl/Dist-Zilla-Plugin-OSPrereqs
- dev-perl/Dist-Zilla-Plugin-OurPkgVersion
- dev-perl/Dist-Zilla-Plugin-Test-MinimumVersion
- dev-perl/Dist-Zilla-Plugin-Test-Perl-Critic
-"
-
-RDEPEND="
- dev-perl/Data-Validate-IP
- dev-perl/DBI
- dev-perl/Devel-Caller
- dev-perl/Digest-HMAC
- dev-perl/Digest-SHA1
- dev-perl/Expect
- dev-perl/Hash-Merge
- dev-perl/IO-String
- dev-perl/IO-Tty
- dev-perl/IPC-Shareable
- dev-perl/JSON-XS
- dev-perl/List-MoreUtils
- dev-perl/Net-OpenSSH
- dev-perl/Net-SFTP-Foreign
- dev-perl/Parallel-ForkManager
- dev-perl/Sort-Naturally
- dev-perl/String-Escape
- dev-perl/TermReadKey
- dev-perl/Test-Deep
- dev-perl/Text-Glob
- dev-perl/URI
- dev-perl/XML-LibXML
- dev-perl/XML-Simple
- dev-perl/libwww-perl
- dev-perl/YAML
- virtual/perl-Carp
- virtual/perl-Data-Dumper
- virtual/perl-Digest-MD5
- virtual/perl-Exporter
- virtual/perl-File-Spec
- virtual/perl-MIME-Base64
- virtual/perl-Scalar-List-Utils
- virtual/perl-Storable
- virtual/perl-Time-HiRes
-"
-
-DEPEND="
- ${RDEPEND}
- test? (
- dev-perl/JSON-MaybeXS
- dev-perl/Test-UseAllModules
- virtual/perl-File-Temp
- )
-"
-
-[[ ${PV} == 9999 ]] && DEPEND+=" ${DZIL_DEPENDS}"
-
-src_unpack() {
- if [[ $PV == 9999 ]]; then
- "${VCS_ECLASS}"_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
- # Uses git sources in WORKDIR/rex-git
- # to generate a CPAN-style tree in ${S}
- # before letting perl-module.eclass do the rest
- dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
- fi
- cd "${S}" || die "Can't enter build dir"
- perl-module_src_prepare
-}
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2020-05-12 8:16 Kent Fredric
0 siblings, 0 replies; 58+ messages in thread
From: Kent Fredric @ 2020-05-12 8:16 UTC (permalink / raw
To: gentoo-commits
commit: 7ed7ea477842e57a0fe83466557e50debd8650b4
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Sun May 10 16:56:18 2020 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Tue May 12 08:10:11 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ed7ea47
app-admin/rex: bump version to 1.10.0
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
app-admin/rex/Manifest | 1 +
app-admin/rex/rex-1.10.0.ebuild | 185 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 186 insertions(+)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index c4495a8f5b3..dbe116c997e 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -1,3 +1,4 @@
+DIST Rex-1.10.0.tar.gz 332057 BLAKE2B fb8e22c25c6f5bbc696aa894cc2f77138e830bb7a41fcc42e677ae251b63fffc841d206a9c50dfda60e022fafccf4ca0181ba8ccb50151c74830994929cb70fa SHA512 eaebf722d741d028d1f89beefee756e0b2fa6e3ddb8c2d6196c4183aedb6b1dd0a7f5fd4bc4211e4da26f61138ee974aa689d84d909c8d63cc414f803227dcf2
DIST Rex-1.3.3.tar.gz 274725 BLAKE2B a87576a136baac488a040098f2089412e6b53bb9bc4da94b5d8233adce37d20f75d39960da5bd94dda99bac6c69b51d8834e9481aaef0afdd9d728b2c15b24eb SHA512 b2331e400027568f59496ff52f0a19bd009f66fea2a5b80ed9055859f59f0057afa50f61934cccd5af434c6f60dfa99700bc3904127b822a5ae684cb8bb6c70c
DIST Rex-1.4.0.tar.gz 289330 BLAKE2B 70d74753e5b04b05ea7a5507f5c8c19ae953b4cc28e55e4d52dd57bbe2b3084ec00195d9f65f1a4c0ba712238ba8efe0cc4b33f236a7c4f9bb429ad2f98af652 SHA512 d14489157860df1b32dd2b4af7ce8148a9693d66f59bc0ee228c7c4ff57f38f7b308212c18fc7c0aff7a585a76028a9de0a7a96f8eb58c2455d19bd6b2713eab
DIST Rex-1.4.1.tar.gz 317358 BLAKE2B 8c12d54e86684ec224a75693f82fd4728af32a986f166d530bccc2d06c5087fdb29f067d4419f3160244d37c12ace6cd29ba1322992bcc9f4a481c06e00efa51 SHA512 07e7d950326aaa60e05977f2acb2ac90f07efe0d56411ba202a4c60a890c37e984c6786383623ac67f8e36052cf8436e8430fd024dde282a7d2530425b420e8e
diff --git a/app-admin/rex/rex-1.10.0.ebuild b/app-admin/rex/rex-1.10.0.ebuild
new file mode 100644
index 00000000000..5cc3866dba7
--- /dev/null
+++ b/app-admin/rex/rex-1.10.0.ebuild
@@ -0,0 +1,185 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} == 9999 ]]; then
+ GITHUB_USER=RexOps
+ GITHUB_REPO=Rex
+ EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
+ EGIT_BRANCH="master"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
+ VCS_ECLASS="git-r3"
+else
+ # This is intentional to stop perl-module.eclass doing magic things when it
+ # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
+ # Also prevents perl-module.eclass provisioning SRC_URI
+ DIST_AUTHOR=FERKI
+ DIST_NAME=Rex
+ KEYWORDS="~amd64 ~x86"
+fi
+inherit perl-module ${VCS_ECLASS}
+
+DESCRIPTION="(R)?ex, the friendly automation framework"
+
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DZIL_DEPENDS="
+ dev-perl/Dist-Zilla
+ dev-perl/Dist-Zilla-Plugin-CheckExtraTests
+ dev-perl/Dist-Zilla-Plugin-ContributorsFile
+ dev-perl/Dist-Zilla-Plugin-Git-Contributors
+ dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
+ dev-perl/Dist-Zilla-Plugin-Meta-Contributors
+ dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
+ dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
+ dev-perl/Dist-Zilla-Plugin-OSPrereqs
+ dev-perl/Dist-Zilla-Plugin-OurPkgVersion
+ dev-perl/Dist-Zilla-Plugin-Run
+ dev-perl/Software-License
+"
+RDEPEND="
+ virtual/perl-Carp
+ virtual/perl-Data-Dumper
+ dev-perl/Data-Validate-IP
+ dev-perl/DBI
+ dev-perl/Devel-Caller
+ dev-perl/Digest-HMAC
+ virtual/perl-Digest-MD5
+ dev-perl/Expect
+ virtual/perl-Exporter
+ virtual/perl-File-Spec
+ dev-perl/HTTP-Message
+ dev-perl/Hash-Merge
+ virtual/perl-IO
+ dev-perl/IO-String
+ dev-perl/IO-Tty
+ dev-perl/IPC-Shareable
+ dev-perl/JSON-MaybeXS
+ dev-perl/List-MoreUtils
+ virtual/perl-MIME-Base64
+ dev-perl/Net-OpenSSH
+ dev-perl/Net-SFTP-Foreign
+ virtual/perl-Scalar-List-Utils
+ dev-perl/Parallel-ForkManager
+ dev-perl/Sort-Naturally
+ dev-perl/String-Escape
+ virtual/perl-Storable
+ dev-perl/TermReadKey
+ virtual/perl-Test-Simple
+ dev-perl/Text-Glob
+ virtual/perl-Text-Tabs+Wrap
+ virtual/perl-Time-HiRes
+ dev-perl/URI
+ dev-perl/XML-LibXML
+ dev-perl/XML-Simple
+ dev-perl/libwww-perl
+ dev-perl/YAML
+ virtual/perl-version
+"
+
+BDEPEND="
+ ${RDEPEND}
+ >=virtual/perl-ExtUtils-MakeMaker-7.110.100
+ test? (
+ virtual/perl-File-Temp
+ dev-perl/Test-Deep
+ >=dev-perl/Test-UseAllModules-0.150.0
+ )
+"
+
+[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
+
+src_unpack() {
+ if [[ $PV == 9999 ]]; then
+ "${VCS_ECLASS}"_src_unpack
+ mkdir -p "${S}" || die "Can't make ${S}"
+ else
+ default
+ fi
+}
+
+dzil_src_prep() {
+ einfo "Patching dist.ini"
+
+ # This block of sed invocations removes all plugins that aren't
+ # useful for users to have on Gentoo, because all of them are
+ # conditional and subjective style checks, which don't indicate
+ # a real issue for users, and paying the price of their dependencies is undesired.
+
+ # The {N;d} trick adds the [n]ext line after the match to the pattern-space
+ # so that the final [d]elete deletes the next line too. Can be expanded for each
+ # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
+ sed -e '/^\[Test::Kwalitee\]/d' \
+ -e '/^\[Test::Perl::Critic\]/d' \
+ -e '/^\[PodSyntaxTests\]/d' \
+ -e '/^Test::Kwalitee =/d' \
+ -e '/^Test::PerlTidy =/d' \
+ -e '/^Test::Pod =/d' \
+ -e '/^\[Test::CPAN::Changes\]/{N;d}' \
+ -e '/^\[Test::MinimumVersion\]/{N;d}' \
+ -i dist.ini || die "Can't patch dist.ini"
+}
+dzil_env_setup() {
+ # NextRelease noise :(
+ mkdir -p ~/.dzil/
+ local user="$(whoami)"
+ local host="$(hostname)"
+ printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
+
+}
+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_src_prep
+ dzil_env_setup
+
+ 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
+ # Uses git sources in WORKDIR/rex-git
+ # to generate a CPAN-style tree in ${S}
+ # before letting perl-module.eclass do the rest
+ dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
+ fi
+ cd "${S}" || die "Can't enter build dir"
+ perl-module_src_prepare
+}
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2020-06-13 20:20 Kent Fredric
0 siblings, 0 replies; 58+ messages in thread
From: Kent Fredric @ 2020-06-13 20:20 UTC (permalink / raw
To: gentoo-commits
commit: 7c67b0328c2fd7f66bf9f0d63db2fa895a3d050b
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Fri Jun 5 18:00:57 2020 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Sat Jun 13 20:19:56 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c67b032
app-admin/rex: bump version to 1.11.0
Closes: https://github.com/gentoo/gentoo/pull/16078
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
app-admin/rex/Manifest | 1 +
app-admin/rex/rex-1.11.0.ebuild | 185 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 186 insertions(+)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index 82655be0c34..5e808afac73 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -1,2 +1,3 @@
DIST Rex-1.10.0.tar.gz 332057 BLAKE2B fb8e22c25c6f5bbc696aa894cc2f77138e830bb7a41fcc42e677ae251b63fffc841d206a9c50dfda60e022fafccf4ca0181ba8ccb50151c74830994929cb70fa SHA512 eaebf722d741d028d1f89beefee756e0b2fa6e3ddb8c2d6196c4183aedb6b1dd0a7f5fd4bc4211e4da26f61138ee974aa689d84d909c8d63cc414f803227dcf2
+DIST Rex-1.11.0.tar.gz 333640 BLAKE2B 72f4ae7c661f90e406810d265fb72fd3114808576fb284ac05add4eac9e8501e1319dc9baffceff22d4480f02a8b56f5a502e41cef5062fd21460a61cfa7731f SHA512 efe4aac2d5437d7e174fcf8b285911abcb416b68fa96a424b5b0a871490c9b7fa5d584a746befcd9f2f57f80d4135e0050db6bf8b6ce150b431b6f1e3b008b70
DIST Rex-1.9.0.tar.gz 331106 BLAKE2B 74bdf06be9454bc41c444a7d2bf576740e8ecfd2dd575d96172becaac5ee6031506b5ef111c6755a3bc3dcb1eb45722a14c050578cf816815954686a0e79a5ab SHA512 9f9f629d681cc9af3fabccbbb31a881ab7a0414b51e6f1fc45600772b5f7207f8bf27a757955576b15eb7e8e7339e9f4746c497e4111904ad57614ebf1e3cb55
diff --git a/app-admin/rex/rex-1.11.0.ebuild b/app-admin/rex/rex-1.11.0.ebuild
new file mode 100644
index 00000000000..5cc3866dba7
--- /dev/null
+++ b/app-admin/rex/rex-1.11.0.ebuild
@@ -0,0 +1,185 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} == 9999 ]]; then
+ GITHUB_USER=RexOps
+ GITHUB_REPO=Rex
+ EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
+ EGIT_BRANCH="master"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
+ VCS_ECLASS="git-r3"
+else
+ # This is intentional to stop perl-module.eclass doing magic things when it
+ # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
+ # Also prevents perl-module.eclass provisioning SRC_URI
+ DIST_AUTHOR=FERKI
+ DIST_NAME=Rex
+ KEYWORDS="~amd64 ~x86"
+fi
+inherit perl-module ${VCS_ECLASS}
+
+DESCRIPTION="(R)?ex, the friendly automation framework"
+
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DZIL_DEPENDS="
+ dev-perl/Dist-Zilla
+ dev-perl/Dist-Zilla-Plugin-CheckExtraTests
+ dev-perl/Dist-Zilla-Plugin-ContributorsFile
+ dev-perl/Dist-Zilla-Plugin-Git-Contributors
+ dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
+ dev-perl/Dist-Zilla-Plugin-Meta-Contributors
+ dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
+ dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
+ dev-perl/Dist-Zilla-Plugin-OSPrereqs
+ dev-perl/Dist-Zilla-Plugin-OurPkgVersion
+ dev-perl/Dist-Zilla-Plugin-Run
+ dev-perl/Software-License
+"
+RDEPEND="
+ virtual/perl-Carp
+ virtual/perl-Data-Dumper
+ dev-perl/Data-Validate-IP
+ dev-perl/DBI
+ dev-perl/Devel-Caller
+ dev-perl/Digest-HMAC
+ virtual/perl-Digest-MD5
+ dev-perl/Expect
+ virtual/perl-Exporter
+ virtual/perl-File-Spec
+ dev-perl/HTTP-Message
+ dev-perl/Hash-Merge
+ virtual/perl-IO
+ dev-perl/IO-String
+ dev-perl/IO-Tty
+ dev-perl/IPC-Shareable
+ dev-perl/JSON-MaybeXS
+ dev-perl/List-MoreUtils
+ virtual/perl-MIME-Base64
+ dev-perl/Net-OpenSSH
+ dev-perl/Net-SFTP-Foreign
+ virtual/perl-Scalar-List-Utils
+ dev-perl/Parallel-ForkManager
+ dev-perl/Sort-Naturally
+ dev-perl/String-Escape
+ virtual/perl-Storable
+ dev-perl/TermReadKey
+ virtual/perl-Test-Simple
+ dev-perl/Text-Glob
+ virtual/perl-Text-Tabs+Wrap
+ virtual/perl-Time-HiRes
+ dev-perl/URI
+ dev-perl/XML-LibXML
+ dev-perl/XML-Simple
+ dev-perl/libwww-perl
+ dev-perl/YAML
+ virtual/perl-version
+"
+
+BDEPEND="
+ ${RDEPEND}
+ >=virtual/perl-ExtUtils-MakeMaker-7.110.100
+ test? (
+ virtual/perl-File-Temp
+ dev-perl/Test-Deep
+ >=dev-perl/Test-UseAllModules-0.150.0
+ )
+"
+
+[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
+
+src_unpack() {
+ if [[ $PV == 9999 ]]; then
+ "${VCS_ECLASS}"_src_unpack
+ mkdir -p "${S}" || die "Can't make ${S}"
+ else
+ default
+ fi
+}
+
+dzil_src_prep() {
+ einfo "Patching dist.ini"
+
+ # This block of sed invocations removes all plugins that aren't
+ # useful for users to have on Gentoo, because all of them are
+ # conditional and subjective style checks, which don't indicate
+ # a real issue for users, and paying the price of their dependencies is undesired.
+
+ # The {N;d} trick adds the [n]ext line after the match to the pattern-space
+ # so that the final [d]elete deletes the next line too. Can be expanded for each
+ # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
+ sed -e '/^\[Test::Kwalitee\]/d' \
+ -e '/^\[Test::Perl::Critic\]/d' \
+ -e '/^\[PodSyntaxTests\]/d' \
+ -e '/^Test::Kwalitee =/d' \
+ -e '/^Test::PerlTidy =/d' \
+ -e '/^Test::Pod =/d' \
+ -e '/^\[Test::CPAN::Changes\]/{N;d}' \
+ -e '/^\[Test::MinimumVersion\]/{N;d}' \
+ -i dist.ini || die "Can't patch dist.ini"
+}
+dzil_env_setup() {
+ # NextRelease noise :(
+ mkdir -p ~/.dzil/
+ local user="$(whoami)"
+ local host="$(hostname)"
+ printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
+
+}
+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_src_prep
+ dzil_env_setup
+
+ 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
+ # Uses git sources in WORKDIR/rex-git
+ # to generate a CPAN-style tree in ${S}
+ # before letting perl-module.eclass do the rest
+ dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
+ fi
+ cd "${S}" || die "Can't enter build dir"
+ perl-module_src_prepare
+}
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2020-07-01 14:22 Kent Fredric
0 siblings, 0 replies; 58+ messages in thread
From: Kent Fredric @ 2020-07-01 14:22 UTC (permalink / raw
To: gentoo-commits
commit: aaa51ad7cf9eeac704ab529a492cdc4a477e9612
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Tue Jun 30 16:06:44 2020 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Wed Jul 1 14:22:10 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaa51ad7
app-admin/rex: install tab completion scripts
Closes: https://github.com/gentoo/gentoo/pull/16507
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
app-admin/rex/rex-9999.ebuild | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-9999.ebuild
index 5cc3866dba7..02f767b58c6 100644
--- a/app-admin/rex/rex-9999.ebuild
+++ b/app-admin/rex/rex-9999.ebuild
@@ -18,7 +18,7 @@ else
DIST_NAME=Rex
KEYWORDS="~amd64 ~x86"
fi
-inherit perl-module ${VCS_ECLASS}
+inherit bash-completion-r1 perl-module ${VCS_ECLASS}
DESCRIPTION="(R)?ex, the friendly automation framework"
@@ -183,3 +183,12 @@ src_prepare() {
cd "${S}" || die "Can't enter build dir"
perl-module_src_prepare
}
+
+src_install() {
+ newbashcomp "share/${PN}-tab-completion.bash" "${PN}"
+
+ insinto /usr/share/zsh/site-functions
+ newins "share/${PN}-tab-completion.zsh" "_${PN}"
+
+ perl-module_src_install
+}
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2020-07-29 12:16 Kent Fredric
0 siblings, 0 replies; 58+ messages in thread
From: Kent Fredric @ 2020-07-29 12:16 UTC (permalink / raw
To: gentoo-commits
commit: 697df22fbf96258bddeba1f6fa67a0d57ed11206
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 29 11:51:34 2020 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Wed Jul 29 12:15:28 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=697df22f
app-admin/rex: -9999 update dependencies
Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
app-admin/rex/rex-9999.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-9999.ebuild
index 02f767b58c6..d8e8649d2bd 100644
--- a/app-admin/rex/rex-9999.ebuild
+++ b/app-admin/rex/rex-9999.ebuild
@@ -83,10 +83,12 @@ RDEPEND="
BDEPEND="
${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-7.110.100
+ >=dev-perl/File-ShareDir-Install-0.60.0
test? (
virtual/perl-File-Temp
dev-perl/Test-Deep
>=dev-perl/Test-UseAllModules-0.150.0
+ virtual/perl-autodie
)
"
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2020-07-29 12:16 Kent Fredric
0 siblings, 0 replies; 58+ messages in thread
From: Kent Fredric @ 2020-07-29 12:16 UTC (permalink / raw
To: gentoo-commits
commit: a39ac0a9773e385ca56e28815e311ae2d685c6b1
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Tue Jul 28 14:55:16 2020 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Wed Jul 29 12:15:32 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a39ac0a9
app-admin/rex: bump version to 1.12.0
Closes: https://github.com/gentoo/gentoo/pull/16881
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
app-admin/rex/Manifest | 1 +
app-admin/rex/rex-1.12.0.ebuild | 196 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 197 insertions(+)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index 5e808afac73..3c9981c34c9 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -1,3 +1,4 @@
DIST Rex-1.10.0.tar.gz 332057 BLAKE2B fb8e22c25c6f5bbc696aa894cc2f77138e830bb7a41fcc42e677ae251b63fffc841d206a9c50dfda60e022fafccf4ca0181ba8ccb50151c74830994929cb70fa SHA512 eaebf722d741d028d1f89beefee756e0b2fa6e3ddb8c2d6196c4183aedb6b1dd0a7f5fd4bc4211e4da26f61138ee974aa689d84d909c8d63cc414f803227dcf2
DIST Rex-1.11.0.tar.gz 333640 BLAKE2B 72f4ae7c661f90e406810d265fb72fd3114808576fb284ac05add4eac9e8501e1319dc9baffceff22d4480f02a8b56f5a502e41cef5062fd21460a61cfa7731f SHA512 efe4aac2d5437d7e174fcf8b285911abcb416b68fa96a424b5b0a871490c9b7fa5d584a746befcd9f2f57f80d4135e0050db6bf8b6ce150b431b6f1e3b008b70
+DIST Rex-1.12.0.tar.gz 338275 BLAKE2B 74f759196cd138c260833866aaff7086fe6e2b199657af629c7b2a9c88035dfa4100f6d9af216088838df9c614f629fb1ff81b897aadb4c6f863c2dd2f6dc7ae SHA512 155b409d6015ea30f56660a58758c3e59383a739d87b34fee6fb881f0ca7035f23aa73339ee627c628d4ff215e3103ad4e3225e0af394f7142cde5e31aa7951f
DIST Rex-1.9.0.tar.gz 331106 BLAKE2B 74bdf06be9454bc41c444a7d2bf576740e8ecfd2dd575d96172becaac5ee6031506b5ef111c6755a3bc3dcb1eb45722a14c050578cf816815954686a0e79a5ab SHA512 9f9f629d681cc9af3fabccbbb31a881ab7a0414b51e6f1fc45600772b5f7207f8bf27a757955576b15eb7e8e7339e9f4746c497e4111904ad57614ebf1e3cb55
diff --git a/app-admin/rex/rex-1.12.0.ebuild b/app-admin/rex/rex-1.12.0.ebuild
new file mode 100644
index 00000000000..d8e8649d2bd
--- /dev/null
+++ b/app-admin/rex/rex-1.12.0.ebuild
@@ -0,0 +1,196 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} == 9999 ]]; then
+ GITHUB_USER=RexOps
+ GITHUB_REPO=Rex
+ EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
+ EGIT_BRANCH="master"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
+ VCS_ECLASS="git-r3"
+else
+ # This is intentional to stop perl-module.eclass doing magic things when it
+ # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
+ # Also prevents perl-module.eclass provisioning SRC_URI
+ DIST_AUTHOR=FERKI
+ DIST_NAME=Rex
+ KEYWORDS="~amd64 ~x86"
+fi
+inherit bash-completion-r1 perl-module ${VCS_ECLASS}
+
+DESCRIPTION="(R)?ex, the friendly automation framework"
+
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DZIL_DEPENDS="
+ dev-perl/Dist-Zilla
+ dev-perl/Dist-Zilla-Plugin-CheckExtraTests
+ dev-perl/Dist-Zilla-Plugin-ContributorsFile
+ dev-perl/Dist-Zilla-Plugin-Git-Contributors
+ dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
+ dev-perl/Dist-Zilla-Plugin-Meta-Contributors
+ dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
+ dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
+ dev-perl/Dist-Zilla-Plugin-OSPrereqs
+ dev-perl/Dist-Zilla-Plugin-OurPkgVersion
+ dev-perl/Dist-Zilla-Plugin-Run
+ dev-perl/Software-License
+"
+RDEPEND="
+ virtual/perl-Carp
+ virtual/perl-Data-Dumper
+ dev-perl/Data-Validate-IP
+ dev-perl/DBI
+ dev-perl/Devel-Caller
+ dev-perl/Digest-HMAC
+ virtual/perl-Digest-MD5
+ dev-perl/Expect
+ virtual/perl-Exporter
+ virtual/perl-File-Spec
+ dev-perl/HTTP-Message
+ dev-perl/Hash-Merge
+ virtual/perl-IO
+ dev-perl/IO-String
+ dev-perl/IO-Tty
+ dev-perl/IPC-Shareable
+ dev-perl/JSON-MaybeXS
+ dev-perl/List-MoreUtils
+ virtual/perl-MIME-Base64
+ dev-perl/Net-OpenSSH
+ dev-perl/Net-SFTP-Foreign
+ virtual/perl-Scalar-List-Utils
+ dev-perl/Parallel-ForkManager
+ dev-perl/Sort-Naturally
+ dev-perl/String-Escape
+ virtual/perl-Storable
+ dev-perl/TermReadKey
+ virtual/perl-Test-Simple
+ dev-perl/Text-Glob
+ virtual/perl-Text-Tabs+Wrap
+ virtual/perl-Time-HiRes
+ dev-perl/URI
+ dev-perl/XML-LibXML
+ dev-perl/XML-Simple
+ dev-perl/libwww-perl
+ dev-perl/YAML
+ virtual/perl-version
+"
+
+BDEPEND="
+ ${RDEPEND}
+ >=virtual/perl-ExtUtils-MakeMaker-7.110.100
+ >=dev-perl/File-ShareDir-Install-0.60.0
+ test? (
+ virtual/perl-File-Temp
+ dev-perl/Test-Deep
+ >=dev-perl/Test-UseAllModules-0.150.0
+ virtual/perl-autodie
+ )
+"
+
+[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
+
+src_unpack() {
+ if [[ $PV == 9999 ]]; then
+ "${VCS_ECLASS}"_src_unpack
+ mkdir -p "${S}" || die "Can't make ${S}"
+ else
+ default
+ fi
+}
+
+dzil_src_prep() {
+ einfo "Patching dist.ini"
+
+ # This block of sed invocations removes all plugins that aren't
+ # useful for users to have on Gentoo, because all of them are
+ # conditional and subjective style checks, which don't indicate
+ # a real issue for users, and paying the price of their dependencies is undesired.
+
+ # The {N;d} trick adds the [n]ext line after the match to the pattern-space
+ # so that the final [d]elete deletes the next line too. Can be expanded for each
+ # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
+ sed -e '/^\[Test::Kwalitee\]/d' \
+ -e '/^\[Test::Perl::Critic\]/d' \
+ -e '/^\[PodSyntaxTests\]/d' \
+ -e '/^Test::Kwalitee =/d' \
+ -e '/^Test::PerlTidy =/d' \
+ -e '/^Test::Pod =/d' \
+ -e '/^\[Test::CPAN::Changes\]/{N;d}' \
+ -e '/^\[Test::MinimumVersion\]/{N;d}' \
+ -i dist.ini || die "Can't patch dist.ini"
+}
+dzil_env_setup() {
+ # NextRelease noise :(
+ mkdir -p ~/.dzil/
+ local user="$(whoami)"
+ local host="$(hostname)"
+ printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
+
+}
+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_src_prep
+ dzil_env_setup
+
+ 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
+ # Uses git sources in WORKDIR/rex-git
+ # to generate a CPAN-style tree in ${S}
+ # before letting perl-module.eclass do the rest
+ dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
+ fi
+ cd "${S}" || die "Can't enter build dir"
+ perl-module_src_prepare
+}
+
+src_install() {
+ newbashcomp "share/${PN}-tab-completion.bash" "${PN}"
+
+ insinto /usr/share/zsh/site-functions
+ newins "share/${PN}-tab-completion.zsh" "_${PN}"
+
+ perl-module_src_install
+}
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2020-08-07 16:41 Kent Fredric
0 siblings, 0 replies; 58+ messages in thread
From: Kent Fredric @ 2020-08-07 16:41 UTC (permalink / raw
To: gentoo-commits
commit: d115fc5c1d81031004157fab79384ac74f20afe8
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Thu Aug 6 09:26:47 2020 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Fri Aug 7 16:41:11 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d115fc5c
app-admin/rex: bump version to 1.12.1
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
app-admin/rex/Manifest | 1 +
app-admin/rex/rex-1.12.1.ebuild | 196 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 197 insertions(+)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index 3c9981c34c9..06f684b53fe 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -1,4 +1,5 @@
DIST Rex-1.10.0.tar.gz 332057 BLAKE2B fb8e22c25c6f5bbc696aa894cc2f77138e830bb7a41fcc42e677ae251b63fffc841d206a9c50dfda60e022fafccf4ca0181ba8ccb50151c74830994929cb70fa SHA512 eaebf722d741d028d1f89beefee756e0b2fa6e3ddb8c2d6196c4183aedb6b1dd0a7f5fd4bc4211e4da26f61138ee974aa689d84d909c8d63cc414f803227dcf2
DIST Rex-1.11.0.tar.gz 333640 BLAKE2B 72f4ae7c661f90e406810d265fb72fd3114808576fb284ac05add4eac9e8501e1319dc9baffceff22d4480f02a8b56f5a502e41cef5062fd21460a61cfa7731f SHA512 efe4aac2d5437d7e174fcf8b285911abcb416b68fa96a424b5b0a871490c9b7fa5d584a746befcd9f2f57f80d4135e0050db6bf8b6ce150b431b6f1e3b008b70
DIST Rex-1.12.0.tar.gz 338275 BLAKE2B 74f759196cd138c260833866aaff7086fe6e2b199657af629c7b2a9c88035dfa4100f6d9af216088838df9c614f629fb1ff81b897aadb4c6f863c2dd2f6dc7ae SHA512 155b409d6015ea30f56660a58758c3e59383a739d87b34fee6fb881f0ca7035f23aa73339ee627c628d4ff215e3103ad4e3225e0af394f7142cde5e31aa7951f
+DIST Rex-1.12.1.tar.gz 339065 BLAKE2B fd026e66a4e1cf6d4c8b15f7fcba0525a3e98346464170f27d5ef7bb54f1decd7450d87d9f23bee8378df4647eacf512c06a8d051bb76021cbcae472e2c2012d SHA512 774452511d97106bb6586324ff4e8642b05be628c80f3adbba7fd82558c82236878e969512bab398e26a1a7a271a7614108761bd0fb888a2122167806796bad1
DIST Rex-1.9.0.tar.gz 331106 BLAKE2B 74bdf06be9454bc41c444a7d2bf576740e8ecfd2dd575d96172becaac5ee6031506b5ef111c6755a3bc3dcb1eb45722a14c050578cf816815954686a0e79a5ab SHA512 9f9f629d681cc9af3fabccbbb31a881ab7a0414b51e6f1fc45600772b5f7207f8bf27a757955576b15eb7e8e7339e9f4746c497e4111904ad57614ebf1e3cb55
diff --git a/app-admin/rex/rex-1.12.1.ebuild b/app-admin/rex/rex-1.12.1.ebuild
new file mode 100644
index 00000000000..d8e8649d2bd
--- /dev/null
+++ b/app-admin/rex/rex-1.12.1.ebuild
@@ -0,0 +1,196 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} == 9999 ]]; then
+ GITHUB_USER=RexOps
+ GITHUB_REPO=Rex
+ EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
+ EGIT_BRANCH="master"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
+ VCS_ECLASS="git-r3"
+else
+ # This is intentional to stop perl-module.eclass doing magic things when it
+ # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
+ # Also prevents perl-module.eclass provisioning SRC_URI
+ DIST_AUTHOR=FERKI
+ DIST_NAME=Rex
+ KEYWORDS="~amd64 ~x86"
+fi
+inherit bash-completion-r1 perl-module ${VCS_ECLASS}
+
+DESCRIPTION="(R)?ex, the friendly automation framework"
+
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DZIL_DEPENDS="
+ dev-perl/Dist-Zilla
+ dev-perl/Dist-Zilla-Plugin-CheckExtraTests
+ dev-perl/Dist-Zilla-Plugin-ContributorsFile
+ dev-perl/Dist-Zilla-Plugin-Git-Contributors
+ dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
+ dev-perl/Dist-Zilla-Plugin-Meta-Contributors
+ dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
+ dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
+ dev-perl/Dist-Zilla-Plugin-OSPrereqs
+ dev-perl/Dist-Zilla-Plugin-OurPkgVersion
+ dev-perl/Dist-Zilla-Plugin-Run
+ dev-perl/Software-License
+"
+RDEPEND="
+ virtual/perl-Carp
+ virtual/perl-Data-Dumper
+ dev-perl/Data-Validate-IP
+ dev-perl/DBI
+ dev-perl/Devel-Caller
+ dev-perl/Digest-HMAC
+ virtual/perl-Digest-MD5
+ dev-perl/Expect
+ virtual/perl-Exporter
+ virtual/perl-File-Spec
+ dev-perl/HTTP-Message
+ dev-perl/Hash-Merge
+ virtual/perl-IO
+ dev-perl/IO-String
+ dev-perl/IO-Tty
+ dev-perl/IPC-Shareable
+ dev-perl/JSON-MaybeXS
+ dev-perl/List-MoreUtils
+ virtual/perl-MIME-Base64
+ dev-perl/Net-OpenSSH
+ dev-perl/Net-SFTP-Foreign
+ virtual/perl-Scalar-List-Utils
+ dev-perl/Parallel-ForkManager
+ dev-perl/Sort-Naturally
+ dev-perl/String-Escape
+ virtual/perl-Storable
+ dev-perl/TermReadKey
+ virtual/perl-Test-Simple
+ dev-perl/Text-Glob
+ virtual/perl-Text-Tabs+Wrap
+ virtual/perl-Time-HiRes
+ dev-perl/URI
+ dev-perl/XML-LibXML
+ dev-perl/XML-Simple
+ dev-perl/libwww-perl
+ dev-perl/YAML
+ virtual/perl-version
+"
+
+BDEPEND="
+ ${RDEPEND}
+ >=virtual/perl-ExtUtils-MakeMaker-7.110.100
+ >=dev-perl/File-ShareDir-Install-0.60.0
+ test? (
+ virtual/perl-File-Temp
+ dev-perl/Test-Deep
+ >=dev-perl/Test-UseAllModules-0.150.0
+ virtual/perl-autodie
+ )
+"
+
+[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
+
+src_unpack() {
+ if [[ $PV == 9999 ]]; then
+ "${VCS_ECLASS}"_src_unpack
+ mkdir -p "${S}" || die "Can't make ${S}"
+ else
+ default
+ fi
+}
+
+dzil_src_prep() {
+ einfo "Patching dist.ini"
+
+ # This block of sed invocations removes all plugins that aren't
+ # useful for users to have on Gentoo, because all of them are
+ # conditional and subjective style checks, which don't indicate
+ # a real issue for users, and paying the price of their dependencies is undesired.
+
+ # The {N;d} trick adds the [n]ext line after the match to the pattern-space
+ # so that the final [d]elete deletes the next line too. Can be expanded for each
+ # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
+ sed -e '/^\[Test::Kwalitee\]/d' \
+ -e '/^\[Test::Perl::Critic\]/d' \
+ -e '/^\[PodSyntaxTests\]/d' \
+ -e '/^Test::Kwalitee =/d' \
+ -e '/^Test::PerlTidy =/d' \
+ -e '/^Test::Pod =/d' \
+ -e '/^\[Test::CPAN::Changes\]/{N;d}' \
+ -e '/^\[Test::MinimumVersion\]/{N;d}' \
+ -i dist.ini || die "Can't patch dist.ini"
+}
+dzil_env_setup() {
+ # NextRelease noise :(
+ mkdir -p ~/.dzil/
+ local user="$(whoami)"
+ local host="$(hostname)"
+ printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
+
+}
+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_src_prep
+ dzil_env_setup
+
+ 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
+ # Uses git sources in WORKDIR/rex-git
+ # to generate a CPAN-style tree in ${S}
+ # before letting perl-module.eclass do the rest
+ dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
+ fi
+ cd "${S}" || die "Can't enter build dir"
+ perl-module_src_prepare
+}
+
+src_install() {
+ newbashcomp "share/${PN}-tab-completion.bash" "${PN}"
+
+ insinto /usr/share/zsh/site-functions
+ newins "share/${PN}-tab-completion.zsh" "_${PN}"
+
+ perl-module_src_install
+}
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2020-08-07 16:41 Kent Fredric
0 siblings, 0 replies; 58+ messages in thread
From: Kent Fredric @ 2020-08-07 16:41 UTC (permalink / raw
To: gentoo-commits
commit: 3f968545dfc71f1ab1897aec51b6f214be111bc7
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Thu Aug 6 09:27:31 2020 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Fri Aug 7 16:41:15 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f968545
app-admin/rex: drop old
Closes: https://github.com/gentoo/gentoo/pull/17030
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
app-admin/rex/Manifest | 4 -
app-admin/rex/rex-1.10.0.ebuild | 185 -------------------------------------
app-admin/rex/rex-1.11.0.ebuild | 185 -------------------------------------
app-admin/rex/rex-1.12.0.ebuild | 196 ----------------------------------------
app-admin/rex/rex-1.9.0.ebuild | 185 -------------------------------------
5 files changed, 755 deletions(-)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index 06f684b53fe..2343566f2db 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -1,5 +1 @@
-DIST Rex-1.10.0.tar.gz 332057 BLAKE2B fb8e22c25c6f5bbc696aa894cc2f77138e830bb7a41fcc42e677ae251b63fffc841d206a9c50dfda60e022fafccf4ca0181ba8ccb50151c74830994929cb70fa SHA512 eaebf722d741d028d1f89beefee756e0b2fa6e3ddb8c2d6196c4183aedb6b1dd0a7f5fd4bc4211e4da26f61138ee974aa689d84d909c8d63cc414f803227dcf2
-DIST Rex-1.11.0.tar.gz 333640 BLAKE2B 72f4ae7c661f90e406810d265fb72fd3114808576fb284ac05add4eac9e8501e1319dc9baffceff22d4480f02a8b56f5a502e41cef5062fd21460a61cfa7731f SHA512 efe4aac2d5437d7e174fcf8b285911abcb416b68fa96a424b5b0a871490c9b7fa5d584a746befcd9f2f57f80d4135e0050db6bf8b6ce150b431b6f1e3b008b70
-DIST Rex-1.12.0.tar.gz 338275 BLAKE2B 74f759196cd138c260833866aaff7086fe6e2b199657af629c7b2a9c88035dfa4100f6d9af216088838df9c614f629fb1ff81b897aadb4c6f863c2dd2f6dc7ae SHA512 155b409d6015ea30f56660a58758c3e59383a739d87b34fee6fb881f0ca7035f23aa73339ee627c628d4ff215e3103ad4e3225e0af394f7142cde5e31aa7951f
DIST Rex-1.12.1.tar.gz 339065 BLAKE2B fd026e66a4e1cf6d4c8b15f7fcba0525a3e98346464170f27d5ef7bb54f1decd7450d87d9f23bee8378df4647eacf512c06a8d051bb76021cbcae472e2c2012d SHA512 774452511d97106bb6586324ff4e8642b05be628c80f3adbba7fd82558c82236878e969512bab398e26a1a7a271a7614108761bd0fb888a2122167806796bad1
-DIST Rex-1.9.0.tar.gz 331106 BLAKE2B 74bdf06be9454bc41c444a7d2bf576740e8ecfd2dd575d96172becaac5ee6031506b5ef111c6755a3bc3dcb1eb45722a14c050578cf816815954686a0e79a5ab SHA512 9f9f629d681cc9af3fabccbbb31a881ab7a0414b51e6f1fc45600772b5f7207f8bf27a757955576b15eb7e8e7339e9f4746c497e4111904ad57614ebf1e3cb55
diff --git a/app-admin/rex/rex-1.10.0.ebuild b/app-admin/rex/rex-1.10.0.ebuild
deleted file mode 100644
index 5cc3866dba7..00000000000
--- a/app-admin/rex/rex-1.10.0.ebuild
+++ /dev/null
@@ -1,185 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-if [[ ${PV} == 9999 ]]; then
- GITHUB_USER=RexOps
- GITHUB_REPO=Rex
- EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
- EGIT_BRANCH="master"
- EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
- VCS_ECLASS="git-r3"
-else
- # This is intentional to stop perl-module.eclass doing magic things when it
- # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
- # Also prevents perl-module.eclass provisioning SRC_URI
- DIST_AUTHOR=FERKI
- DIST_NAME=Rex
- KEYWORDS="~amd64 ~x86"
-fi
-inherit perl-module ${VCS_ECLASS}
-
-DESCRIPTION="(R)?ex, the friendly automation framework"
-
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DZIL_DEPENDS="
- dev-perl/Dist-Zilla
- dev-perl/Dist-Zilla-Plugin-CheckExtraTests
- dev-perl/Dist-Zilla-Plugin-ContributorsFile
- dev-perl/Dist-Zilla-Plugin-Git-Contributors
- dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
- dev-perl/Dist-Zilla-Plugin-Meta-Contributors
- dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
- dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
- dev-perl/Dist-Zilla-Plugin-OSPrereqs
- dev-perl/Dist-Zilla-Plugin-OurPkgVersion
- dev-perl/Dist-Zilla-Plugin-Run
- dev-perl/Software-License
-"
-RDEPEND="
- virtual/perl-Carp
- virtual/perl-Data-Dumper
- dev-perl/Data-Validate-IP
- dev-perl/DBI
- dev-perl/Devel-Caller
- dev-perl/Digest-HMAC
- virtual/perl-Digest-MD5
- dev-perl/Expect
- virtual/perl-Exporter
- virtual/perl-File-Spec
- dev-perl/HTTP-Message
- dev-perl/Hash-Merge
- virtual/perl-IO
- dev-perl/IO-String
- dev-perl/IO-Tty
- dev-perl/IPC-Shareable
- dev-perl/JSON-MaybeXS
- dev-perl/List-MoreUtils
- virtual/perl-MIME-Base64
- dev-perl/Net-OpenSSH
- dev-perl/Net-SFTP-Foreign
- virtual/perl-Scalar-List-Utils
- dev-perl/Parallel-ForkManager
- dev-perl/Sort-Naturally
- dev-perl/String-Escape
- virtual/perl-Storable
- dev-perl/TermReadKey
- virtual/perl-Test-Simple
- dev-perl/Text-Glob
- virtual/perl-Text-Tabs+Wrap
- virtual/perl-Time-HiRes
- dev-perl/URI
- dev-perl/XML-LibXML
- dev-perl/XML-Simple
- dev-perl/libwww-perl
- dev-perl/YAML
- virtual/perl-version
-"
-
-BDEPEND="
- ${RDEPEND}
- >=virtual/perl-ExtUtils-MakeMaker-7.110.100
- test? (
- virtual/perl-File-Temp
- dev-perl/Test-Deep
- >=dev-perl/Test-UseAllModules-0.150.0
- )
-"
-
-[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
-
-src_unpack() {
- if [[ $PV == 9999 ]]; then
- "${VCS_ECLASS}"_src_unpack
- mkdir -p "${S}" || die "Can't make ${S}"
- else
- default
- fi
-}
-
-dzil_src_prep() {
- einfo "Patching dist.ini"
-
- # This block of sed invocations removes all plugins that aren't
- # useful for users to have on Gentoo, because all of them are
- # conditional and subjective style checks, which don't indicate
- # a real issue for users, and paying the price of their dependencies is undesired.
-
- # The {N;d} trick adds the [n]ext line after the match to the pattern-space
- # so that the final [d]elete deletes the next line too. Can be expanded for each
- # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
- sed -e '/^\[Test::Kwalitee\]/d' \
- -e '/^\[Test::Perl::Critic\]/d' \
- -e '/^\[PodSyntaxTests\]/d' \
- -e '/^Test::Kwalitee =/d' \
- -e '/^Test::PerlTidy =/d' \
- -e '/^Test::Pod =/d' \
- -e '/^\[Test::CPAN::Changes\]/{N;d}' \
- -e '/^\[Test::MinimumVersion\]/{N;d}' \
- -i dist.ini || die "Can't patch dist.ini"
-}
-dzil_env_setup() {
- # NextRelease noise :(
- mkdir -p ~/.dzil/
- local user="$(whoami)"
- local host="$(hostname)"
- printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
-
-}
-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_src_prep
- dzil_env_setup
-
- 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
- # Uses git sources in WORKDIR/rex-git
- # to generate a CPAN-style tree in ${S}
- # before letting perl-module.eclass do the rest
- dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
- fi
- cd "${S}" || die "Can't enter build dir"
- perl-module_src_prepare
-}
diff --git a/app-admin/rex/rex-1.11.0.ebuild b/app-admin/rex/rex-1.11.0.ebuild
deleted file mode 100644
index 5cc3866dba7..00000000000
--- a/app-admin/rex/rex-1.11.0.ebuild
+++ /dev/null
@@ -1,185 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-if [[ ${PV} == 9999 ]]; then
- GITHUB_USER=RexOps
- GITHUB_REPO=Rex
- EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
- EGIT_BRANCH="master"
- EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
- VCS_ECLASS="git-r3"
-else
- # This is intentional to stop perl-module.eclass doing magic things when it
- # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
- # Also prevents perl-module.eclass provisioning SRC_URI
- DIST_AUTHOR=FERKI
- DIST_NAME=Rex
- KEYWORDS="~amd64 ~x86"
-fi
-inherit perl-module ${VCS_ECLASS}
-
-DESCRIPTION="(R)?ex, the friendly automation framework"
-
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DZIL_DEPENDS="
- dev-perl/Dist-Zilla
- dev-perl/Dist-Zilla-Plugin-CheckExtraTests
- dev-perl/Dist-Zilla-Plugin-ContributorsFile
- dev-perl/Dist-Zilla-Plugin-Git-Contributors
- dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
- dev-perl/Dist-Zilla-Plugin-Meta-Contributors
- dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
- dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
- dev-perl/Dist-Zilla-Plugin-OSPrereqs
- dev-perl/Dist-Zilla-Plugin-OurPkgVersion
- dev-perl/Dist-Zilla-Plugin-Run
- dev-perl/Software-License
-"
-RDEPEND="
- virtual/perl-Carp
- virtual/perl-Data-Dumper
- dev-perl/Data-Validate-IP
- dev-perl/DBI
- dev-perl/Devel-Caller
- dev-perl/Digest-HMAC
- virtual/perl-Digest-MD5
- dev-perl/Expect
- virtual/perl-Exporter
- virtual/perl-File-Spec
- dev-perl/HTTP-Message
- dev-perl/Hash-Merge
- virtual/perl-IO
- dev-perl/IO-String
- dev-perl/IO-Tty
- dev-perl/IPC-Shareable
- dev-perl/JSON-MaybeXS
- dev-perl/List-MoreUtils
- virtual/perl-MIME-Base64
- dev-perl/Net-OpenSSH
- dev-perl/Net-SFTP-Foreign
- virtual/perl-Scalar-List-Utils
- dev-perl/Parallel-ForkManager
- dev-perl/Sort-Naturally
- dev-perl/String-Escape
- virtual/perl-Storable
- dev-perl/TermReadKey
- virtual/perl-Test-Simple
- dev-perl/Text-Glob
- virtual/perl-Text-Tabs+Wrap
- virtual/perl-Time-HiRes
- dev-perl/URI
- dev-perl/XML-LibXML
- dev-perl/XML-Simple
- dev-perl/libwww-perl
- dev-perl/YAML
- virtual/perl-version
-"
-
-BDEPEND="
- ${RDEPEND}
- >=virtual/perl-ExtUtils-MakeMaker-7.110.100
- test? (
- virtual/perl-File-Temp
- dev-perl/Test-Deep
- >=dev-perl/Test-UseAllModules-0.150.0
- )
-"
-
-[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
-
-src_unpack() {
- if [[ $PV == 9999 ]]; then
- "${VCS_ECLASS}"_src_unpack
- mkdir -p "${S}" || die "Can't make ${S}"
- else
- default
- fi
-}
-
-dzil_src_prep() {
- einfo "Patching dist.ini"
-
- # This block of sed invocations removes all plugins that aren't
- # useful for users to have on Gentoo, because all of them are
- # conditional and subjective style checks, which don't indicate
- # a real issue for users, and paying the price of their dependencies is undesired.
-
- # The {N;d} trick adds the [n]ext line after the match to the pattern-space
- # so that the final [d]elete deletes the next line too. Can be expanded for each
- # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
- sed -e '/^\[Test::Kwalitee\]/d' \
- -e '/^\[Test::Perl::Critic\]/d' \
- -e '/^\[PodSyntaxTests\]/d' \
- -e '/^Test::Kwalitee =/d' \
- -e '/^Test::PerlTidy =/d' \
- -e '/^Test::Pod =/d' \
- -e '/^\[Test::CPAN::Changes\]/{N;d}' \
- -e '/^\[Test::MinimumVersion\]/{N;d}' \
- -i dist.ini || die "Can't patch dist.ini"
-}
-dzil_env_setup() {
- # NextRelease noise :(
- mkdir -p ~/.dzil/
- local user="$(whoami)"
- local host="$(hostname)"
- printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
-
-}
-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_src_prep
- dzil_env_setup
-
- 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
- # Uses git sources in WORKDIR/rex-git
- # to generate a CPAN-style tree in ${S}
- # before letting perl-module.eclass do the rest
- dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
- fi
- cd "${S}" || die "Can't enter build dir"
- perl-module_src_prepare
-}
diff --git a/app-admin/rex/rex-1.12.0.ebuild b/app-admin/rex/rex-1.12.0.ebuild
deleted file mode 100644
index d8e8649d2bd..00000000000
--- a/app-admin/rex/rex-1.12.0.ebuild
+++ /dev/null
@@ -1,196 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-if [[ ${PV} == 9999 ]]; then
- GITHUB_USER=RexOps
- GITHUB_REPO=Rex
- EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
- EGIT_BRANCH="master"
- EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
- VCS_ECLASS="git-r3"
-else
- # This is intentional to stop perl-module.eclass doing magic things when it
- # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
- # Also prevents perl-module.eclass provisioning SRC_URI
- DIST_AUTHOR=FERKI
- DIST_NAME=Rex
- KEYWORDS="~amd64 ~x86"
-fi
-inherit bash-completion-r1 perl-module ${VCS_ECLASS}
-
-DESCRIPTION="(R)?ex, the friendly automation framework"
-
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DZIL_DEPENDS="
- dev-perl/Dist-Zilla
- dev-perl/Dist-Zilla-Plugin-CheckExtraTests
- dev-perl/Dist-Zilla-Plugin-ContributorsFile
- dev-perl/Dist-Zilla-Plugin-Git-Contributors
- dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
- dev-perl/Dist-Zilla-Plugin-Meta-Contributors
- dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
- dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
- dev-perl/Dist-Zilla-Plugin-OSPrereqs
- dev-perl/Dist-Zilla-Plugin-OurPkgVersion
- dev-perl/Dist-Zilla-Plugin-Run
- dev-perl/Software-License
-"
-RDEPEND="
- virtual/perl-Carp
- virtual/perl-Data-Dumper
- dev-perl/Data-Validate-IP
- dev-perl/DBI
- dev-perl/Devel-Caller
- dev-perl/Digest-HMAC
- virtual/perl-Digest-MD5
- dev-perl/Expect
- virtual/perl-Exporter
- virtual/perl-File-Spec
- dev-perl/HTTP-Message
- dev-perl/Hash-Merge
- virtual/perl-IO
- dev-perl/IO-String
- dev-perl/IO-Tty
- dev-perl/IPC-Shareable
- dev-perl/JSON-MaybeXS
- dev-perl/List-MoreUtils
- virtual/perl-MIME-Base64
- dev-perl/Net-OpenSSH
- dev-perl/Net-SFTP-Foreign
- virtual/perl-Scalar-List-Utils
- dev-perl/Parallel-ForkManager
- dev-perl/Sort-Naturally
- dev-perl/String-Escape
- virtual/perl-Storable
- dev-perl/TermReadKey
- virtual/perl-Test-Simple
- dev-perl/Text-Glob
- virtual/perl-Text-Tabs+Wrap
- virtual/perl-Time-HiRes
- dev-perl/URI
- dev-perl/XML-LibXML
- dev-perl/XML-Simple
- dev-perl/libwww-perl
- dev-perl/YAML
- virtual/perl-version
-"
-
-BDEPEND="
- ${RDEPEND}
- >=virtual/perl-ExtUtils-MakeMaker-7.110.100
- >=dev-perl/File-ShareDir-Install-0.60.0
- test? (
- virtual/perl-File-Temp
- dev-perl/Test-Deep
- >=dev-perl/Test-UseAllModules-0.150.0
- virtual/perl-autodie
- )
-"
-
-[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
-
-src_unpack() {
- if [[ $PV == 9999 ]]; then
- "${VCS_ECLASS}"_src_unpack
- mkdir -p "${S}" || die "Can't make ${S}"
- else
- default
- fi
-}
-
-dzil_src_prep() {
- einfo "Patching dist.ini"
-
- # This block of sed invocations removes all plugins that aren't
- # useful for users to have on Gentoo, because all of them are
- # conditional and subjective style checks, which don't indicate
- # a real issue for users, and paying the price of their dependencies is undesired.
-
- # The {N;d} trick adds the [n]ext line after the match to the pattern-space
- # so that the final [d]elete deletes the next line too. Can be expanded for each
- # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
- sed -e '/^\[Test::Kwalitee\]/d' \
- -e '/^\[Test::Perl::Critic\]/d' \
- -e '/^\[PodSyntaxTests\]/d' \
- -e '/^Test::Kwalitee =/d' \
- -e '/^Test::PerlTidy =/d' \
- -e '/^Test::Pod =/d' \
- -e '/^\[Test::CPAN::Changes\]/{N;d}' \
- -e '/^\[Test::MinimumVersion\]/{N;d}' \
- -i dist.ini || die "Can't patch dist.ini"
-}
-dzil_env_setup() {
- # NextRelease noise :(
- mkdir -p ~/.dzil/
- local user="$(whoami)"
- local host="$(hostname)"
- printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
-
-}
-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_src_prep
- dzil_env_setup
-
- 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
- # Uses git sources in WORKDIR/rex-git
- # to generate a CPAN-style tree in ${S}
- # before letting perl-module.eclass do the rest
- dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
- fi
- cd "${S}" || die "Can't enter build dir"
- perl-module_src_prepare
-}
-
-src_install() {
- newbashcomp "share/${PN}-tab-completion.bash" "${PN}"
-
- insinto /usr/share/zsh/site-functions
- newins "share/${PN}-tab-completion.zsh" "_${PN}"
-
- perl-module_src_install
-}
diff --git a/app-admin/rex/rex-1.9.0.ebuild b/app-admin/rex/rex-1.9.0.ebuild
deleted file mode 100644
index 26385e39127..00000000000
--- a/app-admin/rex/rex-1.9.0.ebuild
+++ /dev/null
@@ -1,185 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-if [[ ${PV} == 9999 ]]; then
- GITHUB_USER=RexOps
- GITHUB_REPO=Rex
- EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
- EGIT_BRANCH="master"
- EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
- VCS_ECLASS="git-r3"
-else
- # This is intentional to stop perl-module.eclass doing magic things when it
- # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
- # Also prevents perl-module.eclass provisioning SRC_URI
- DIST_AUTHOR=FERKI
- DIST_NAME=Rex
- KEYWORDS="~amd64 ~x86"
-fi
-inherit perl-module ${VCS_ECLASS}
-
-DESCRIPTION="(R)?ex, the friendly automation framework"
-
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DZIL_DEPENDS="
- dev-perl/Dist-Zilla
- dev-perl/Dist-Zilla-Plugin-CheckExtraTests
- dev-perl/Dist-Zilla-Plugin-ContributorsFile
- dev-perl/Dist-Zilla-Plugin-Git-Contributors
- dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
- dev-perl/Dist-Zilla-Plugin-Meta-Contributors
- dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
- dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
- dev-perl/Dist-Zilla-Plugin-OSPrereqs
- dev-perl/Dist-Zilla-Plugin-OurPkgVersion
- dev-perl/Dist-Zilla-Plugin-Run
- dev-perl/Software-License
-"
-RDEPEND="
- virtual/perl-Carp
- virtual/perl-Data-Dumper
- dev-perl/Data-Validate-IP
- dev-perl/DBI
- dev-perl/Devel-Caller
- dev-perl/Digest-HMAC
- virtual/perl-Digest-MD5
- dev-perl/Expect
- virtual/perl-Exporter
- virtual/perl-File-Spec
- dev-perl/HTTP-Message
- dev-perl/Hash-Merge
- virtual/perl-IO
- dev-perl/IO-String
- dev-perl/IO-Tty
- dev-perl/IPC-Shareable
- dev-perl/JSON-MaybeXS
- dev-perl/List-MoreUtils
- virtual/perl-MIME-Base64
- dev-perl/Net-OpenSSH
- dev-perl/Net-SFTP-Foreign
- virtual/perl-Scalar-List-Utils
- dev-perl/Parallel-ForkManager
- dev-perl/Sort-Naturally
- dev-perl/String-Escape
- virtual/perl-Storable
- dev-perl/TermReadKey
- virtual/perl-Test-Simple
- dev-perl/Text-Glob
- virtual/perl-Text-Tabs+Wrap
- virtual/perl-Time-HiRes
- dev-perl/URI
- dev-perl/XML-LibXML
- dev-perl/XML-Simple
- dev-perl/libwww-perl
- dev-perl/YAML
- virtual/perl-version
-"
-
-BDEPEND="
- ${RDEPEND}
- >=virtual/perl-ExtUtils-MakeMaker-7.110.100
- test? (
- virtual/perl-File-Temp
- dev-perl/Test-Deep
- >=dev-perl/Test-UseAllModules-0.150.0
- )
-"
-
-[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
-
-src_unpack() {
- if [[ $PV == 9999 ]]; then
- "${VCS_ECLASS}"_src_unpack
- mkdir -p "${S}" || die "Can't make ${S}"
- else
- default
- fi
-}
-
-dzil_src_prep() {
- einfo "Patching dist.ini"
-
- # This block of sed invocations removes all plugins that aren't
- # useful for users to have on Gentoo, because all of them are
- # conditional and subjective style checks, which don't indicate
- # a real issue for users, and paying the price of their dependencies is undesired.
-
- # The {N;d} trick adds the [n]ext line after the match to the pattern-space
- # so that the final [d]elete deletes the next line too. Can be expanded for each
- # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
- sed -e '/^\[Test::Kwalitee\]/d' \
- -e '/^\[Test::Perl::Critic\]/d' \
- -e '/^\[PodSyntaxTests\]/d' \
- -e '/^Test::Kwalitee =/d' \
- -e '/^Test::PerlTidy =/d' \
- -e '/^Test::Pod =/d' \
- -e '/^\[Test::CPAN::Changes\]/{N;d}' \
- -e '/^\[Test::MinimumVersion\]/{N;d}' \
- -i dist.ini || die "Can't patch dist.ini"
-}
-dzil_env_setup() {
- # NextVersion noise :(
- mkdir -p ~/.dzil/
- local user="$(whoami)"
- local host="$(hostname)"
- printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
-
-}
-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_src_prep
- dzil_env_setup
-
- 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
- # Uses git sources in WORKDIR/rex-git
- # to generate a CPAN-style tree in ${S}
- # before letting perl-module.eclass do the rest
- dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
- fi
- cd "${S}" || die "Can't enter build dir"
- perl-module_src_prepare
-}
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2020-08-07 17:00 Kent Fredric
0 siblings, 0 replies; 58+ messages in thread
From: Kent Fredric @ 2020-08-07 17:00 UTC (permalink / raw
To: gentoo-commits
commit: f032d8abb2e1e00fb45e5caa591d354b8bb662b6
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 7 16:59:32 2020 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Fri Aug 7 17:00:16 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f032d8ab
app-admin/rex: -9999 Add Plugin::Git as dep
Due to the change from [GatherDir] to [Git::GatherDir],
build now requires this.
Note: Something changed in the last dzil bump, and subsequently, build
now fails unless you have <dev-perl/Dist-Zilla-6.15.0
This is a work in progress :/
Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
app-admin/rex/rex-9999.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-9999.ebuild
index d8e8649d2bd..85e62dace75 100644
--- a/app-admin/rex/rex-9999.ebuild
+++ b/app-admin/rex/rex-9999.ebuild
@@ -30,6 +30,7 @@ DZIL_DEPENDS="
dev-perl/Dist-Zilla
dev-perl/Dist-Zilla-Plugin-CheckExtraTests
dev-perl/Dist-Zilla-Plugin-ContributorsFile
+ dev-perl/Dist-Zilla-Plugin-Git
dev-perl/Dist-Zilla-Plugin-Git-Contributors
dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
dev-perl/Dist-Zilla-Plugin-Meta-Contributors
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2020-09-09 8:39 Kent Fredric
0 siblings, 0 replies; 58+ messages in thread
From: Kent Fredric @ 2020-09-09 8:39 UTC (permalink / raw
To: gentoo-commits
commit: c7a45773fcdcb168f9676d598b85b070cc254e86
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Mon Sep 7 17:07:25 2020 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Wed Sep 9 08:38:34 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7a45773
app-admin/rex: update live ebuild
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
app-admin/rex/rex-9999.ebuild | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-9999.ebuild
index 85e62dace75..d832e4f2b87 100644
--- a/app-admin/rex/rex-9999.ebuild
+++ b/app-admin/rex/rex-9999.ebuild
@@ -23,7 +23,7 @@ inherit bash-completion-r1 perl-module ${VCS_ECLASS}
DESCRIPTION="(R)?ex, the friendly automation framework"
SLOT="0"
-IUSE="test"
+IUSE="minimal test"
RESTRICT="!test? ( test )"
DZIL_DEPENDS="
@@ -42,14 +42,18 @@ DZIL_DEPENDS="
dev-perl/Software-License
"
RDEPEND="
+ !minimal? (
+ dev-perl/DBI
+ dev-perl/Expect
+ dev-perl/IPC-Shareable
+ dev-perl/XML-LibXML
+ )
virtual/perl-Carp
virtual/perl-Data-Dumper
dev-perl/Data-Validate-IP
- dev-perl/DBI
dev-perl/Devel-Caller
dev-perl/Digest-HMAC
virtual/perl-Digest-MD5
- dev-perl/Expect
virtual/perl-Exporter
virtual/perl-File-Spec
dev-perl/HTTP-Message
@@ -57,7 +61,6 @@ RDEPEND="
virtual/perl-IO
dev-perl/IO-String
dev-perl/IO-Tty
- dev-perl/IPC-Shareable
dev-perl/JSON-MaybeXS
dev-perl/List-MoreUtils
virtual/perl-MIME-Base64
@@ -74,7 +77,6 @@ RDEPEND="
virtual/perl-Text-Tabs+Wrap
virtual/perl-Time-HiRes
dev-perl/URI
- dev-perl/XML-LibXML
dev-perl/XML-Simple
dev-perl/libwww-perl
dev-perl/YAML
@@ -83,12 +85,15 @@ RDEPEND="
BDEPEND="
${RDEPEND}
+ >=virtual/perl-CPAN-Meta-Requirements-2.120.620
>=virtual/perl-ExtUtils-MakeMaker-7.110.100
>=dev-perl/File-ShareDir-Install-0.60.0
+ virtual/perl-Module-Metadata
test? (
virtual/perl-File-Temp
dev-perl/Test-Deep
- >=dev-perl/Test-UseAllModules-0.150.0
+ dev-perl/Test-Output
+ dev-perl/Test-UseAllModules
virtual/perl-autodie
)
"
@@ -122,6 +127,7 @@ dzil_src_prep() {
-e '/^Test::PerlTidy =/d' \
-e '/^Test::Pod =/d' \
-e '/^\[Test::CPAN::Changes\]/{N;d}' \
+ -e '/^\[OptionalFeature/,/^$/d' \
-e '/^\[Test::MinimumVersion\]/{N;d}' \
-i dist.ini || die "Can't patch dist.ini"
}
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2020-09-09 8:39 Kent Fredric
0 siblings, 0 replies; 58+ messages in thread
From: Kent Fredric @ 2020-09-09 8:39 UTC (permalink / raw
To: gentoo-commits
commit: 834e3cd31b81d3fa3c39ab10b412aeb29da21932
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Mon Sep 7 17:08:24 2020 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Wed Sep 9 08:38:38 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=834e3cd3
app-admin/rex: bump version to 1.12.2
Closes: https://github.com/gentoo/gentoo/pull/17454
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
app-admin/rex/Manifest | 1 +
app-admin/rex/rex-1.12.2.ebuild | 203 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 204 insertions(+)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index 2343566f2db..e5e4e469fd9 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -1 +1,2 @@
DIST Rex-1.12.1.tar.gz 339065 BLAKE2B fd026e66a4e1cf6d4c8b15f7fcba0525a3e98346464170f27d5ef7bb54f1decd7450d87d9f23bee8378df4647eacf512c06a8d051bb76021cbcae472e2c2012d SHA512 774452511d97106bb6586324ff4e8642b05be628c80f3adbba7fd82558c82236878e969512bab398e26a1a7a271a7614108761bd0fb888a2122167806796bad1
+DIST Rex-1.12.2.tar.gz 343716 BLAKE2B bb546298305e2e210ea67a21c948f364d3c0ee5947c8d716606fc81cfd07c4b1eea9e6ce8fd3fd49a0cffd33a964e0d328f60d570fa18fa3452b334a7882b279 SHA512 867942eec63ba71b591b93d6c0af794605f86571ef6d1be473989314cb7fc7d4e8d906ef25e30ea56beeaefe953c884661d9b769452587a3d4892de10163b6c7
diff --git a/app-admin/rex/rex-1.12.2.ebuild b/app-admin/rex/rex-1.12.2.ebuild
new file mode 100644
index 00000000000..d832e4f2b87
--- /dev/null
+++ b/app-admin/rex/rex-1.12.2.ebuild
@@ -0,0 +1,203 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} == 9999 ]]; then
+ GITHUB_USER=RexOps
+ GITHUB_REPO=Rex
+ EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
+ EGIT_BRANCH="master"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
+ VCS_ECLASS="git-r3"
+else
+ # This is intentional to stop perl-module.eclass doing magic things when it
+ # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
+ # Also prevents perl-module.eclass provisioning SRC_URI
+ DIST_AUTHOR=FERKI
+ DIST_NAME=Rex
+ KEYWORDS="~amd64 ~x86"
+fi
+inherit bash-completion-r1 perl-module ${VCS_ECLASS}
+
+DESCRIPTION="(R)?ex, the friendly automation framework"
+
+SLOT="0"
+IUSE="minimal test"
+RESTRICT="!test? ( test )"
+
+DZIL_DEPENDS="
+ dev-perl/Dist-Zilla
+ dev-perl/Dist-Zilla-Plugin-CheckExtraTests
+ dev-perl/Dist-Zilla-Plugin-ContributorsFile
+ dev-perl/Dist-Zilla-Plugin-Git
+ dev-perl/Dist-Zilla-Plugin-Git-Contributors
+ dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
+ dev-perl/Dist-Zilla-Plugin-Meta-Contributors
+ dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
+ dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
+ dev-perl/Dist-Zilla-Plugin-OSPrereqs
+ dev-perl/Dist-Zilla-Plugin-OurPkgVersion
+ dev-perl/Dist-Zilla-Plugin-Run
+ dev-perl/Software-License
+"
+RDEPEND="
+ !minimal? (
+ dev-perl/DBI
+ dev-perl/Expect
+ dev-perl/IPC-Shareable
+ dev-perl/XML-LibXML
+ )
+ virtual/perl-Carp
+ virtual/perl-Data-Dumper
+ dev-perl/Data-Validate-IP
+ dev-perl/Devel-Caller
+ dev-perl/Digest-HMAC
+ virtual/perl-Digest-MD5
+ virtual/perl-Exporter
+ virtual/perl-File-Spec
+ dev-perl/HTTP-Message
+ dev-perl/Hash-Merge
+ virtual/perl-IO
+ dev-perl/IO-String
+ dev-perl/IO-Tty
+ dev-perl/JSON-MaybeXS
+ dev-perl/List-MoreUtils
+ virtual/perl-MIME-Base64
+ dev-perl/Net-OpenSSH
+ dev-perl/Net-SFTP-Foreign
+ virtual/perl-Scalar-List-Utils
+ dev-perl/Parallel-ForkManager
+ dev-perl/Sort-Naturally
+ dev-perl/String-Escape
+ virtual/perl-Storable
+ dev-perl/TermReadKey
+ virtual/perl-Test-Simple
+ dev-perl/Text-Glob
+ virtual/perl-Text-Tabs+Wrap
+ virtual/perl-Time-HiRes
+ dev-perl/URI
+ dev-perl/XML-Simple
+ dev-perl/libwww-perl
+ dev-perl/YAML
+ virtual/perl-version
+"
+
+BDEPEND="
+ ${RDEPEND}
+ >=virtual/perl-CPAN-Meta-Requirements-2.120.620
+ >=virtual/perl-ExtUtils-MakeMaker-7.110.100
+ >=dev-perl/File-ShareDir-Install-0.60.0
+ virtual/perl-Module-Metadata
+ test? (
+ virtual/perl-File-Temp
+ dev-perl/Test-Deep
+ dev-perl/Test-Output
+ dev-perl/Test-UseAllModules
+ virtual/perl-autodie
+ )
+"
+
+[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
+
+src_unpack() {
+ if [[ $PV == 9999 ]]; then
+ "${VCS_ECLASS}"_src_unpack
+ mkdir -p "${S}" || die "Can't make ${S}"
+ else
+ default
+ fi
+}
+
+dzil_src_prep() {
+ einfo "Patching dist.ini"
+
+ # This block of sed invocations removes all plugins that aren't
+ # useful for users to have on Gentoo, because all of them are
+ # conditional and subjective style checks, which don't indicate
+ # a real issue for users, and paying the price of their dependencies is undesired.
+
+ # The {N;d} trick adds the [n]ext line after the match to the pattern-space
+ # so that the final [d]elete deletes the next line too. Can be expanded for each
+ # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
+ sed -e '/^\[Test::Kwalitee\]/d' \
+ -e '/^\[Test::Perl::Critic\]/d' \
+ -e '/^\[PodSyntaxTests\]/d' \
+ -e '/^Test::Kwalitee =/d' \
+ -e '/^Test::PerlTidy =/d' \
+ -e '/^Test::Pod =/d' \
+ -e '/^\[Test::CPAN::Changes\]/{N;d}' \
+ -e '/^\[OptionalFeature/,/^$/d' \
+ -e '/^\[Test::MinimumVersion\]/{N;d}' \
+ -i dist.ini || die "Can't patch dist.ini"
+}
+dzil_env_setup() {
+ # NextRelease noise :(
+ mkdir -p ~/.dzil/
+ local user="$(whoami)"
+ local host="$(hostname)"
+ printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
+
+}
+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_src_prep
+ dzil_env_setup
+
+ 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
+ # Uses git sources in WORKDIR/rex-git
+ # to generate a CPAN-style tree in ${S}
+ # before letting perl-module.eclass do the rest
+ dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
+ fi
+ cd "${S}" || die "Can't enter build dir"
+ perl-module_src_prepare
+}
+
+src_install() {
+ newbashcomp "share/${PN}-tab-completion.bash" "${PN}"
+
+ insinto /usr/share/zsh/site-functions
+ newins "share/${PN}-tab-completion.zsh" "_${PN}"
+
+ perl-module_src_install
+}
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2020-11-11 21:44 Patrice Clement
0 siblings, 0 replies; 58+ messages in thread
From: Patrice Clement @ 2020-11-11 21:44 UTC (permalink / raw
To: gentoo-commits
commit: cbcfc5b202f25165527659f76b4915149082fa18
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Sat Nov 7 11:49:12 2020 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Nov 11 21:40:54 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbcfc5b2
app-admin/rex: update deps.
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
app-admin/rex/rex-9999.ebuild | 1 -
1 file changed, 1 deletion(-)
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-9999.ebuild
index b8623b485c3..9f5222cbfb7 100644
--- a/app-admin/rex/rex-9999.ebuild
+++ b/app-admin/rex/rex-9999.ebuild
@@ -62,7 +62,6 @@ RDEPEND="
dev-perl/IO-String
dev-perl/IO-Tty
dev-perl/JSON-MaybeXS
- dev-perl/List-MoreUtils
virtual/perl-MIME-Base64
dev-perl/Net-OpenSSH
dev-perl/Net-SFTP-Foreign
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2020-11-11 21:44 Patrice Clement
0 siblings, 0 replies; 58+ messages in thread
From: Patrice Clement @ 2020-11-11 21:44 UTC (permalink / raw
To: gentoo-commits
commit: 308f860069cc84873c403a57f65b30e69df329fa
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Sat Nov 7 11:49:54 2020 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Nov 11 21:40:55 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=308f8600
app-admin/rex: bump version to 1.13.1.
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
app-admin/rex/Manifest | 1 +
app-admin/rex/rex-1.13.1.ebuild | 203 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 204 insertions(+)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index 3423bf02d6a..095f59173fe 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -1,3 +1,4 @@
DIST Rex-1.12.1.tar.gz 339065 BLAKE2B fd026e66a4e1cf6d4c8b15f7fcba0525a3e98346464170f27d5ef7bb54f1decd7450d87d9f23bee8378df4647eacf512c06a8d051bb76021cbcae472e2c2012d SHA512 774452511d97106bb6586324ff4e8642b05be628c80f3adbba7fd82558c82236878e969512bab398e26a1a7a271a7614108761bd0fb888a2122167806796bad1
DIST Rex-1.12.2.tar.gz 343716 BLAKE2B bb546298305e2e210ea67a21c948f364d3c0ee5947c8d716606fc81cfd07c4b1eea9e6ce8fd3fd49a0cffd33a964e0d328f60d570fa18fa3452b334a7882b279 SHA512 867942eec63ba71b591b93d6c0af794605f86571ef6d1be473989314cb7fc7d4e8d906ef25e30ea56beeaefe953c884661d9b769452587a3d4892de10163b6c7
DIST Rex-1.13.0.tar.gz 344412 BLAKE2B 220e3dff378bdf5c607f2be94952a68f4c3e72ab362518566e16be55a837cef64f12af8f487e1f26bec04e3b5b4781d1d8eecc6aa347a666c2eb616595371919 SHA512 9e717decbe27a630e83c8194418783cb38c63fedb7f8c4a437395ebc3db21a45cc2057bcb6b2bc689255ab8f579908ad7158031e3a019886634fae3f6e6fb511
+DIST Rex-1.13.1.tar.gz 347483 BLAKE2B bab66dffa3e0c0ae6b54bb8a76adfff0858797370389d5329169e5a7a2e6091a5d866feae14c5764b9d87bf920ff9ee5951cc69be4311c9c362e49f58f24659f SHA512 d68bf98e83a04a28d904db683e3cc0984f019ffc6be589f261b4bc44300b753c03e751b87936d9d831bf6456bdcff916cc2a84c0a1a6c11e20c47bf2533575fc
diff --git a/app-admin/rex/rex-1.13.1.ebuild b/app-admin/rex/rex-1.13.1.ebuild
new file mode 100644
index 00000000000..6a9496d529c
--- /dev/null
+++ b/app-admin/rex/rex-1.13.1.ebuild
@@ -0,0 +1,203 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} == 9999 ]]; then
+ GITHUB_USER=RexOps
+ GITHUB_REPO=Rex
+ EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
+ EGIT_BRANCH="master"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
+ VCS_ECLASS="git-r3"
+else
+ # This is intentional to stop perl-module.eclass doing magic things when it
+ # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
+ # Also prevents perl-module.eclass provisioning SRC_URI
+ DIST_AUTHOR=FERKI
+ DIST_NAME=Rex
+ KEYWORDS="~amd64 ~x86"
+fi
+inherit bash-completion-r1 perl-module ${VCS_ECLASS}
+
+DESCRIPTION="(R)?ex, the friendly automation framework"
+
+SLOT="0"
+IUSE="minimal test"
+RESTRICT="!test? ( test )"
+
+DZIL_DEPENDS="
+ dev-perl/Dist-Zilla
+ dev-perl/Dist-Zilla-Plugin-CheckExtraTests
+ dev-perl/Dist-Zilla-Plugin-ContributorsFile
+ dev-perl/Dist-Zilla-Plugin-Git
+ dev-perl/Dist-Zilla-Plugin-Git-Contributors
+ dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
+ dev-perl/Dist-Zilla-Plugin-Meta-Contributors
+ dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
+ dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
+ dev-perl/Dist-Zilla-Plugin-OSPrereqs
+ dev-perl/Dist-Zilla-Plugin-OurPkgVersion
+ dev-perl/Dist-Zilla-Plugin-Run
+ dev-perl/Software-License
+"
+RDEPEND="
+ !minimal? (
+ dev-perl/DBI
+ dev-perl/Expect
+ dev-perl/IPC-Shareable
+ dev-perl/XML-LibXML
+ )
+ virtual/perl-Carp
+ virtual/perl-Data-Dumper
+ dev-perl/Data-Validate-IP
+ dev-perl/Devel-Caller
+ dev-perl/Digest-HMAC
+ virtual/perl-Digest-MD5
+ virtual/perl-Exporter
+ virtual/perl-File-Spec
+ dev-perl/HTTP-Message
+ dev-perl/Hash-Merge
+ virtual/perl-IO
+ dev-perl/IO-String
+ dev-perl/IO-Tty
+ dev-perl/JSON-MaybeXS
+ virtual/perl-MIME-Base64
+ dev-perl/Net-OpenSSH
+ dev-perl/Net-SFTP-Foreign
+ virtual/perl-Scalar-List-Utils
+ dev-perl/Parallel-ForkManager
+ dev-perl/Sort-Naturally
+ dev-perl/String-Escape
+ virtual/perl-Storable
+ dev-perl/TermReadKey
+ virtual/perl-Test-Simple
+ dev-perl/Text-Glob
+ virtual/perl-Text-Tabs+Wrap
+ virtual/perl-Time-HiRes
+ dev-perl/URI
+ dev-perl/XML-Simple
+ dev-perl/libwww-perl
+ dev-perl/YAML
+ virtual/perl-version
+"
+
+BDEPEND="
+ ${RDEPEND}
+ >=virtual/perl-CPAN-Meta-Requirements-2.120.620
+ >=virtual/perl-ExtUtils-MakeMaker-7.110.100
+ >=dev-perl/File-ShareDir-Install-0.60.0
+ virtual/perl-Module-Metadata
+ test? (
+ virtual/perl-File-Temp
+ dev-perl/Test-Deep
+ dev-perl/Test-Output
+ dev-perl/Test-UseAllModules
+ virtual/perl-autodie
+ )
+"
+
+[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
+
+src_unpack() {
+ if [[ $PV == 9999 ]]; then
+ "${VCS_ECLASS}"_src_unpack
+ mkdir -p "${S}" || die "Can't make ${S}"
+ else
+ default
+ fi
+}
+
+dzil_src_prep() {
+ einfo "Patching dist.ini"
+
+ # This block of sed invocations removes all plugins that aren't
+ # useful for users to have on Gentoo, because all of them are
+ # conditional and subjective style checks, which don't indicate
+ # a real issue for users, and paying the price of their dependencies is undesired.
+
+ # The {N;d} trick adds the [n]ext line after the match to the pattern-space
+ # so that the final [d]elete deletes the next line too. Can be expanded for each
+ # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
+ sed -e '/^\[Test::Kwalitee\]/d' \
+ -e '/^\[PodSyntaxTests\]/d' \
+ -e '/^Perl::Critic::Freenode =/d' \
+ -e '/^Perl::Critic::TooMuchCode =/d' \
+ -e '/^Test::Kwalitee =/d' \
+ -e '/^Test::PerlTidy =/d' \
+ -e '/^Test::Pod =/d' \
+ -e '/^\[Test::CPAN::Changes\]/{N;d}' \
+ -e '/^\[OptionalFeature/,/^$/d' \
+ -e '/^\[Test::MinimumVersion\]/{N;d}' \
+ -i dist.ini || die "Can't patch dist.ini"
+}
+dzil_env_setup() {
+ # NextRelease noise :(
+ mkdir -p ~/.dzil/ || die "mkdir -p ~/.dzil/ failed"
+ local user="$(whoami)"
+ local host="$(hostname)"
+ printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
+
+}
+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_src_prep
+ dzil_env_setup
+
+ 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
+ # Uses git sources in WORKDIR/rex-git
+ # to generate a CPAN-style tree in ${S}
+ # before letting perl-module.eclass do the rest
+ dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
+ fi
+ cd "${S}" || die "Can't enter build dir"
+ perl-module_src_prepare
+}
+
+src_install() {
+ newbashcomp "share/${PN}-tab-completion.bash" "${PN}"
+
+ insinto /usr/share/zsh/site-functions
+ newins "share/${PN}-tab-completion.zsh" "_${PN}"
+
+ perl-module_src_install
+}
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2020-11-11 21:44 Patrice Clement
0 siblings, 0 replies; 58+ messages in thread
From: Patrice Clement @ 2020-11-11 21:44 UTC (permalink / raw
To: gentoo-commits
commit: 2110b29d0ba2a166a483bffa5f522c80aac0cf43
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Thu Oct 29 08:05:42 2020 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Nov 11 21:40:51 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2110b29d
app-admin/rex: update live ebuild.
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/18066
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
app-admin/rex/rex-9999.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-9999.ebuild
index d832e4f2b87..b8623b485c3 100644
--- a/app-admin/rex/rex-9999.ebuild
+++ b/app-admin/rex/rex-9999.ebuild
@@ -121,8 +121,9 @@ dzil_src_prep() {
# so that the final [d]elete deletes the next line too. Can be expanded for each
# line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
sed -e '/^\[Test::Kwalitee\]/d' \
- -e '/^\[Test::Perl::Critic\]/d' \
-e '/^\[PodSyntaxTests\]/d' \
+ -e '/^Perl::Critic::Freenode =/d' \
+ -e '/^Perl::Critic::TooMuchCode =/d' \
-e '/^Test::Kwalitee =/d' \
-e '/^Test::PerlTidy =/d' \
-e '/^Test::Pod =/d' \
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2020-11-11 21:44 Patrice Clement
0 siblings, 0 replies; 58+ messages in thread
From: Patrice Clement @ 2020-11-11 21:44 UTC (permalink / raw
To: gentoo-commits
commit: d0f9e8df955d1a0623ccbc9aefada8f0d7b09b9b
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Thu Oct 29 08:06:38 2020 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Nov 11 21:40:54 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0f9e8df
app-admin/rex: bump version to 1.13.0.
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
app-admin/rex/Manifest | 1 +
app-admin/rex/rex-1.13.0.ebuild | 204 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 205 insertions(+)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index e5e4e469fd9..3423bf02d6a 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -1,2 +1,3 @@
DIST Rex-1.12.1.tar.gz 339065 BLAKE2B fd026e66a4e1cf6d4c8b15f7fcba0525a3e98346464170f27d5ef7bb54f1decd7450d87d9f23bee8378df4647eacf512c06a8d051bb76021cbcae472e2c2012d SHA512 774452511d97106bb6586324ff4e8642b05be628c80f3adbba7fd82558c82236878e969512bab398e26a1a7a271a7614108761bd0fb888a2122167806796bad1
DIST Rex-1.12.2.tar.gz 343716 BLAKE2B bb546298305e2e210ea67a21c948f364d3c0ee5947c8d716606fc81cfd07c4b1eea9e6ce8fd3fd49a0cffd33a964e0d328f60d570fa18fa3452b334a7882b279 SHA512 867942eec63ba71b591b93d6c0af794605f86571ef6d1be473989314cb7fc7d4e8d906ef25e30ea56beeaefe953c884661d9b769452587a3d4892de10163b6c7
+DIST Rex-1.13.0.tar.gz 344412 BLAKE2B 220e3dff378bdf5c607f2be94952a68f4c3e72ab362518566e16be55a837cef64f12af8f487e1f26bec04e3b5b4781d1d8eecc6aa347a666c2eb616595371919 SHA512 9e717decbe27a630e83c8194418783cb38c63fedb7f8c4a437395ebc3db21a45cc2057bcb6b2bc689255ab8f579908ad7158031e3a019886634fae3f6e6fb511
diff --git a/app-admin/rex/rex-1.13.0.ebuild b/app-admin/rex/rex-1.13.0.ebuild
new file mode 100644
index 00000000000..b8623b485c3
--- /dev/null
+++ b/app-admin/rex/rex-1.13.0.ebuild
@@ -0,0 +1,204 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} == 9999 ]]; then
+ GITHUB_USER=RexOps
+ GITHUB_REPO=Rex
+ EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
+ EGIT_BRANCH="master"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
+ VCS_ECLASS="git-r3"
+else
+ # This is intentional to stop perl-module.eclass doing magic things when it
+ # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
+ # Also prevents perl-module.eclass provisioning SRC_URI
+ DIST_AUTHOR=FERKI
+ DIST_NAME=Rex
+ KEYWORDS="~amd64 ~x86"
+fi
+inherit bash-completion-r1 perl-module ${VCS_ECLASS}
+
+DESCRIPTION="(R)?ex, the friendly automation framework"
+
+SLOT="0"
+IUSE="minimal test"
+RESTRICT="!test? ( test )"
+
+DZIL_DEPENDS="
+ dev-perl/Dist-Zilla
+ dev-perl/Dist-Zilla-Plugin-CheckExtraTests
+ dev-perl/Dist-Zilla-Plugin-ContributorsFile
+ dev-perl/Dist-Zilla-Plugin-Git
+ dev-perl/Dist-Zilla-Plugin-Git-Contributors
+ dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
+ dev-perl/Dist-Zilla-Plugin-Meta-Contributors
+ dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
+ dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
+ dev-perl/Dist-Zilla-Plugin-OSPrereqs
+ dev-perl/Dist-Zilla-Plugin-OurPkgVersion
+ dev-perl/Dist-Zilla-Plugin-Run
+ dev-perl/Software-License
+"
+RDEPEND="
+ !minimal? (
+ dev-perl/DBI
+ dev-perl/Expect
+ dev-perl/IPC-Shareable
+ dev-perl/XML-LibXML
+ )
+ virtual/perl-Carp
+ virtual/perl-Data-Dumper
+ dev-perl/Data-Validate-IP
+ dev-perl/Devel-Caller
+ dev-perl/Digest-HMAC
+ virtual/perl-Digest-MD5
+ virtual/perl-Exporter
+ virtual/perl-File-Spec
+ dev-perl/HTTP-Message
+ dev-perl/Hash-Merge
+ virtual/perl-IO
+ dev-perl/IO-String
+ dev-perl/IO-Tty
+ dev-perl/JSON-MaybeXS
+ dev-perl/List-MoreUtils
+ virtual/perl-MIME-Base64
+ dev-perl/Net-OpenSSH
+ dev-perl/Net-SFTP-Foreign
+ virtual/perl-Scalar-List-Utils
+ dev-perl/Parallel-ForkManager
+ dev-perl/Sort-Naturally
+ dev-perl/String-Escape
+ virtual/perl-Storable
+ dev-perl/TermReadKey
+ virtual/perl-Test-Simple
+ dev-perl/Text-Glob
+ virtual/perl-Text-Tabs+Wrap
+ virtual/perl-Time-HiRes
+ dev-perl/URI
+ dev-perl/XML-Simple
+ dev-perl/libwww-perl
+ dev-perl/YAML
+ virtual/perl-version
+"
+
+BDEPEND="
+ ${RDEPEND}
+ >=virtual/perl-CPAN-Meta-Requirements-2.120.620
+ >=virtual/perl-ExtUtils-MakeMaker-7.110.100
+ >=dev-perl/File-ShareDir-Install-0.60.0
+ virtual/perl-Module-Metadata
+ test? (
+ virtual/perl-File-Temp
+ dev-perl/Test-Deep
+ dev-perl/Test-Output
+ dev-perl/Test-UseAllModules
+ virtual/perl-autodie
+ )
+"
+
+[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
+
+src_unpack() {
+ if [[ $PV == 9999 ]]; then
+ "${VCS_ECLASS}"_src_unpack
+ mkdir -p "${S}" || die "Can't make ${S}"
+ else
+ default
+ fi
+}
+
+dzil_src_prep() {
+ einfo "Patching dist.ini"
+
+ # This block of sed invocations removes all plugins that aren't
+ # useful for users to have on Gentoo, because all of them are
+ # conditional and subjective style checks, which don't indicate
+ # a real issue for users, and paying the price of their dependencies is undesired.
+
+ # The {N;d} trick adds the [n]ext line after the match to the pattern-space
+ # so that the final [d]elete deletes the next line too. Can be expanded for each
+ # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
+ sed -e '/^\[Test::Kwalitee\]/d' \
+ -e '/^\[PodSyntaxTests\]/d' \
+ -e '/^Perl::Critic::Freenode =/d' \
+ -e '/^Perl::Critic::TooMuchCode =/d' \
+ -e '/^Test::Kwalitee =/d' \
+ -e '/^Test::PerlTidy =/d' \
+ -e '/^Test::Pod =/d' \
+ -e '/^\[Test::CPAN::Changes\]/{N;d}' \
+ -e '/^\[OptionalFeature/,/^$/d' \
+ -e '/^\[Test::MinimumVersion\]/{N;d}' \
+ -i dist.ini || die "Can't patch dist.ini"
+}
+dzil_env_setup() {
+ # NextRelease noise :(
+ mkdir -p ~/.dzil/
+ local user="$(whoami)"
+ local host="$(hostname)"
+ printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
+
+}
+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_src_prep
+ dzil_env_setup
+
+ 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
+ # Uses git sources in WORKDIR/rex-git
+ # to generate a CPAN-style tree in ${S}
+ # before letting perl-module.eclass do the rest
+ dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
+ fi
+ cd "${S}" || die "Can't enter build dir"
+ perl-module_src_prepare
+}
+
+src_install() {
+ newbashcomp "share/${PN}-tab-completion.bash" "${PN}"
+
+ insinto /usr/share/zsh/site-functions
+ newins "share/${PN}-tab-completion.zsh" "_${PN}"
+
+ perl-module_src_install
+}
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2020-11-11 21:44 Patrice Clement
0 siblings, 0 replies; 58+ messages in thread
From: Patrice Clement @ 2020-11-11 21:44 UTC (permalink / raw
To: gentoo-commits
commit: b846ef49133e34dd973a04c1d00eaf097ac9c804
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Sat Nov 7 11:50:29 2020 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Nov 11 21:40:55 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b846ef49
app-admin/rex: drop old.
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
app-admin/rex/Manifest | 2 -
app-admin/rex/rex-1.12.1.ebuild | 196 --------------------------------------
app-admin/rex/rex-1.12.2.ebuild | 203 ----------------------------------------
3 files changed, 401 deletions(-)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index 095f59173fe..70748a374eb 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -1,4 +1,2 @@
-DIST Rex-1.12.1.tar.gz 339065 BLAKE2B fd026e66a4e1cf6d4c8b15f7fcba0525a3e98346464170f27d5ef7bb54f1decd7450d87d9f23bee8378df4647eacf512c06a8d051bb76021cbcae472e2c2012d SHA512 774452511d97106bb6586324ff4e8642b05be628c80f3adbba7fd82558c82236878e969512bab398e26a1a7a271a7614108761bd0fb888a2122167806796bad1
-DIST Rex-1.12.2.tar.gz 343716 BLAKE2B bb546298305e2e210ea67a21c948f364d3c0ee5947c8d716606fc81cfd07c4b1eea9e6ce8fd3fd49a0cffd33a964e0d328f60d570fa18fa3452b334a7882b279 SHA512 867942eec63ba71b591b93d6c0af794605f86571ef6d1be473989314cb7fc7d4e8d906ef25e30ea56beeaefe953c884661d9b769452587a3d4892de10163b6c7
DIST Rex-1.13.0.tar.gz 344412 BLAKE2B 220e3dff378bdf5c607f2be94952a68f4c3e72ab362518566e16be55a837cef64f12af8f487e1f26bec04e3b5b4781d1d8eecc6aa347a666c2eb616595371919 SHA512 9e717decbe27a630e83c8194418783cb38c63fedb7f8c4a437395ebc3db21a45cc2057bcb6b2bc689255ab8f579908ad7158031e3a019886634fae3f6e6fb511
DIST Rex-1.13.1.tar.gz 347483 BLAKE2B bab66dffa3e0c0ae6b54bb8a76adfff0858797370389d5329169e5a7a2e6091a5d866feae14c5764b9d87bf920ff9ee5951cc69be4311c9c362e49f58f24659f SHA512 d68bf98e83a04a28d904db683e3cc0984f019ffc6be589f261b4bc44300b753c03e751b87936d9d831bf6456bdcff916cc2a84c0a1a6c11e20c47bf2533575fc
diff --git a/app-admin/rex/rex-1.12.1.ebuild b/app-admin/rex/rex-1.12.1.ebuild
deleted file mode 100644
index d8e8649d2bd..00000000000
--- a/app-admin/rex/rex-1.12.1.ebuild
+++ /dev/null
@@ -1,196 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-if [[ ${PV} == 9999 ]]; then
- GITHUB_USER=RexOps
- GITHUB_REPO=Rex
- EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
- EGIT_BRANCH="master"
- EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
- VCS_ECLASS="git-r3"
-else
- # This is intentional to stop perl-module.eclass doing magic things when it
- # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
- # Also prevents perl-module.eclass provisioning SRC_URI
- DIST_AUTHOR=FERKI
- DIST_NAME=Rex
- KEYWORDS="~amd64 ~x86"
-fi
-inherit bash-completion-r1 perl-module ${VCS_ECLASS}
-
-DESCRIPTION="(R)?ex, the friendly automation framework"
-
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DZIL_DEPENDS="
- dev-perl/Dist-Zilla
- dev-perl/Dist-Zilla-Plugin-CheckExtraTests
- dev-perl/Dist-Zilla-Plugin-ContributorsFile
- dev-perl/Dist-Zilla-Plugin-Git-Contributors
- dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
- dev-perl/Dist-Zilla-Plugin-Meta-Contributors
- dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
- dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
- dev-perl/Dist-Zilla-Plugin-OSPrereqs
- dev-perl/Dist-Zilla-Plugin-OurPkgVersion
- dev-perl/Dist-Zilla-Plugin-Run
- dev-perl/Software-License
-"
-RDEPEND="
- virtual/perl-Carp
- virtual/perl-Data-Dumper
- dev-perl/Data-Validate-IP
- dev-perl/DBI
- dev-perl/Devel-Caller
- dev-perl/Digest-HMAC
- virtual/perl-Digest-MD5
- dev-perl/Expect
- virtual/perl-Exporter
- virtual/perl-File-Spec
- dev-perl/HTTP-Message
- dev-perl/Hash-Merge
- virtual/perl-IO
- dev-perl/IO-String
- dev-perl/IO-Tty
- dev-perl/IPC-Shareable
- dev-perl/JSON-MaybeXS
- dev-perl/List-MoreUtils
- virtual/perl-MIME-Base64
- dev-perl/Net-OpenSSH
- dev-perl/Net-SFTP-Foreign
- virtual/perl-Scalar-List-Utils
- dev-perl/Parallel-ForkManager
- dev-perl/Sort-Naturally
- dev-perl/String-Escape
- virtual/perl-Storable
- dev-perl/TermReadKey
- virtual/perl-Test-Simple
- dev-perl/Text-Glob
- virtual/perl-Text-Tabs+Wrap
- virtual/perl-Time-HiRes
- dev-perl/URI
- dev-perl/XML-LibXML
- dev-perl/XML-Simple
- dev-perl/libwww-perl
- dev-perl/YAML
- virtual/perl-version
-"
-
-BDEPEND="
- ${RDEPEND}
- >=virtual/perl-ExtUtils-MakeMaker-7.110.100
- >=dev-perl/File-ShareDir-Install-0.60.0
- test? (
- virtual/perl-File-Temp
- dev-perl/Test-Deep
- >=dev-perl/Test-UseAllModules-0.150.0
- virtual/perl-autodie
- )
-"
-
-[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
-
-src_unpack() {
- if [[ $PV == 9999 ]]; then
- "${VCS_ECLASS}"_src_unpack
- mkdir -p "${S}" || die "Can't make ${S}"
- else
- default
- fi
-}
-
-dzil_src_prep() {
- einfo "Patching dist.ini"
-
- # This block of sed invocations removes all plugins that aren't
- # useful for users to have on Gentoo, because all of them are
- # conditional and subjective style checks, which don't indicate
- # a real issue for users, and paying the price of their dependencies is undesired.
-
- # The {N;d} trick adds the [n]ext line after the match to the pattern-space
- # so that the final [d]elete deletes the next line too. Can be expanded for each
- # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
- sed -e '/^\[Test::Kwalitee\]/d' \
- -e '/^\[Test::Perl::Critic\]/d' \
- -e '/^\[PodSyntaxTests\]/d' \
- -e '/^Test::Kwalitee =/d' \
- -e '/^Test::PerlTidy =/d' \
- -e '/^Test::Pod =/d' \
- -e '/^\[Test::CPAN::Changes\]/{N;d}' \
- -e '/^\[Test::MinimumVersion\]/{N;d}' \
- -i dist.ini || die "Can't patch dist.ini"
-}
-dzil_env_setup() {
- # NextRelease noise :(
- mkdir -p ~/.dzil/
- local user="$(whoami)"
- local host="$(hostname)"
- printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
-
-}
-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_src_prep
- dzil_env_setup
-
- 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
- # Uses git sources in WORKDIR/rex-git
- # to generate a CPAN-style tree in ${S}
- # before letting perl-module.eclass do the rest
- dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
- fi
- cd "${S}" || die "Can't enter build dir"
- perl-module_src_prepare
-}
-
-src_install() {
- newbashcomp "share/${PN}-tab-completion.bash" "${PN}"
-
- insinto /usr/share/zsh/site-functions
- newins "share/${PN}-tab-completion.zsh" "_${PN}"
-
- perl-module_src_install
-}
diff --git a/app-admin/rex/rex-1.12.2.ebuild b/app-admin/rex/rex-1.12.2.ebuild
deleted file mode 100644
index d832e4f2b87..00000000000
--- a/app-admin/rex/rex-1.12.2.ebuild
+++ /dev/null
@@ -1,203 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-if [[ ${PV} == 9999 ]]; then
- GITHUB_USER=RexOps
- GITHUB_REPO=Rex
- EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
- EGIT_BRANCH="master"
- EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
- VCS_ECLASS="git-r3"
-else
- # This is intentional to stop perl-module.eclass doing magic things when it
- # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
- # Also prevents perl-module.eclass provisioning SRC_URI
- DIST_AUTHOR=FERKI
- DIST_NAME=Rex
- KEYWORDS="~amd64 ~x86"
-fi
-inherit bash-completion-r1 perl-module ${VCS_ECLASS}
-
-DESCRIPTION="(R)?ex, the friendly automation framework"
-
-SLOT="0"
-IUSE="minimal test"
-RESTRICT="!test? ( test )"
-
-DZIL_DEPENDS="
- dev-perl/Dist-Zilla
- dev-perl/Dist-Zilla-Plugin-CheckExtraTests
- dev-perl/Dist-Zilla-Plugin-ContributorsFile
- dev-perl/Dist-Zilla-Plugin-Git
- dev-perl/Dist-Zilla-Plugin-Git-Contributors
- dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
- dev-perl/Dist-Zilla-Plugin-Meta-Contributors
- dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
- dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
- dev-perl/Dist-Zilla-Plugin-OSPrereqs
- dev-perl/Dist-Zilla-Plugin-OurPkgVersion
- dev-perl/Dist-Zilla-Plugin-Run
- dev-perl/Software-License
-"
-RDEPEND="
- !minimal? (
- dev-perl/DBI
- dev-perl/Expect
- dev-perl/IPC-Shareable
- dev-perl/XML-LibXML
- )
- virtual/perl-Carp
- virtual/perl-Data-Dumper
- dev-perl/Data-Validate-IP
- dev-perl/Devel-Caller
- dev-perl/Digest-HMAC
- virtual/perl-Digest-MD5
- virtual/perl-Exporter
- virtual/perl-File-Spec
- dev-perl/HTTP-Message
- dev-perl/Hash-Merge
- virtual/perl-IO
- dev-perl/IO-String
- dev-perl/IO-Tty
- dev-perl/JSON-MaybeXS
- dev-perl/List-MoreUtils
- virtual/perl-MIME-Base64
- dev-perl/Net-OpenSSH
- dev-perl/Net-SFTP-Foreign
- virtual/perl-Scalar-List-Utils
- dev-perl/Parallel-ForkManager
- dev-perl/Sort-Naturally
- dev-perl/String-Escape
- virtual/perl-Storable
- dev-perl/TermReadKey
- virtual/perl-Test-Simple
- dev-perl/Text-Glob
- virtual/perl-Text-Tabs+Wrap
- virtual/perl-Time-HiRes
- dev-perl/URI
- dev-perl/XML-Simple
- dev-perl/libwww-perl
- dev-perl/YAML
- virtual/perl-version
-"
-
-BDEPEND="
- ${RDEPEND}
- >=virtual/perl-CPAN-Meta-Requirements-2.120.620
- >=virtual/perl-ExtUtils-MakeMaker-7.110.100
- >=dev-perl/File-ShareDir-Install-0.60.0
- virtual/perl-Module-Metadata
- test? (
- virtual/perl-File-Temp
- dev-perl/Test-Deep
- dev-perl/Test-Output
- dev-perl/Test-UseAllModules
- virtual/perl-autodie
- )
-"
-
-[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
-
-src_unpack() {
- if [[ $PV == 9999 ]]; then
- "${VCS_ECLASS}"_src_unpack
- mkdir -p "${S}" || die "Can't make ${S}"
- else
- default
- fi
-}
-
-dzil_src_prep() {
- einfo "Patching dist.ini"
-
- # This block of sed invocations removes all plugins that aren't
- # useful for users to have on Gentoo, because all of them are
- # conditional and subjective style checks, which don't indicate
- # a real issue for users, and paying the price of their dependencies is undesired.
-
- # The {N;d} trick adds the [n]ext line after the match to the pattern-space
- # so that the final [d]elete deletes the next line too. Can be expanded for each
- # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
- sed -e '/^\[Test::Kwalitee\]/d' \
- -e '/^\[Test::Perl::Critic\]/d' \
- -e '/^\[PodSyntaxTests\]/d' \
- -e '/^Test::Kwalitee =/d' \
- -e '/^Test::PerlTidy =/d' \
- -e '/^Test::Pod =/d' \
- -e '/^\[Test::CPAN::Changes\]/{N;d}' \
- -e '/^\[OptionalFeature/,/^$/d' \
- -e '/^\[Test::MinimumVersion\]/{N;d}' \
- -i dist.ini || die "Can't patch dist.ini"
-}
-dzil_env_setup() {
- # NextRelease noise :(
- mkdir -p ~/.dzil/
- local user="$(whoami)"
- local host="$(hostname)"
- printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
-
-}
-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_src_prep
- dzil_env_setup
-
- 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
- # Uses git sources in WORKDIR/rex-git
- # to generate a CPAN-style tree in ${S}
- # before letting perl-module.eclass do the rest
- dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
- fi
- cd "${S}" || die "Can't enter build dir"
- perl-module_src_prepare
-}
-
-src_install() {
- newbashcomp "share/${PN}-tab-completion.bash" "${PN}"
-
- insinto /usr/share/zsh/site-functions
- newins "share/${PN}-tab-completion.zsh" "_${PN}"
-
- perl-module_src_install
-}
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2020-11-13 7:51 Kent Fredric
0 siblings, 0 replies; 58+ messages in thread
From: Kent Fredric @ 2020-11-13 7:51 UTC (permalink / raw
To: gentoo-commits
commit: e6bd284cea8c7a6e2fb83526b2332980dd662d18
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 13 07:46:04 2020 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Fri Nov 13 07:51:29 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6bd284c
app-admin/rex: remove proxy-maint from maintainers
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
app-admin/rex/metadata.xml | 4 ----
1 file changed, 4 deletions(-)
diff --git a/app-admin/rex/metadata.xml b/app-admin/rex/metadata.xml
index a1b89deccc2..ca2406f144a 100644
--- a/app-admin/rex/metadata.xml
+++ b/app-admin/rex/metadata.xml
@@ -13,10 +13,6 @@
<email>kentnl@gentoo.org</email>
<name>Kent Fredric</name>
</maintainer>
- <maintainer type="project">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
<upstream>
<remote-id type="github">RexOps/Rex</remote-id>
<remote-id type="cpan">Rex</remote-id>
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2020-11-13 7:51 Kent Fredric
0 siblings, 0 replies; 58+ messages in thread
From: Kent Fredric @ 2020-11-13 7:51 UTC (permalink / raw
To: gentoo-commits
commit: 0112abb1935e4582dea0ed1d433528a748826db1
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 13 07:50:37 2020 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Fri Nov 13 07:51:33 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0112abb1
app-admin/rex: -9999 fix error handling on mkdir
This was previously applied to the non-9999 version, which is utterly
silly as this code path can't even be executed unless $PV==9999
And extra silly, because it wasn't fixed in the version where it CAN
run.
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
app-admin/rex/rex-9999.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-9999.ebuild
index 9f5222cbfb7..6a9496d529c 100644
--- a/app-admin/rex/rex-9999.ebuild
+++ b/app-admin/rex/rex-9999.ebuild
@@ -133,7 +133,7 @@ dzil_src_prep() {
}
dzil_env_setup() {
# NextRelease noise :(
- mkdir -p ~/.dzil/
+ mkdir -p ~/.dzil/ || die "mkdir -p ~/.dzil/ failed"
local user="$(whoami)"
local host="$(hostname)"
printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2020-11-14 9:34 Kent Fredric
0 siblings, 0 replies; 58+ messages in thread
From: Kent Fredric @ 2020-11-14 9:34 UTC (permalink / raw
To: gentoo-commits
commit: b06c8cb0ab916ed51493741f76e6a5645b1ee5ad
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 14 09:19:51 2020 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Sat Nov 14 09:32:49 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b06c8cb0
app-admin/rex: -9999 strip authortests w/ false-postive missing deps
These files make `dzil listdeps` report additional dependencies that
aren't actually useful or needed anywhere in the build.
Stripping them makes the number of complained about missing deps in
einfo logs smaller
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
app-admin/rex/rex-9999.ebuild | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-9999.ebuild
index 6a9496d529c..f3a8a74be86 100644
--- a/app-admin/rex/rex-9999.ebuild
+++ b/app-admin/rex/rex-9999.ebuild
@@ -130,6 +130,12 @@ dzil_src_prep() {
-e '/^\[OptionalFeature/,/^$/d' \
-e '/^\[Test::MinimumVersion\]/{N;d}' \
-i dist.ini || die "Can't patch dist.ini"
+
+ # Removals/additons have to be tracked by git or dzil build fails
+ # Spurious warning during src_prepare
+ git rm -f xt/author/critic-progressive.t || die "Can't rm author/critic-progressive.t"
+ # Spurious warning during src_prepare
+ git rm -f xt/author/perltidy.t || die "Can't rm author/perltidy.t"
}
dzil_env_setup() {
# NextRelease noise :(
@@ -146,7 +152,7 @@ dzil_to_distdir() {
cd "${dzil_root}" || die "Can't enter git workdir '${dzil_root}'";
- dzil_src_prep
+ S="${dzil_root}" dzil_src_prep
dzil_env_setup
dzil_version="$(dzil version)" || die "Error invoking 'dzil version'"
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2020-11-14 9:34 Kent Fredric
0 siblings, 0 replies; 58+ messages in thread
From: Kent Fredric @ 2020-11-14 9:34 UTC (permalink / raw
To: gentoo-commits
commit: fa7707eec220899ef409de56d9e90a0df79ae238
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 14 09:25:18 2020 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Sat Nov 14 09:32:55 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa7707ee
app-admin/rex: -9999 strip db.t if it would break tests
Test::mysqld is still a work in progress to get working.
If you managed to DIY something that installs, but didn't do the magic
required for it to actually work, then db.t will break.
This tests for basic conditions and strips that file *only* if its
expected it will lead to a test failure.
If you've manually installed Test::mysqld and tweaked a PATH to include
"mysql_install_db", then this test should be retained and pass.
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
app-admin/rex/rex-9999.ebuild | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-9999.ebuild
index f3a8a74be86..2d05b364666 100644
--- a/app-admin/rex/rex-9999.ebuild
+++ b/app-admin/rex/rex-9999.ebuild
@@ -81,7 +81,7 @@ RDEPEND="
dev-perl/YAML
virtual/perl-version
"
-
+# NB: would add test? !minimal? Test-mysqld, but I can't get that to work
BDEPEND="
${RDEPEND}
>=virtual/perl-CPAN-Meta-Requirements-2.120.620
@@ -196,6 +196,13 @@ src_prepare() {
dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
fi
cd "${S}" || die "Can't enter build dir"
+
+ # If you DIY installed Test::mysqld, but didn't patch
+ # it to handle the fact on Gentoo, mysql_install_db is NOT in PATH
+ # tests fail. So this test is patched out if mysql_install_db is not in PATH
+ if perl_has_module "Test::mysqld" && ! type -P mysql_install_db >/dev/null; then
+ perl_rm_files "t/db.t"
+ fi
perl-module_src_prepare
}
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2020-11-14 9:34 Kent Fredric
0 siblings, 0 replies; 58+ messages in thread
From: Kent Fredric @ 2020-11-14 9:34 UTC (permalink / raw
To: gentoo-commits
commit: 1e516e11fd311ec5d4e6793edcfc462b1e18b8a9
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 14 09:28:28 2020 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Sat Nov 14 09:32:59 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e516e11
app-admin/rex: -9999 update deps
Update/add dependencies based on 1.13.1 CPAN diff
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
app-admin/rex/rex-9999.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-9999.ebuild
index 2d05b364666..6942c13d2e5 100644
--- a/app-admin/rex/rex-9999.ebuild
+++ b/app-admin/rex/rex-9999.ebuild
@@ -65,7 +65,7 @@ RDEPEND="
virtual/perl-MIME-Base64
dev-perl/Net-OpenSSH
dev-perl/Net-SFTP-Foreign
- virtual/perl-Scalar-List-Utils
+ >=virtual/perl-Scalar-List-Utils-1.450.0
dev-perl/Parallel-ForkManager
dev-perl/Sort-Naturally
dev-perl/String-Escape
@@ -89,6 +89,9 @@ BDEPEND="
>=dev-perl/File-ShareDir-Install-0.60.0
virtual/perl-Module-Metadata
test? (
+ !minimal? (
+ dev-perl/File-LibMagic
+ )
virtual/perl-File-Temp
dev-perl/Test-Deep
dev-perl/Test-Output
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2021-02-28 23:28 Sam James
0 siblings, 0 replies; 58+ messages in thread
From: Sam James @ 2021-02-28 23:28 UTC (permalink / raw
To: gentoo-commits
commit: ccd6a52f77c5407e6357bfc1398e3d184244d1b7
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 28 23:26:55 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 28 23:26:55 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccd6a52f
app-admin/rex: retire kentnl@
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-admin/rex/metadata.xml | 4 ----
1 file changed, 4 deletions(-)
diff --git a/app-admin/rex/metadata.xml b/app-admin/rex/metadata.xml
index ca2406f144a..33feceea464 100644
--- a/app-admin/rex/metadata.xml
+++ b/app-admin/rex/metadata.xml
@@ -9,10 +9,6 @@
<email>patrick@gentoo.org</email>
<name>Patrick Lauer</name>
</maintainer>
- <maintainer type="person">
- <email>kentnl@gentoo.org</email>
- <name>Kent Fredric</name>
- </maintainer>
<upstream>
<remote-id type="github">RexOps/Rex</remote-id>
<remote-id type="cpan">Rex</remote-id>
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2021-03-06 22:02 Patrice Clement
0 siblings, 0 replies; 58+ messages in thread
From: Patrice Clement @ 2021-03-06 22:02 UTC (permalink / raw
To: gentoo-commits
commit: e1b0bded458e45ce80224458531d37ce55889d6e
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Tue Mar 2 17:33:28 2021 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Mar 6 22:02:20 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1b0bded
app-admin/rex: bump version to 1.13.3.
Closes: https://github.com/gentoo/gentoo/pull/19738
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
app-admin/rex/Manifest | 1 +
app-admin/rex/{rex-9999.ebuild => rex-1.13.3.ebuild} | 4 ++--
app-admin/rex/rex-9999.ebuild | 4 ++--
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index 70748a374eb..7f054c115ec 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -1,2 +1,3 @@
DIST Rex-1.13.0.tar.gz 344412 BLAKE2B 220e3dff378bdf5c607f2be94952a68f4c3e72ab362518566e16be55a837cef64f12af8f487e1f26bec04e3b5b4781d1d8eecc6aa347a666c2eb616595371919 SHA512 9e717decbe27a630e83c8194418783cb38c63fedb7f8c4a437395ebc3db21a45cc2057bcb6b2bc689255ab8f579908ad7158031e3a019886634fae3f6e6fb511
DIST Rex-1.13.1.tar.gz 347483 BLAKE2B bab66dffa3e0c0ae6b54bb8a76adfff0858797370389d5329169e5a7a2e6091a5d866feae14c5764b9d87bf920ff9ee5951cc69be4311c9c362e49f58f24659f SHA512 d68bf98e83a04a28d904db683e3cc0984f019ffc6be589f261b4bc44300b753c03e751b87936d9d831bf6456bdcff916cc2a84c0a1a6c11e20c47bf2533575fc
+DIST Rex-1.13.3.tar.gz 349550 BLAKE2B c2ccc2144e56761d33ed2b5d790febd49863639d2e3bba8028b7937b43eb51e7e59e9e99cb1d67f247b2dff8ef91aa04776afd6277ad8a2370f35d71e0b528dd SHA512 beab22aef8ba620b6e74847698eab99977844d2e9632812a9ae0e1ee303cbe4e5a6489000bd5209d76e42e3bb4bb799a90408ed6fb14e034f68132a4d37766dc
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-1.13.3.ebuild
similarity index 98%
copy from app-admin/rex/rex-9999.ebuild
copy to app-admin/rex/rex-1.13.3.ebuild
index 6942c13d2e5..9576447c007 100644
--- a/app-admin/rex/rex-9999.ebuild
+++ b/app-admin/rex/rex-1.13.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -134,7 +134,7 @@ dzil_src_prep() {
-e '/^\[Test::MinimumVersion\]/{N;d}' \
-i dist.ini || die "Can't patch dist.ini"
- # Removals/additons have to be tracked by git or dzil build fails
+ # Removals/additions have to be tracked by git or dzil build fails
# Spurious warning during src_prepare
git rm -f xt/author/critic-progressive.t || die "Can't rm author/critic-progressive.t"
# Spurious warning during src_prepare
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-9999.ebuild
index 6942c13d2e5..9576447c007 100644
--- a/app-admin/rex/rex-9999.ebuild
+++ b/app-admin/rex/rex-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -134,7 +134,7 @@ dzil_src_prep() {
-e '/^\[Test::MinimumVersion\]/{N;d}' \
-i dist.ini || die "Can't patch dist.ini"
- # Removals/additons have to be tracked by git or dzil build fails
+ # Removals/additions have to be tracked by git or dzil build fails
# Spurious warning during src_prepare
git rm -f xt/author/critic-progressive.t || die "Can't rm author/critic-progressive.t"
# Spurious warning during src_prepare
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2021-03-06 22:02 Patrice Clement
0 siblings, 0 replies; 58+ messages in thread
From: Patrice Clement @ 2021-03-06 22:02 UTC (permalink / raw
To: gentoo-commits
commit: df59ac29c4308ddf48f57448f7bac8d56a77c691
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Sat Mar 6 10:38:04 2021 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Mar 6 22:02:21 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df59ac29
app-admin/rex: drop old.
See: https://github.com/gentoo/gentoo/pull/19738
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
app-admin/rex/Manifest | 2 -
app-admin/rex/rex-1.13.0.ebuild | 204 ----------------------------------------
app-admin/rex/rex-1.13.1.ebuild | 203 ---------------------------------------
3 files changed, 409 deletions(-)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index 7f054c115ec..6bac2adedf4 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -1,3 +1 @@
-DIST Rex-1.13.0.tar.gz 344412 BLAKE2B 220e3dff378bdf5c607f2be94952a68f4c3e72ab362518566e16be55a837cef64f12af8f487e1f26bec04e3b5b4781d1d8eecc6aa347a666c2eb616595371919 SHA512 9e717decbe27a630e83c8194418783cb38c63fedb7f8c4a437395ebc3db21a45cc2057bcb6b2bc689255ab8f579908ad7158031e3a019886634fae3f6e6fb511
-DIST Rex-1.13.1.tar.gz 347483 BLAKE2B bab66dffa3e0c0ae6b54bb8a76adfff0858797370389d5329169e5a7a2e6091a5d866feae14c5764b9d87bf920ff9ee5951cc69be4311c9c362e49f58f24659f SHA512 d68bf98e83a04a28d904db683e3cc0984f019ffc6be589f261b4bc44300b753c03e751b87936d9d831bf6456bdcff916cc2a84c0a1a6c11e20c47bf2533575fc
DIST Rex-1.13.3.tar.gz 349550 BLAKE2B c2ccc2144e56761d33ed2b5d790febd49863639d2e3bba8028b7937b43eb51e7e59e9e99cb1d67f247b2dff8ef91aa04776afd6277ad8a2370f35d71e0b528dd SHA512 beab22aef8ba620b6e74847698eab99977844d2e9632812a9ae0e1ee303cbe4e5a6489000bd5209d76e42e3bb4bb799a90408ed6fb14e034f68132a4d37766dc
diff --git a/app-admin/rex/rex-1.13.0.ebuild b/app-admin/rex/rex-1.13.0.ebuild
deleted file mode 100644
index b8623b485c3..00000000000
--- a/app-admin/rex/rex-1.13.0.ebuild
+++ /dev/null
@@ -1,204 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-if [[ ${PV} == 9999 ]]; then
- GITHUB_USER=RexOps
- GITHUB_REPO=Rex
- EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
- EGIT_BRANCH="master"
- EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
- VCS_ECLASS="git-r3"
-else
- # This is intentional to stop perl-module.eclass doing magic things when it
- # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
- # Also prevents perl-module.eclass provisioning SRC_URI
- DIST_AUTHOR=FERKI
- DIST_NAME=Rex
- KEYWORDS="~amd64 ~x86"
-fi
-inherit bash-completion-r1 perl-module ${VCS_ECLASS}
-
-DESCRIPTION="(R)?ex, the friendly automation framework"
-
-SLOT="0"
-IUSE="minimal test"
-RESTRICT="!test? ( test )"
-
-DZIL_DEPENDS="
- dev-perl/Dist-Zilla
- dev-perl/Dist-Zilla-Plugin-CheckExtraTests
- dev-perl/Dist-Zilla-Plugin-ContributorsFile
- dev-perl/Dist-Zilla-Plugin-Git
- dev-perl/Dist-Zilla-Plugin-Git-Contributors
- dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
- dev-perl/Dist-Zilla-Plugin-Meta-Contributors
- dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
- dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
- dev-perl/Dist-Zilla-Plugin-OSPrereqs
- dev-perl/Dist-Zilla-Plugin-OurPkgVersion
- dev-perl/Dist-Zilla-Plugin-Run
- dev-perl/Software-License
-"
-RDEPEND="
- !minimal? (
- dev-perl/DBI
- dev-perl/Expect
- dev-perl/IPC-Shareable
- dev-perl/XML-LibXML
- )
- virtual/perl-Carp
- virtual/perl-Data-Dumper
- dev-perl/Data-Validate-IP
- dev-perl/Devel-Caller
- dev-perl/Digest-HMAC
- virtual/perl-Digest-MD5
- virtual/perl-Exporter
- virtual/perl-File-Spec
- dev-perl/HTTP-Message
- dev-perl/Hash-Merge
- virtual/perl-IO
- dev-perl/IO-String
- dev-perl/IO-Tty
- dev-perl/JSON-MaybeXS
- dev-perl/List-MoreUtils
- virtual/perl-MIME-Base64
- dev-perl/Net-OpenSSH
- dev-perl/Net-SFTP-Foreign
- virtual/perl-Scalar-List-Utils
- dev-perl/Parallel-ForkManager
- dev-perl/Sort-Naturally
- dev-perl/String-Escape
- virtual/perl-Storable
- dev-perl/TermReadKey
- virtual/perl-Test-Simple
- dev-perl/Text-Glob
- virtual/perl-Text-Tabs+Wrap
- virtual/perl-Time-HiRes
- dev-perl/URI
- dev-perl/XML-Simple
- dev-perl/libwww-perl
- dev-perl/YAML
- virtual/perl-version
-"
-
-BDEPEND="
- ${RDEPEND}
- >=virtual/perl-CPAN-Meta-Requirements-2.120.620
- >=virtual/perl-ExtUtils-MakeMaker-7.110.100
- >=dev-perl/File-ShareDir-Install-0.60.0
- virtual/perl-Module-Metadata
- test? (
- virtual/perl-File-Temp
- dev-perl/Test-Deep
- dev-perl/Test-Output
- dev-perl/Test-UseAllModules
- virtual/perl-autodie
- )
-"
-
-[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
-
-src_unpack() {
- if [[ $PV == 9999 ]]; then
- "${VCS_ECLASS}"_src_unpack
- mkdir -p "${S}" || die "Can't make ${S}"
- else
- default
- fi
-}
-
-dzil_src_prep() {
- einfo "Patching dist.ini"
-
- # This block of sed invocations removes all plugins that aren't
- # useful for users to have on Gentoo, because all of them are
- # conditional and subjective style checks, which don't indicate
- # a real issue for users, and paying the price of their dependencies is undesired.
-
- # The {N;d} trick adds the [n]ext line after the match to the pattern-space
- # so that the final [d]elete deletes the next line too. Can be expanded for each
- # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
- sed -e '/^\[Test::Kwalitee\]/d' \
- -e '/^\[PodSyntaxTests\]/d' \
- -e '/^Perl::Critic::Freenode =/d' \
- -e '/^Perl::Critic::TooMuchCode =/d' \
- -e '/^Test::Kwalitee =/d' \
- -e '/^Test::PerlTidy =/d' \
- -e '/^Test::Pod =/d' \
- -e '/^\[Test::CPAN::Changes\]/{N;d}' \
- -e '/^\[OptionalFeature/,/^$/d' \
- -e '/^\[Test::MinimumVersion\]/{N;d}' \
- -i dist.ini || die "Can't patch dist.ini"
-}
-dzil_env_setup() {
- # NextRelease noise :(
- mkdir -p ~/.dzil/
- local user="$(whoami)"
- local host="$(hostname)"
- printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
-
-}
-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_src_prep
- dzil_env_setup
-
- 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
- # Uses git sources in WORKDIR/rex-git
- # to generate a CPAN-style tree in ${S}
- # before letting perl-module.eclass do the rest
- dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
- fi
- cd "${S}" || die "Can't enter build dir"
- perl-module_src_prepare
-}
-
-src_install() {
- newbashcomp "share/${PN}-tab-completion.bash" "${PN}"
-
- insinto /usr/share/zsh/site-functions
- newins "share/${PN}-tab-completion.zsh" "_${PN}"
-
- perl-module_src_install
-}
diff --git a/app-admin/rex/rex-1.13.1.ebuild b/app-admin/rex/rex-1.13.1.ebuild
deleted file mode 100644
index 6a9496d529c..00000000000
--- a/app-admin/rex/rex-1.13.1.ebuild
+++ /dev/null
@@ -1,203 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-if [[ ${PV} == 9999 ]]; then
- GITHUB_USER=RexOps
- GITHUB_REPO=Rex
- EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
- EGIT_BRANCH="master"
- EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
- VCS_ECLASS="git-r3"
-else
- # This is intentional to stop perl-module.eclass doing magic things when it
- # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
- # Also prevents perl-module.eclass provisioning SRC_URI
- DIST_AUTHOR=FERKI
- DIST_NAME=Rex
- KEYWORDS="~amd64 ~x86"
-fi
-inherit bash-completion-r1 perl-module ${VCS_ECLASS}
-
-DESCRIPTION="(R)?ex, the friendly automation framework"
-
-SLOT="0"
-IUSE="minimal test"
-RESTRICT="!test? ( test )"
-
-DZIL_DEPENDS="
- dev-perl/Dist-Zilla
- dev-perl/Dist-Zilla-Plugin-CheckExtraTests
- dev-perl/Dist-Zilla-Plugin-ContributorsFile
- dev-perl/Dist-Zilla-Plugin-Git
- dev-perl/Dist-Zilla-Plugin-Git-Contributors
- dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
- dev-perl/Dist-Zilla-Plugin-Meta-Contributors
- dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
- dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
- dev-perl/Dist-Zilla-Plugin-OSPrereqs
- dev-perl/Dist-Zilla-Plugin-OurPkgVersion
- dev-perl/Dist-Zilla-Plugin-Run
- dev-perl/Software-License
-"
-RDEPEND="
- !minimal? (
- dev-perl/DBI
- dev-perl/Expect
- dev-perl/IPC-Shareable
- dev-perl/XML-LibXML
- )
- virtual/perl-Carp
- virtual/perl-Data-Dumper
- dev-perl/Data-Validate-IP
- dev-perl/Devel-Caller
- dev-perl/Digest-HMAC
- virtual/perl-Digest-MD5
- virtual/perl-Exporter
- virtual/perl-File-Spec
- dev-perl/HTTP-Message
- dev-perl/Hash-Merge
- virtual/perl-IO
- dev-perl/IO-String
- dev-perl/IO-Tty
- dev-perl/JSON-MaybeXS
- virtual/perl-MIME-Base64
- dev-perl/Net-OpenSSH
- dev-perl/Net-SFTP-Foreign
- virtual/perl-Scalar-List-Utils
- dev-perl/Parallel-ForkManager
- dev-perl/Sort-Naturally
- dev-perl/String-Escape
- virtual/perl-Storable
- dev-perl/TermReadKey
- virtual/perl-Test-Simple
- dev-perl/Text-Glob
- virtual/perl-Text-Tabs+Wrap
- virtual/perl-Time-HiRes
- dev-perl/URI
- dev-perl/XML-Simple
- dev-perl/libwww-perl
- dev-perl/YAML
- virtual/perl-version
-"
-
-BDEPEND="
- ${RDEPEND}
- >=virtual/perl-CPAN-Meta-Requirements-2.120.620
- >=virtual/perl-ExtUtils-MakeMaker-7.110.100
- >=dev-perl/File-ShareDir-Install-0.60.0
- virtual/perl-Module-Metadata
- test? (
- virtual/perl-File-Temp
- dev-perl/Test-Deep
- dev-perl/Test-Output
- dev-perl/Test-UseAllModules
- virtual/perl-autodie
- )
-"
-
-[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
-
-src_unpack() {
- if [[ $PV == 9999 ]]; then
- "${VCS_ECLASS}"_src_unpack
- mkdir -p "${S}" || die "Can't make ${S}"
- else
- default
- fi
-}
-
-dzil_src_prep() {
- einfo "Patching dist.ini"
-
- # This block of sed invocations removes all plugins that aren't
- # useful for users to have on Gentoo, because all of them are
- # conditional and subjective style checks, which don't indicate
- # a real issue for users, and paying the price of their dependencies is undesired.
-
- # The {N;d} trick adds the [n]ext line after the match to the pattern-space
- # so that the final [d]elete deletes the next line too. Can be expanded for each
- # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
- sed -e '/^\[Test::Kwalitee\]/d' \
- -e '/^\[PodSyntaxTests\]/d' \
- -e '/^Perl::Critic::Freenode =/d' \
- -e '/^Perl::Critic::TooMuchCode =/d' \
- -e '/^Test::Kwalitee =/d' \
- -e '/^Test::PerlTidy =/d' \
- -e '/^Test::Pod =/d' \
- -e '/^\[Test::CPAN::Changes\]/{N;d}' \
- -e '/^\[OptionalFeature/,/^$/d' \
- -e '/^\[Test::MinimumVersion\]/{N;d}' \
- -i dist.ini || die "Can't patch dist.ini"
-}
-dzil_env_setup() {
- # NextRelease noise :(
- mkdir -p ~/.dzil/ || die "mkdir -p ~/.dzil/ failed"
- local user="$(whoami)"
- local host="$(hostname)"
- printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
-
-}
-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_src_prep
- dzil_env_setup
-
- 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
- # Uses git sources in WORKDIR/rex-git
- # to generate a CPAN-style tree in ${S}
- # before letting perl-module.eclass do the rest
- dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
- fi
- cd "${S}" || die "Can't enter build dir"
- perl-module_src_prepare
-}
-
-src_install() {
- newbashcomp "share/${PN}-tab-completion.bash" "${PN}"
-
- insinto /usr/share/zsh/site-functions
- newins "share/${PN}-tab-completion.zsh" "_${PN}"
-
- perl-module_src_install
-}
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2021-06-12 9:44 Patrice Clement
0 siblings, 0 replies; 58+ messages in thread
From: Patrice Clement @ 2021-06-12 9:44 UTC (permalink / raw
To: gentoo-commits
commit: ecdf944ab7252d7bb6547b3b7f6c752387fdd520
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Tue Jun 8 04:48:50 2021 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Jun 12 09:44:49 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecdf944a
app-admin/rex: fix HOMEPAGE.
Closes: https://bugs.gentoo.org/780369
Closes: https://github.com/gentoo/gentoo/pull/21155
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
app-admin/rex/rex-1.13.3.ebuild | 1 +
app-admin/rex/rex-9999.ebuild | 1 +
2 files changed, 2 insertions(+)
diff --git a/app-admin/rex/rex-1.13.3.ebuild b/app-admin/rex/rex-1.13.3.ebuild
index 4da9ff74e48..cad3166f1de 100644
--- a/app-admin/rex/rex-1.13.3.ebuild
+++ b/app-admin/rex/rex-1.13.3.ebuild
@@ -21,6 +21,7 @@ fi
inherit bash-completion-r1 perl-module ${VCS_ECLASS}
DESCRIPTION="(R)?ex, the friendly automation framework"
+HOMEPAGE="https://metacpan.org/release/Rex https://www.rexify.org"
SLOT="0"
IUSE="minimal test"
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-9999.ebuild
index 4da9ff74e48..cad3166f1de 100644
--- a/app-admin/rex/rex-9999.ebuild
+++ b/app-admin/rex/rex-9999.ebuild
@@ -21,6 +21,7 @@ fi
inherit bash-completion-r1 perl-module ${VCS_ECLASS}
DESCRIPTION="(R)?ex, the friendly automation framework"
+HOMEPAGE="https://metacpan.org/release/Rex https://www.rexify.org"
SLOT="0"
IUSE="minimal test"
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2021-07-30 19:28 Patrice Clement
0 siblings, 0 replies; 58+ messages in thread
From: Patrice Clement @ 2021-07-30 19:28 UTC (permalink / raw
To: gentoo-commits
commit: 7139e93e8d05700ed56bd241c3a4f169398afafb
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Wed Jul 7 22:11:51 2021 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Jul 30 19:28:46 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7139e93e
app-admin/rex: version bump to 1.13.4.
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/21555
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
app-admin/rex/Manifest | 1 +
app-admin/rex/rex-1.13.4.ebuild | 220 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 221 insertions(+)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index 6bac2adedf4..cfbe2dfde19 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -1 +1,2 @@
DIST Rex-1.13.3.tar.gz 349550 BLAKE2B c2ccc2144e56761d33ed2b5d790febd49863639d2e3bba8028b7937b43eb51e7e59e9e99cb1d67f247b2dff8ef91aa04776afd6277ad8a2370f35d71e0b528dd SHA512 beab22aef8ba620b6e74847698eab99977844d2e9632812a9ae0e1ee303cbe4e5a6489000bd5209d76e42e3bb4bb799a90408ed6fb14e034f68132a4d37766dc
+DIST Rex-1.13.4.tar.gz 351011 BLAKE2B ec046b88f4443b03c05efbabb40900085293c61dab0ee9818a8c4d05be3cc0a1c1f53738b72cc245aaa2dfbcb00541f0e1e31b0c20f2464e9fc6586ed10707ef SHA512 27b76f4b527b42ea0b06dc1de05254dbd6e2fa3bc9a8a708af7557789ef22aec374a5d0585bf3ec4ee878a5387d51b881cf95855dbd05149b7b23929de12027d
diff --git a/app-admin/rex/rex-1.13.4.ebuild b/app-admin/rex/rex-1.13.4.ebuild
new file mode 100644
index 00000000000..cad3166f1de
--- /dev/null
+++ b/app-admin/rex/rex-1.13.4.ebuild
@@ -0,0 +1,220 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} == 9999 ]]; then
+ GITHUB_USER=RexOps
+ GITHUB_REPO=Rex
+ EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
+ EGIT_BRANCH="master"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
+ VCS_ECLASS="git-r3"
+else
+ # This is intentional to stop perl-module.eclass doing magic things when it
+ # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
+ # Also prevents perl-module.eclass provisioning SRC_URI
+ DIST_AUTHOR=FERKI
+ DIST_NAME=Rex
+ KEYWORDS="~amd64 ~x86"
+fi
+inherit bash-completion-r1 perl-module ${VCS_ECLASS}
+
+DESCRIPTION="(R)?ex, the friendly automation framework"
+HOMEPAGE="https://metacpan.org/release/Rex https://www.rexify.org"
+
+SLOT="0"
+IUSE="minimal test"
+RESTRICT="!test? ( test )"
+
+DZIL_DEPENDS="
+ dev-perl/Dist-Zilla
+ dev-perl/Dist-Zilla-Plugin-CheckExtraTests
+ dev-perl/Dist-Zilla-Plugin-ContributorsFile
+ dev-perl/Dist-Zilla-Plugin-Git
+ dev-perl/Dist-Zilla-Plugin-Git-Contributors
+ dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
+ dev-perl/Dist-Zilla-Plugin-Meta-Contributors
+ dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
+ dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
+ dev-perl/Dist-Zilla-Plugin-OSPrereqs
+ dev-perl/Dist-Zilla-Plugin-OurPkgVersion
+ dev-perl/Dist-Zilla-Plugin-Run
+ dev-perl/Software-License
+"
+RDEPEND="
+ !minimal? (
+ dev-perl/DBI
+ dev-perl/Expect
+ dev-perl/IPC-Shareable
+ dev-perl/XML-LibXML
+ )
+ virtual/perl-Carp
+ virtual/perl-Data-Dumper
+ dev-perl/Data-Validate-IP
+ dev-perl/Devel-Caller
+ dev-perl/Digest-HMAC
+ virtual/perl-Digest-MD5
+ virtual/perl-Exporter
+ virtual/perl-File-Spec
+ dev-perl/HTTP-Message
+ dev-perl/Hash-Merge
+ virtual/perl-IO
+ dev-perl/IO-String
+ dev-perl/IO-Tty
+ dev-perl/JSON-MaybeXS
+ virtual/perl-MIME-Base64
+ dev-perl/Net-OpenSSH
+ dev-perl/Net-SFTP-Foreign
+ >=virtual/perl-Scalar-List-Utils-1.450.0
+ dev-perl/Parallel-ForkManager
+ dev-perl/Sort-Naturally
+ dev-perl/String-Escape
+ virtual/perl-Storable
+ dev-perl/TermReadKey
+ virtual/perl-Test-Simple
+ dev-perl/Text-Glob
+ virtual/perl-Text-Tabs+Wrap
+ virtual/perl-Time-HiRes
+ dev-perl/URI
+ dev-perl/XML-Simple
+ dev-perl/libwww-perl
+ dev-perl/YAML
+ virtual/perl-version
+"
+# NB: would add test? !minimal? Test-mysqld, but I can't get that to work
+BDEPEND="
+ ${RDEPEND}
+ >=virtual/perl-CPAN-Meta-Requirements-2.120.620
+ >=virtual/perl-ExtUtils-MakeMaker-7.110.100
+ >=dev-perl/File-ShareDir-Install-0.60.0
+ virtual/perl-Module-Metadata
+ test? (
+ !minimal? (
+ dev-perl/File-LibMagic
+ )
+ virtual/perl-File-Temp
+ dev-perl/Test-Deep
+ dev-perl/Test-Output
+ dev-perl/Test-UseAllModules
+ virtual/perl-autodie
+ )
+"
+
+[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
+
+src_unpack() {
+ if [[ ${PV} == 9999 ]]; then
+ "${VCS_ECLASS}"_src_unpack
+ mkdir -p "${S}" || die "Can't make ${S}"
+ else
+ default
+ fi
+}
+
+dzil_src_prep() {
+ einfo "Patching dist.ini"
+
+ # This block of sed invocations removes all plugins that aren't
+ # useful for users to have on Gentoo, because all of them are
+ # conditional and subjective style checks, which don't indicate
+ # a real issue for users, and paying the price of their dependencies is undesired.
+
+ # The {N;d} trick adds the [n]ext line after the match to the pattern-space
+ # so that the final [d]elete deletes the next line too. Can be expanded for each
+ # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
+ sed -e '/^\[Test::Kwalitee\]/d' \
+ -e '/^\[PodSyntaxTests\]/d' \
+ -e '/^Perl::Critic::Freenode =/d' \
+ -e '/^Perl::Critic::TooMuchCode =/d' \
+ -e '/^Test::Kwalitee =/d' \
+ -e '/^Test::PerlTidy =/d' \
+ -e '/^Test::Pod =/d' \
+ -e '/^\[Test::CPAN::Changes\]/{N;d}' \
+ -e '/^\[OptionalFeature/,/^$/d' \
+ -e '/^\[Test::MinimumVersion\]/{N;d}' \
+ -i dist.ini || die "Can't patch dist.ini"
+
+ # Removals/additions have to be tracked by git or dzil build fails
+ # Spurious warning during src_prepare
+ git rm -f xt/author/critic-progressive.t || die "Can't rm author/critic-progressive.t"
+ # Spurious warning during src_prepare
+ git rm -f xt/author/perltidy.t || die "Can't rm author/perltidy.t"
+}
+dzil_env_setup() {
+ # NextRelease noise :(
+ mkdir -p ~/.dzil/ || die "mkdir -p ~/.dzil/ failed"
+ local user="$(whoami)"
+ local host="$(hostname)"
+ printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
+
+}
+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}'";
+
+ S="${dzil_root}" dzil_src_prep
+ dzil_env_setup
+
+ 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
+ # Uses git sources in WORKDIR/rex-git
+ # to generate a CPAN-style tree in ${S}
+ # before letting perl-module.eclass do the rest
+ dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
+ fi
+ cd "${S}" || die "Can't enter build dir"
+
+ # If you DIY installed Test::mysqld, but didn't patch
+ # it to handle the fact on Gentoo, mysql_install_db is NOT in PATH
+ # tests fail. So this test is patched out if mysql_install_db is not in PATH
+ if perl_has_module "Test::mysqld" && ! type -P mysql_install_db >/dev/null; then
+ perl_rm_files "t/db.t"
+ fi
+ perl-module_src_prepare
+}
+
+src_install() {
+ newbashcomp "share/${PN}-tab-completion.bash" "${PN}"
+
+ insinto /usr/share/zsh/site-functions
+ newins "share/${PN}-tab-completion.zsh" "_${PN}"
+
+ perl-module_src_install
+}
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2023-02-14 8:57 罗百科
0 siblings, 0 replies; 58+ messages in thread
From: 罗百科 @ 2023-02-14 8:57 UTC (permalink / raw
To: gentoo-commits
commit: 91556f661a1710e8693562c77bdbf58ae330e676
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 14 08:57:05 2023 +0000
Commit: 罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Tue Feb 14 08:57:18 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91556f66
app-admin/rex: add 1.14.0
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
app-admin/rex/Manifest | 1 +
app-admin/rex/rex-1.14.0.ebuild | 221 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 222 insertions(+)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index cfbe2dfde19e..d61bbdc9995a 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -1,2 +1,3 @@
DIST Rex-1.13.3.tar.gz 349550 BLAKE2B c2ccc2144e56761d33ed2b5d790febd49863639d2e3bba8028b7937b43eb51e7e59e9e99cb1d67f247b2dff8ef91aa04776afd6277ad8a2370f35d71e0b528dd SHA512 beab22aef8ba620b6e74847698eab99977844d2e9632812a9ae0e1ee303cbe4e5a6489000bd5209d76e42e3bb4bb799a90408ed6fb14e034f68132a4d37766dc
DIST Rex-1.13.4.tar.gz 351011 BLAKE2B ec046b88f4443b03c05efbabb40900085293c61dab0ee9818a8c4d05be3cc0a1c1f53738b72cc245aaa2dfbcb00541f0e1e31b0c20f2464e9fc6586ed10707ef SHA512 27b76f4b527b42ea0b06dc1de05254dbd6e2fa3bc9a8a708af7557789ef22aec374a5d0585bf3ec4ee878a5387d51b881cf95855dbd05149b7b23929de12027d
+DIST Rex-1.14.0.tar.gz 353494 BLAKE2B 3943c56df99d3dd98cefbdc68644f1a34109e20e18aa6db61e617d1f5ece8cf9612b7b098dafff7df9435820791bd1476163e5b9e6d35ef20bd47506747ad849 SHA512 fa2ad4b71c9c7b9a352303626e7530fc7fd02b295908c6184680a2646b14553b037a264af932b9a9efd5f1019ded86f3c8857db9651d7a4d7d6cf153924ac3ad
diff --git a/app-admin/rex/rex-1.14.0.ebuild b/app-admin/rex/rex-1.14.0.ebuild
new file mode 100644
index 000000000000..eaaf19d9384c
--- /dev/null
+++ b/app-admin/rex/rex-1.14.0.ebuild
@@ -0,0 +1,221 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} == 9999 ]]; then
+ GITHUB_USER=RexOps
+ GITHUB_REPO=Rex
+ EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
+ EGIT_BRANCH="master"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
+ VCS_ECLASS="git-r3"
+else
+ # This is intentional to stop perl-module.eclass doing magic things when it
+ # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
+ # Also prevents perl-module.eclass provisioning SRC_URI
+ DIST_AUTHOR=FERKI
+ DIST_NAME=Rex
+ KEYWORDS="~amd64 ~x86"
+fi
+inherit bash-completion-r1 perl-module ${VCS_ECLASS}
+
+DESCRIPTION="(R)?ex, the friendly automation framework"
+HOMEPAGE="https://metacpan.org/release/Rex https://www.rexify.org"
+
+SLOT="0"
+IUSE="minimal test"
+RESTRICT="!test? ( test )"
+
+DZIL_DEPENDS="
+ dev-perl/Dist-Zilla
+ dev-perl/Dist-Zilla-Plugin-CheckExtraTests
+ dev-perl/Dist-Zilla-Plugin-ContributorsFile
+ dev-perl/Dist-Zilla-Plugin-Git
+ dev-perl/Dist-Zilla-Plugin-Git-Contributors
+ dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
+ dev-perl/Dist-Zilla-Plugin-Meta-Contributors
+ dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
+ dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
+ dev-perl/Dist-Zilla-Plugin-OSPrereqs
+ dev-perl/Dist-Zilla-Plugin-OurPkgVersion
+ dev-perl/Dist-Zilla-Plugin-Run
+ dev-perl/Software-License
+"
+RDEPEND="
+ !minimal? (
+ dev-perl/DBI
+ dev-perl/Expect
+ dev-perl/IPC-Shareable
+ dev-perl/XML-LibXML
+ )
+ virtual/perl-Carp
+ virtual/perl-Data-Dumper
+ dev-perl/Data-Validate-IP
+ dev-perl/Devel-Caller
+ dev-perl/Digest-HMAC
+ virtual/perl-Digest-MD5
+ virtual/perl-Exporter
+ virtual/perl-File-Spec
+ dev-perl/HTTP-Message
+ dev-perl/Hash-Merge
+ virtual/perl-IO
+ dev-perl/IO-String
+ dev-perl/IO-Tty
+ dev-perl/JSON-MaybeXS
+ virtual/perl-MIME-Base64
+ dev-perl/Net-OpenSSH
+ dev-perl/Net-SFTP-Foreign
+ >=virtual/perl-Scalar-List-Utils-1.450.0
+ dev-perl/Parallel-ForkManager
+ dev-perl/Sort-Naturally
+ dev-perl/String-Escape
+ virtual/perl-Storable
+ dev-perl/TermReadKey
+ virtual/perl-Test-Simple
+ dev-perl/Text-Glob
+ virtual/perl-Text-Tabs+Wrap
+ virtual/perl-Time-HiRes
+ dev-perl/URI
+ dev-perl/XML-Simple
+ dev-perl/libwww-perl
+ dev-perl/YAML
+ virtual/perl-version
+"
+# NB: would add test? !minimal? Test-mysqld, but I can't get that to work
+BDEPEND="
+ ${RDEPEND}
+ >=virtual/perl-CPAN-Meta-Requirements-2.120.620
+ >=virtual/perl-ExtUtils-MakeMaker-7.110.100
+ >=dev-perl/File-ShareDir-Install-0.60.0
+ virtual/perl-Module-Metadata
+ test? (
+ !minimal? (
+ dev-perl/File-LibMagic
+ )
+ virtual/perl-File-Temp
+ dev-perl/Sub-Override
+ dev-perl/Test-Deep
+ dev-perl/Test-Output
+ dev-perl/Test-UseAllModules
+ virtual/perl-autodie
+ )
+"
+
+[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
+
+src_unpack() {
+ if [[ ${PV} == 9999 ]]; then
+ "${VCS_ECLASS}"_src_unpack
+ mkdir -p "${S}" || die "Can't make ${S}"
+ else
+ default
+ fi
+}
+
+dzil_src_prep() {
+ einfo "Patching dist.ini"
+
+ # This block of sed invocations removes all plugins that aren't
+ # useful for users to have on Gentoo, because all of them are
+ # conditional and subjective style checks, which don't indicate
+ # a real issue for users, and paying the price of their dependencies is undesired.
+
+ # The {N;d} trick adds the [n]ext line after the match to the pattern-space
+ # so that the final [d]elete deletes the next line too. Can be expanded for each
+ # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
+ sed -e '/^\[Test::Kwalitee\]/d' \
+ -e '/^\[PodSyntaxTests\]/d' \
+ -e '/^Perl::Critic::Freenode =/d' \
+ -e '/^Perl::Critic::TooMuchCode =/d' \
+ -e '/^Test::Kwalitee =/d' \
+ -e '/^Test::PerlTidy =/d' \
+ -e '/^Test::Pod =/d' \
+ -e '/^\[Test::CPAN::Changes\]/{N;d}' \
+ -e '/^\[OptionalFeature/,/^$/d' \
+ -e '/^\[Test::MinimumVersion\]/{N;d}' \
+ -i dist.ini || die "Can't patch dist.ini"
+
+ # Removals/additions have to be tracked by git or dzil build fails
+ # Spurious warning during src_prepare
+ git rm -f xt/author/critic-progressive.t || die "Can't rm author/critic-progressive.t"
+ # Spurious warning during src_prepare
+ git rm -f xt/author/perltidy.t || die "Can't rm author/perltidy.t"
+}
+dzil_env_setup() {
+ # NextRelease noise :(
+ mkdir -p ~/.dzil/ || die "mkdir -p ~/.dzil/ failed"
+ local user="$(whoami)"
+ local host="$(hostname)"
+ printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
+
+}
+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}'";
+
+ S="${dzil_root}" dzil_src_prep
+ dzil_env_setup
+
+ 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
+ # Uses git sources in WORKDIR/rex-git
+ # to generate a CPAN-style tree in ${S}
+ # before letting perl-module.eclass do the rest
+ dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
+ fi
+ cd "${S}" || die "Can't enter build dir"
+
+ # If you DIY installed Test::mysqld, but didn't patch
+ # it to handle the fact on Gentoo, mysql_install_db is NOT in PATH
+ # tests fail. So this test is patched out if mysql_install_db is not in PATH
+ if perl_has_module "Test::mysqld" && ! type -P mysql_install_db >/dev/null; then
+ perl_rm_files "t/db.t"
+ fi
+ perl-module_src_prepare
+}
+
+src_install() {
+ newbashcomp "share/${PN}-tab-completion.bash" "${PN}"
+
+ insinto /usr/share/zsh/site-functions
+ newins "share/${PN}-tab-completion.zsh" "_${PN}"
+
+ perl-module_src_install
+}
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2023-02-14 9:16 罗百科
0 siblings, 0 replies; 58+ messages in thread
From: 罗百科 @ 2023-02-14 9:16 UTC (permalink / raw
To: gentoo-commits
commit: 880efbb25e227e5099ff86a5d4d0e3452e6dc5b0
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 14 09:14:30 2023 +0000
Commit: 罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Tue Feb 14 09:14:30 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=880efbb2
app-admin/rex: Fix test dependencies
dev-perl/Test-Exception is usually included as a
transitive dependency, but not explicitly depended on.
Add it explicitly
Closes: https://bugs.gentoo.org/894366
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
app-admin/rex/rex-1.14.0.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/app-admin/rex/rex-1.14.0.ebuild b/app-admin/rex/rex-1.14.0.ebuild
index eaaf19d9384c..3542ec41083a 100644
--- a/app-admin/rex/rex-1.14.0.ebuild
+++ b/app-admin/rex/rex-1.14.0.ebuild
@@ -94,6 +94,7 @@ BDEPEND="
dev-perl/File-LibMagic
)
virtual/perl-File-Temp
+ dev-perl/Test-Exception
dev-perl/Sub-Override
dev-perl/Test-Deep
dev-perl/Test-Output
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2023-02-15 11:03 罗百科
0 siblings, 0 replies; 58+ messages in thread
From: 罗百科 @ 2023-02-15 11:03 UTC (permalink / raw
To: gentoo-commits
commit: 72371e2ce8bd5136a7a74e472f43b3c200ea8589
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Tue Feb 7 17:20:12 2023 +0000
Commit: 罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Wed Feb 15 11:03:39 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72371e2c
app-admin/rex: update deps
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
app-admin/rex/rex-9999.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-9999.ebuild
index e0bfb6a838a7..32b60f046bfb 100644
--- a/app-admin/rex/rex-9999.ebuild
+++ b/app-admin/rex/rex-9999.ebuild
@@ -94,7 +94,9 @@ BDEPEND="
dev-perl/File-LibMagic
)
virtual/perl-File-Temp
+ dev-perl/Sub-Override
dev-perl/Test-Deep
+ dev-perl/Test-Exception
dev-perl/Test-Output
dev-perl/Test-UseAllModules
virtual/perl-autodie
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2023-02-15 11:03 罗百科
0 siblings, 0 replies; 58+ messages in thread
From: 罗百科 @ 2023-02-15 11:03 UTC (permalink / raw
To: gentoo-commits
commit: 3f151f3683f573b2de4f49e2c28d7cdd54cfe001
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Tue Feb 7 17:18:56 2023 +0000
Commit: 罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Wed Feb 15 11:03:07 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f151f36
app-admin/rex: fix HOMEPAGE redirect
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
app-admin/rex/rex-1.13.3.ebuild | 4 ++--
app-admin/rex/rex-1.13.4.ebuild | 4 ++--
app-admin/rex/rex-1.14.0.ebuild | 2 +-
app-admin/rex/rex-9999.ebuild | 4 ++--
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/app-admin/rex/rex-1.13.3.ebuild b/app-admin/rex/rex-1.13.3.ebuild
index cad3166f1de0..e0bfb6a838a7 100644
--- a/app-admin/rex/rex-1.13.3.ebuild
+++ b/app-admin/rex/rex-1.13.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -21,7 +21,7 @@ fi
inherit bash-completion-r1 perl-module ${VCS_ECLASS}
DESCRIPTION="(R)?ex, the friendly automation framework"
-HOMEPAGE="https://metacpan.org/release/Rex https://www.rexify.org"
+HOMEPAGE="https://metacpan.org/dist/Rex https://www.rexify.org"
SLOT="0"
IUSE="minimal test"
diff --git a/app-admin/rex/rex-1.13.4.ebuild b/app-admin/rex/rex-1.13.4.ebuild
index cad3166f1de0..e0bfb6a838a7 100644
--- a/app-admin/rex/rex-1.13.4.ebuild
+++ b/app-admin/rex/rex-1.13.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -21,7 +21,7 @@ fi
inherit bash-completion-r1 perl-module ${VCS_ECLASS}
DESCRIPTION="(R)?ex, the friendly automation framework"
-HOMEPAGE="https://metacpan.org/release/Rex https://www.rexify.org"
+HOMEPAGE="https://metacpan.org/dist/Rex https://www.rexify.org"
SLOT="0"
IUSE="minimal test"
diff --git a/app-admin/rex/rex-1.14.0.ebuild b/app-admin/rex/rex-1.14.0.ebuild
index 3542ec41083a..f54807ac8dfb 100644
--- a/app-admin/rex/rex-1.14.0.ebuild
+++ b/app-admin/rex/rex-1.14.0.ebuild
@@ -21,7 +21,7 @@ fi
inherit bash-completion-r1 perl-module ${VCS_ECLASS}
DESCRIPTION="(R)?ex, the friendly automation framework"
-HOMEPAGE="https://metacpan.org/release/Rex https://www.rexify.org"
+HOMEPAGE="https://metacpan.org/dist/Rex https://www.rexify.org"
SLOT="0"
IUSE="minimal test"
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-9999.ebuild
index cad3166f1de0..e0bfb6a838a7 100644
--- a/app-admin/rex/rex-9999.ebuild
+++ b/app-admin/rex/rex-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -21,7 +21,7 @@ fi
inherit bash-completion-r1 perl-module ${VCS_ECLASS}
DESCRIPTION="(R)?ex, the friendly automation framework"
-HOMEPAGE="https://metacpan.org/release/Rex https://www.rexify.org"
+HOMEPAGE="https://metacpan.org/dist/Rex https://www.rexify.org"
SLOT="0"
IUSE="minimal test"
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2023-02-15 11:03 罗百科
0 siblings, 0 replies; 58+ messages in thread
From: 罗百科 @ 2023-02-15 11:03 UTC (permalink / raw
To: gentoo-commits
commit: 0ae7bc34b5191599b274017243d97bb157547184
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Tue Feb 7 17:19:48 2023 +0000
Commit: 罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Wed Feb 15 11:03:44 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ae7bc34
app-admin/rex: switch to EAPI 8
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
app-admin/rex/{rex-9999.ebuild => rex-1.14.0-r1.ebuild} | 2 +-
app-admin/rex/rex-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-1.14.0-r1.ebuild
similarity index 99%
copy from app-admin/rex/rex-9999.ebuild
copy to app-admin/rex/rex-1.14.0-r1.ebuild
index 32b60f046bfb..8cbbbb057ec2 100644
--- a/app-admin/rex/rex-9999.ebuild
+++ b/app-admin/rex/rex-1.14.0-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
if [[ ${PV} == 9999 ]]; then
GITHUB_USER=RexOps
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-9999.ebuild
index 32b60f046bfb..8cbbbb057ec2 100644
--- a/app-admin/rex/rex-9999.ebuild
+++ b/app-admin/rex/rex-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
if [[ ${PV} == 9999 ]]; then
GITHUB_USER=RexOps
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2023-02-15 11:03 罗百科
0 siblings, 0 replies; 58+ messages in thread
From: 罗百科 @ 2023-02-15 11:03 UTC (permalink / raw
To: gentoo-commits
commit: 5bedcda17f15a57acbd2283706c480561d045047
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 15 11:01:46 2023 +0000
Commit: 罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Wed Feb 15 11:03:48 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bedcda1
app-admin/rex: drop 1.14.0
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
app-admin/rex/rex-1.14.0.ebuild | 222 ----------------------------------------
1 file changed, 222 deletions(-)
diff --git a/app-admin/rex/rex-1.14.0.ebuild b/app-admin/rex/rex-1.14.0.ebuild
deleted file mode 100644
index f54807ac8dfb..000000000000
--- a/app-admin/rex/rex-1.14.0.ebuild
+++ /dev/null
@@ -1,222 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-if [[ ${PV} == 9999 ]]; then
- GITHUB_USER=RexOps
- GITHUB_REPO=Rex
- EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
- EGIT_BRANCH="master"
- EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
- VCS_ECLASS="git-r3"
-else
- # This is intentional to stop perl-module.eclass doing magic things when it
- # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
- # Also prevents perl-module.eclass provisioning SRC_URI
- DIST_AUTHOR=FERKI
- DIST_NAME=Rex
- KEYWORDS="~amd64 ~x86"
-fi
-inherit bash-completion-r1 perl-module ${VCS_ECLASS}
-
-DESCRIPTION="(R)?ex, the friendly automation framework"
-HOMEPAGE="https://metacpan.org/dist/Rex https://www.rexify.org"
-
-SLOT="0"
-IUSE="minimal test"
-RESTRICT="!test? ( test )"
-
-DZIL_DEPENDS="
- dev-perl/Dist-Zilla
- dev-perl/Dist-Zilla-Plugin-CheckExtraTests
- dev-perl/Dist-Zilla-Plugin-ContributorsFile
- dev-perl/Dist-Zilla-Plugin-Git
- dev-perl/Dist-Zilla-Plugin-Git-Contributors
- dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
- dev-perl/Dist-Zilla-Plugin-Meta-Contributors
- dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
- dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
- dev-perl/Dist-Zilla-Plugin-OSPrereqs
- dev-perl/Dist-Zilla-Plugin-OurPkgVersion
- dev-perl/Dist-Zilla-Plugin-Run
- dev-perl/Software-License
-"
-RDEPEND="
- !minimal? (
- dev-perl/DBI
- dev-perl/Expect
- dev-perl/IPC-Shareable
- dev-perl/XML-LibXML
- )
- virtual/perl-Carp
- virtual/perl-Data-Dumper
- dev-perl/Data-Validate-IP
- dev-perl/Devel-Caller
- dev-perl/Digest-HMAC
- virtual/perl-Digest-MD5
- virtual/perl-Exporter
- virtual/perl-File-Spec
- dev-perl/HTTP-Message
- dev-perl/Hash-Merge
- virtual/perl-IO
- dev-perl/IO-String
- dev-perl/IO-Tty
- dev-perl/JSON-MaybeXS
- virtual/perl-MIME-Base64
- dev-perl/Net-OpenSSH
- dev-perl/Net-SFTP-Foreign
- >=virtual/perl-Scalar-List-Utils-1.450.0
- dev-perl/Parallel-ForkManager
- dev-perl/Sort-Naturally
- dev-perl/String-Escape
- virtual/perl-Storable
- dev-perl/TermReadKey
- virtual/perl-Test-Simple
- dev-perl/Text-Glob
- virtual/perl-Text-Tabs+Wrap
- virtual/perl-Time-HiRes
- dev-perl/URI
- dev-perl/XML-Simple
- dev-perl/libwww-perl
- dev-perl/YAML
- virtual/perl-version
-"
-# NB: would add test? !minimal? Test-mysqld, but I can't get that to work
-BDEPEND="
- ${RDEPEND}
- >=virtual/perl-CPAN-Meta-Requirements-2.120.620
- >=virtual/perl-ExtUtils-MakeMaker-7.110.100
- >=dev-perl/File-ShareDir-Install-0.60.0
- virtual/perl-Module-Metadata
- test? (
- !minimal? (
- dev-perl/File-LibMagic
- )
- virtual/perl-File-Temp
- dev-perl/Test-Exception
- dev-perl/Sub-Override
- dev-perl/Test-Deep
- dev-perl/Test-Output
- dev-perl/Test-UseAllModules
- virtual/perl-autodie
- )
-"
-
-[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
-
-src_unpack() {
- if [[ ${PV} == 9999 ]]; then
- "${VCS_ECLASS}"_src_unpack
- mkdir -p "${S}" || die "Can't make ${S}"
- else
- default
- fi
-}
-
-dzil_src_prep() {
- einfo "Patching dist.ini"
-
- # This block of sed invocations removes all plugins that aren't
- # useful for users to have on Gentoo, because all of them are
- # conditional and subjective style checks, which don't indicate
- # a real issue for users, and paying the price of their dependencies is undesired.
-
- # The {N;d} trick adds the [n]ext line after the match to the pattern-space
- # so that the final [d]elete deletes the next line too. Can be expanded for each
- # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
- sed -e '/^\[Test::Kwalitee\]/d' \
- -e '/^\[PodSyntaxTests\]/d' \
- -e '/^Perl::Critic::Freenode =/d' \
- -e '/^Perl::Critic::TooMuchCode =/d' \
- -e '/^Test::Kwalitee =/d' \
- -e '/^Test::PerlTidy =/d' \
- -e '/^Test::Pod =/d' \
- -e '/^\[Test::CPAN::Changes\]/{N;d}' \
- -e '/^\[OptionalFeature/,/^$/d' \
- -e '/^\[Test::MinimumVersion\]/{N;d}' \
- -i dist.ini || die "Can't patch dist.ini"
-
- # Removals/additions have to be tracked by git or dzil build fails
- # Spurious warning during src_prepare
- git rm -f xt/author/critic-progressive.t || die "Can't rm author/critic-progressive.t"
- # Spurious warning during src_prepare
- git rm -f xt/author/perltidy.t || die "Can't rm author/perltidy.t"
-}
-dzil_env_setup() {
- # NextRelease noise :(
- mkdir -p ~/.dzil/ || die "mkdir -p ~/.dzil/ failed"
- local user="$(whoami)"
- local host="$(hostname)"
- printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
-
-}
-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}'";
-
- S="${dzil_root}" dzil_src_prep
- dzil_env_setup
-
- 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
- # Uses git sources in WORKDIR/rex-git
- # to generate a CPAN-style tree in ${S}
- # before letting perl-module.eclass do the rest
- dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
- fi
- cd "${S}" || die "Can't enter build dir"
-
- # If you DIY installed Test::mysqld, but didn't patch
- # it to handle the fact on Gentoo, mysql_install_db is NOT in PATH
- # tests fail. So this test is patched out if mysql_install_db is not in PATH
- if perl_has_module "Test::mysqld" && ! type -P mysql_install_db >/dev/null; then
- perl_rm_files "t/db.t"
- fi
- perl-module_src_prepare
-}
-
-src_install() {
- newbashcomp "share/${PN}-tab-completion.bash" "${PN}"
-
- insinto /usr/share/zsh/site-functions
- newins "share/${PN}-tab-completion.zsh" "_${PN}"
-
- perl-module_src_install
-}
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2023-03-06 12:04 罗百科
0 siblings, 0 replies; 58+ messages in thread
From: 罗百科 @ 2023-03-06 12:04 UTC (permalink / raw
To: gentoo-commits
commit: da5cd23913c189a209045aadf84976b88715f3cd
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Sun Mar 5 19:41:59 2023 +0000
Commit: 罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Mon Mar 6 12:03:52 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da5cd239
app-admin/rex: update live ebuild
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
app-admin/rex/rex-9999.ebuild | 3 +++
1 file changed, 3 insertions(+)
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-9999.ebuild
index 8cbbbb057ec2..c6c604f1e599 100644
--- a/app-admin/rex/rex-9999.ebuild
+++ b/app-admin/rex/rex-9999.ebuild
@@ -81,6 +81,7 @@ RDEPEND="
dev-perl/libwww-perl
dev-perl/YAML
virtual/perl-version
+ virtual/perl-Term-ANSIColor
"
# NB: would add test? !minimal? Test-mysqld, but I can't get that to work
BDEPEND="
@@ -99,7 +100,9 @@ BDEPEND="
dev-perl/Test-Exception
dev-perl/Test-Output
dev-perl/Test-UseAllModules
+ dev-perl/Test-Warnings
virtual/perl-autodie
+ virtual/perl-Module-Load-Conditional
)
"
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2023-03-06 12:04 罗百科
0 siblings, 0 replies; 58+ messages in thread
From: 罗百科 @ 2023-03-06 12:04 UTC (permalink / raw
To: gentoo-commits
commit: 36f62c9efe35aaa3890ff38d75610a083feb7686
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Sun Mar 5 19:42:38 2023 +0000
Commit: 罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Mon Mar 6 12:04:21 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36f62c9e
app-admin/rex: bump version to 1.14.1
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
app-admin/rex/Manifest | 2 +-
app-admin/rex/{rex-1.14.0-r1.ebuild => rex-1.14.1.ebuild} | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index d61bbdc9995a..d3f9f9a6da8c 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -1,3 +1,3 @@
DIST Rex-1.13.3.tar.gz 349550 BLAKE2B c2ccc2144e56761d33ed2b5d790febd49863639d2e3bba8028b7937b43eb51e7e59e9e99cb1d67f247b2dff8ef91aa04776afd6277ad8a2370f35d71e0b528dd SHA512 beab22aef8ba620b6e74847698eab99977844d2e9632812a9ae0e1ee303cbe4e5a6489000bd5209d76e42e3bb4bb799a90408ed6fb14e034f68132a4d37766dc
DIST Rex-1.13.4.tar.gz 351011 BLAKE2B ec046b88f4443b03c05efbabb40900085293c61dab0ee9818a8c4d05be3cc0a1c1f53738b72cc245aaa2dfbcb00541f0e1e31b0c20f2464e9fc6586ed10707ef SHA512 27b76f4b527b42ea0b06dc1de05254dbd6e2fa3bc9a8a708af7557789ef22aec374a5d0585bf3ec4ee878a5387d51b881cf95855dbd05149b7b23929de12027d
-DIST Rex-1.14.0.tar.gz 353494 BLAKE2B 3943c56df99d3dd98cefbdc68644f1a34109e20e18aa6db61e617d1f5ece8cf9612b7b098dafff7df9435820791bd1476163e5b9e6d35ef20bd47506747ad849 SHA512 fa2ad4b71c9c7b9a352303626e7530fc7fd02b295908c6184680a2646b14553b037a264af932b9a9efd5f1019ded86f3c8857db9651d7a4d7d6cf153924ac3ad
+DIST Rex-1.14.1.tar.gz 354512 BLAKE2B e82248fa58b10e92f2256c57b589e8db6fc61a03532eac00a28431f2527b4a7e5fdaebbf4a0bdbdfa5b775be95826fb26fa831b58ecf354d6758f5a26649dc32 SHA512 c3cb3e64fb443858a47fbf0afabc9e57ca0a7646447ea259c109a5385a57b4347664dde23575e529afa17881f400bd1735994793362aa101519747805153cb75
diff --git a/app-admin/rex/rex-1.14.0-r1.ebuild b/app-admin/rex/rex-1.14.1.ebuild
similarity index 98%
rename from app-admin/rex/rex-1.14.0-r1.ebuild
rename to app-admin/rex/rex-1.14.1.ebuild
index 8cbbbb057ec2..c6c604f1e599 100644
--- a/app-admin/rex/rex-1.14.0-r1.ebuild
+++ b/app-admin/rex/rex-1.14.1.ebuild
@@ -81,6 +81,7 @@ RDEPEND="
dev-perl/libwww-perl
dev-perl/YAML
virtual/perl-version
+ virtual/perl-Term-ANSIColor
"
# NB: would add test? !minimal? Test-mysqld, but I can't get that to work
BDEPEND="
@@ -99,7 +100,9 @@ BDEPEND="
dev-perl/Test-Exception
dev-perl/Test-Output
dev-perl/Test-UseAllModules
+ dev-perl/Test-Warnings
virtual/perl-autodie
+ virtual/perl-Module-Load-Conditional
)
"
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2023-05-20 5:55 罗百科
0 siblings, 0 replies; 58+ messages in thread
From: 罗百科 @ 2023-05-20 5:55 UTC (permalink / raw
To: gentoo-commits
commit: 1a5667024ec968f2aacbc16bc0fdc60247ba14c6
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sat May 20 05:55:12 2023 +0000
Commit: 罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Sat May 20 05:55:22 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a566702
app-admin/rex: add 1.14.2
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
app-admin/rex/Manifest | 1 +
app-admin/rex/rex-1.14.2.ebuild | 226 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 227 insertions(+)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index d3f9f9a6da8c..16dcdffac52f 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -1,3 +1,4 @@
DIST Rex-1.13.3.tar.gz 349550 BLAKE2B c2ccc2144e56761d33ed2b5d790febd49863639d2e3bba8028b7937b43eb51e7e59e9e99cb1d67f247b2dff8ef91aa04776afd6277ad8a2370f35d71e0b528dd SHA512 beab22aef8ba620b6e74847698eab99977844d2e9632812a9ae0e1ee303cbe4e5a6489000bd5209d76e42e3bb4bb799a90408ed6fb14e034f68132a4d37766dc
DIST Rex-1.13.4.tar.gz 351011 BLAKE2B ec046b88f4443b03c05efbabb40900085293c61dab0ee9818a8c4d05be3cc0a1c1f53738b72cc245aaa2dfbcb00541f0e1e31b0c20f2464e9fc6586ed10707ef SHA512 27b76f4b527b42ea0b06dc1de05254dbd6e2fa3bc9a8a708af7557789ef22aec374a5d0585bf3ec4ee878a5387d51b881cf95855dbd05149b7b23929de12027d
DIST Rex-1.14.1.tar.gz 354512 BLAKE2B e82248fa58b10e92f2256c57b589e8db6fc61a03532eac00a28431f2527b4a7e5fdaebbf4a0bdbdfa5b775be95826fb26fa831b58ecf354d6758f5a26649dc32 SHA512 c3cb3e64fb443858a47fbf0afabc9e57ca0a7646447ea259c109a5385a57b4347664dde23575e529afa17881f400bd1735994793362aa101519747805153cb75
+DIST Rex-1.14.2.tar.gz 355848 BLAKE2B 282abc3a0f9acbb553c3ed1a8efa34298f43e02773461325678e014b7a2ede56399c6d5140ff69dc18dc685c2e5b1f453fa45784e59fe14940c6a638bd104879 SHA512 3ca16b2bc401fd07b7ad7ce403bdbb92fbd9123f58b7f63a20292cd165b4b220317b252f1409a7f90099103de36a9091f01adaf37ec1cacf5abaecd140f34d27
diff --git a/app-admin/rex/rex-1.14.2.ebuild b/app-admin/rex/rex-1.14.2.ebuild
new file mode 100644
index 000000000000..51c374850d9c
--- /dev/null
+++ b/app-admin/rex/rex-1.14.2.ebuild
@@ -0,0 +1,226 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} == 9999 ]]; then
+ GITHUB_USER=RexOps
+ GITHUB_REPO=Rex
+ EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
+ EGIT_BRANCH="master"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
+ VCS_ECLASS="git-r3"
+else
+ # This is intentional to stop perl-module.eclass doing magic things when it
+ # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
+ # Also prevents perl-module.eclass provisioning SRC_URI
+ DIST_AUTHOR=FERKI
+ DIST_NAME=Rex
+ KEYWORDS="~amd64 ~x86"
+fi
+inherit bash-completion-r1 perl-module ${VCS_ECLASS}
+
+DESCRIPTION="(R)?ex, the friendly automation framework"
+HOMEPAGE="https://metacpan.org/dist/Rex https://www.rexify.org"
+
+SLOT="0"
+IUSE="minimal test"
+RESTRICT="!test? ( test )"
+
+DZIL_DEPENDS="
+ dev-perl/Dist-Zilla
+ dev-perl/Dist-Zilla-Plugin-CheckExtraTests
+ dev-perl/Dist-Zilla-Plugin-ContributorsFile
+ dev-perl/Dist-Zilla-Plugin-Git
+ dev-perl/Dist-Zilla-Plugin-Git-Contributors
+ dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
+ dev-perl/Dist-Zilla-Plugin-Meta-Contributors
+ dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
+ dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
+ dev-perl/Dist-Zilla-Plugin-OSPrereqs
+ dev-perl/Dist-Zilla-Plugin-OurPkgVersion
+ dev-perl/Dist-Zilla-Plugin-Run
+ dev-perl/Software-License
+"
+RDEPEND="
+ !minimal? (
+ dev-perl/DBI
+ dev-perl/Expect
+ dev-perl/IPC-Shareable
+ dev-perl/XML-LibXML
+ )
+ virtual/perl-Carp
+ virtual/perl-Data-Dumper
+ dev-perl/Data-Validate-IP
+ dev-perl/Devel-Caller
+ dev-perl/Digest-HMAC
+ virtual/perl-Digest-MD5
+ virtual/perl-Exporter
+ virtual/perl-File-Spec
+ dev-perl/HTTP-Message
+ dev-perl/Hash-Merge
+ virtual/perl-IO
+ dev-perl/IO-String
+ dev-perl/IO-Tty
+ dev-perl/JSON-MaybeXS
+ virtual/perl-MIME-Base64
+ dev-perl/Net-OpenSSH
+ dev-perl/Net-SFTP-Foreign
+ >=virtual/perl-Scalar-List-Utils-1.450.0
+ dev-perl/Parallel-ForkManager
+ dev-perl/Sort-Naturally
+ dev-perl/String-Escape
+ virtual/perl-Storable
+ dev-perl/TermReadKey
+ virtual/perl-Test-Simple
+ dev-perl/Text-Glob
+ virtual/perl-Text-Tabs+Wrap
+ virtual/perl-Time-HiRes
+ dev-perl/URI
+ dev-perl/XML-Simple
+ dev-perl/libwww-perl
+ dev-perl/YAML
+ virtual/perl-version
+ virtual/perl-Term-ANSIColor
+"
+# NB: would add test? !minimal? Test-mysqld, but I can't get that to work
+BDEPEND="
+ ${RDEPEND}
+ >=virtual/perl-CPAN-Meta-Requirements-2.120.620
+ >=virtual/perl-ExtUtils-MakeMaker-7.110.100
+ >=dev-perl/File-ShareDir-Install-0.60.0
+ virtual/perl-Module-Metadata
+ test? (
+ !minimal? (
+ dev-perl/File-LibMagic
+ )
+ virtual/perl-File-Temp
+ dev-perl/Sub-Override
+ dev-perl/Test-Deep
+ dev-perl/Test-Exception
+ dev-perl/Test-Output
+ dev-perl/Test-UseAllModules
+ dev-perl/Test-Warnings
+ dev-vcs/git
+ virtual/perl-autodie
+ virtual/perl-Module-Load-Conditional
+ )
+"
+
+[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
+
+src_unpack() {
+ if [[ ${PV} == 9999 ]]; then
+ "${VCS_ECLASS}"_src_unpack
+ mkdir -p "${S}" || die "Can't make ${S}"
+ else
+ default
+ fi
+}
+
+dzil_src_prep() {
+ einfo "Patching dist.ini"
+
+ # This block of sed invocations removes all plugins that aren't
+ # useful for users to have on Gentoo, because all of them are
+ # conditional and subjective style checks, which don't indicate
+ # a real issue for users, and paying the price of their dependencies is undesired.
+
+ # The {N;d} trick adds the [n]ext line after the match to the pattern-space
+ # so that the final [d]elete deletes the next line too. Can be expanded for each
+ # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
+ sed -e '/^\[Test::Kwalitee\]/d' \
+ -e '/^\[PodSyntaxTests\]/d' \
+ -e '/^Perl::Critic::Freenode =/d' \
+ -e '/^Perl::Critic::TooMuchCode =/d' \
+ -e '/^Test::Kwalitee =/d' \
+ -e '/^Test::PerlTidy =/d' \
+ -e '/^Test::Pod =/d' \
+ -e '/^\[Test::CPAN::Changes\]/{N;d}' \
+ -e '/^\[OptionalFeature/,/^$/d' \
+ -e '/^\[Test::MinimumVersion\]/{N;d}' \
+ -i dist.ini || die "Can't patch dist.ini"
+
+ # Removals/additions have to be tracked by git or dzil build fails
+ # Spurious warning during src_prepare
+ git rm -f xt/author/critic-progressive.t || die "Can't rm author/critic-progressive.t"
+ # Spurious warning during src_prepare
+ git rm -f xt/author/perltidy.t || die "Can't rm author/perltidy.t"
+}
+dzil_env_setup() {
+ # NextRelease noise :(
+ mkdir -p ~/.dzil/ || die "mkdir -p ~/.dzil/ failed"
+ local user="$(whoami)"
+ local host="$(hostname)"
+ printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
+
+}
+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}'";
+
+ S="${dzil_root}" dzil_src_prep
+ dzil_env_setup
+
+ 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
+ # Uses git sources in WORKDIR/rex-git
+ # to generate a CPAN-style tree in ${S}
+ # before letting perl-module.eclass do the rest
+ dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
+ fi
+ cd "${S}" || die "Can't enter build dir"
+
+ # If you DIY installed Test::mysqld, but didn't patch
+ # it to handle the fact on Gentoo, mysql_install_db is NOT in PATH
+ # tests fail. So this test is patched out if mysql_install_db is not in PATH
+ if perl_has_module "Test::mysqld" && ! type -P mysql_install_db >/dev/null; then
+ perl_rm_files "t/db.t"
+ fi
+ perl-module_src_prepare
+}
+
+src_install() {
+ newbashcomp "share/${PN}-tab-completion.bash" "${PN}"
+
+ insinto /usr/share/zsh/site-functions
+ newins "share/${PN}-tab-completion.zsh" "_${PN}"
+
+ perl-module_src_install
+}
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2023-08-14 17:08 罗百科
0 siblings, 0 replies; 58+ messages in thread
From: 罗百科 @ 2023-08-14 17:08 UTC (permalink / raw
To: gentoo-commits
commit: 4b5e030ed6e434449c01d7ab6946057d9d20fbfa
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Sat Aug 5 20:53:31 2023 +0000
Commit: 罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Mon Aug 14 17:07:41 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b5e030e
app-admin/rex: add 1.14.3
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
app-admin/rex/Manifest | 1 +
app-admin/rex/rex-1.14.3.ebuild | 227 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 228 insertions(+)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index 16dcdffac52f..ad1d7bcb092a 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -2,3 +2,4 @@ DIST Rex-1.13.3.tar.gz 349550 BLAKE2B c2ccc2144e56761d33ed2b5d790febd49863639d2e
DIST Rex-1.13.4.tar.gz 351011 BLAKE2B ec046b88f4443b03c05efbabb40900085293c61dab0ee9818a8c4d05be3cc0a1c1f53738b72cc245aaa2dfbcb00541f0e1e31b0c20f2464e9fc6586ed10707ef SHA512 27b76f4b527b42ea0b06dc1de05254dbd6e2fa3bc9a8a708af7557789ef22aec374a5d0585bf3ec4ee878a5387d51b881cf95855dbd05149b7b23929de12027d
DIST Rex-1.14.1.tar.gz 354512 BLAKE2B e82248fa58b10e92f2256c57b589e8db6fc61a03532eac00a28431f2527b4a7e5fdaebbf4a0bdbdfa5b775be95826fb26fa831b58ecf354d6758f5a26649dc32 SHA512 c3cb3e64fb443858a47fbf0afabc9e57ca0a7646447ea259c109a5385a57b4347664dde23575e529afa17881f400bd1735994793362aa101519747805153cb75
DIST Rex-1.14.2.tar.gz 355848 BLAKE2B 282abc3a0f9acbb553c3ed1a8efa34298f43e02773461325678e014b7a2ede56399c6d5140ff69dc18dc685c2e5b1f453fa45784e59fe14940c6a638bd104879 SHA512 3ca16b2bc401fd07b7ad7ce403bdbb92fbd9123f58b7f63a20292cd165b4b220317b252f1409a7f90099103de36a9091f01adaf37ec1cacf5abaecd140f34d27
+DIST Rex-1.14.3.tar.gz 377627 BLAKE2B 40285856b42488f8b557ee2621c3c4ba1019b014d93e3d2e05c09590cb9d1cfa2738e3588aa8cb102ceb3c645cf5aa8113c279a18e23636ad80db09db0825d19 SHA512 7a64221b76f6949f2c5176adc86af9acaff80e9745ad19bc54ffc93d9542bb3c5250d4c511250a0917afb58b92d7a2cf2b24f6915331237c4e2635a760230b70
diff --git a/app-admin/rex/rex-1.14.3.ebuild b/app-admin/rex/rex-1.14.3.ebuild
new file mode 100644
index 000000000000..1b5ca9f0db12
--- /dev/null
+++ b/app-admin/rex/rex-1.14.3.ebuild
@@ -0,0 +1,227 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} == 9999 ]]; then
+ GITHUB_USER=RexOps
+ GITHUB_REPO=Rex
+ EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
+ EGIT_BRANCH="master"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
+ VCS_ECLASS="git-r3"
+else
+ # This is intentional to stop perl-module.eclass doing magic things when it
+ # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
+ # Also prevents perl-module.eclass provisioning SRC_URI
+ DIST_AUTHOR=FERKI
+ DIST_NAME=Rex
+ KEYWORDS="~amd64 ~x86"
+fi
+inherit bash-completion-r1 perl-module ${VCS_ECLASS}
+
+DESCRIPTION="(R)?ex, the friendly automation framework"
+HOMEPAGE="https://metacpan.org/dist/Rex https://www.rexify.org"
+
+SLOT="0"
+IUSE="minimal test"
+RESTRICT="!test? ( test )"
+
+DZIL_DEPENDS="
+ dev-perl/Dist-Zilla
+ dev-perl/Dist-Zilla-Plugin-CheckExtraTests
+ dev-perl/Dist-Zilla-Plugin-ContributorsFile
+ dev-perl/Dist-Zilla-Plugin-Git
+ dev-perl/Dist-Zilla-Plugin-Git-Contributors
+ dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
+ dev-perl/Dist-Zilla-Plugin-Meta-Contributors
+ dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
+ dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
+ dev-perl/Dist-Zilla-Plugin-OSPrereqs
+ dev-perl/Dist-Zilla-Plugin-OurPkgVersion
+ dev-perl/Dist-Zilla-Plugin-Run
+ dev-perl/Software-License
+"
+RDEPEND="
+ !minimal? (
+ dev-perl/DBI
+ dev-perl/Expect
+ dev-perl/IPC-Shareable
+ dev-perl/XML-LibXML
+ net-misc/rsync
+ )
+ virtual/perl-Carp
+ virtual/perl-Data-Dumper
+ dev-perl/Data-Validate-IP
+ dev-perl/Devel-Caller
+ dev-perl/Digest-HMAC
+ virtual/perl-Digest-MD5
+ virtual/perl-Exporter
+ virtual/perl-File-Spec
+ dev-perl/HTTP-Message
+ dev-perl/Hash-Merge
+ virtual/perl-IO
+ dev-perl/IO-String
+ dev-perl/IO-Tty
+ dev-perl/JSON-MaybeXS
+ virtual/perl-MIME-Base64
+ dev-perl/Net-OpenSSH
+ dev-perl/Net-SFTP-Foreign
+ >=virtual/perl-Scalar-List-Utils-1.450.0
+ dev-perl/Parallel-ForkManager
+ dev-perl/Sort-Naturally
+ dev-perl/String-Escape
+ virtual/perl-Storable
+ dev-perl/TermReadKey
+ virtual/perl-Test-Simple
+ dev-perl/Text-Glob
+ virtual/perl-Text-Tabs+Wrap
+ virtual/perl-Time-HiRes
+ dev-perl/URI
+ dev-perl/XML-Simple
+ dev-perl/libwww-perl
+ dev-perl/YAML
+ virtual/perl-version
+ virtual/perl-Term-ANSIColor
+"
+# NB: would add test? !minimal? Test-mysqld, but I can't get that to work
+BDEPEND="
+ ${RDEPEND}
+ >=virtual/perl-CPAN-Meta-Requirements-2.120.620
+ >=virtual/perl-ExtUtils-MakeMaker-7.110.100
+ >=dev-perl/File-ShareDir-Install-0.60.0
+ virtual/perl-Module-Metadata
+ test? (
+ !minimal? (
+ || ( dev-perl/File-LibMagic sys-apps/file )
+ dev-vcs/git
+ )
+ virtual/perl-File-Temp
+ dev-perl/Sub-Override
+ dev-perl/Test-Deep
+ dev-perl/Test-Exception
+ dev-perl/Test-Output
+ dev-perl/Test-UseAllModules
+ dev-perl/Test-Warnings
+ virtual/perl-autodie
+ virtual/perl-Module-Load-Conditional
+ )
+"
+
+[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
+
+src_unpack() {
+ if [[ ${PV} == 9999 ]]; then
+ "${VCS_ECLASS}"_src_unpack
+ mkdir -p "${S}" || die "Can't make ${S}"
+ else
+ default
+ fi
+}
+
+dzil_src_prep() {
+ einfo "Patching dist.ini"
+
+ # This block of sed invocations removes all plugins that aren't
+ # useful for users to have on Gentoo, because all of them are
+ # conditional and subjective style checks, which don't indicate
+ # a real issue for users, and paying the price of their dependencies is undesired.
+
+ # The {N;d} trick adds the [n]ext line after the match to the pattern-space
+ # so that the final [d]elete deletes the next line too. Can be expanded for each
+ # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
+ sed -e '/^\[Test::Kwalitee\]/d' \
+ -e '/^\[PodSyntaxTests\]/d' \
+ -e '/^Perl::Critic::Freenode =/d' \
+ -e '/^Perl::Critic::TooMuchCode =/d' \
+ -e '/^Test::Kwalitee =/d' \
+ -e '/^Test::PerlTidy =/d' \
+ -e '/^Test::Pod =/d' \
+ -e '/^\[Test::CPAN::Changes\]/{N;d}' \
+ -e '/^\[OptionalFeature/,/^$/d' \
+ -e '/^\[Test::MinimumVersion\]/{N;d}' \
+ -i dist.ini || die "Can't patch dist.ini"
+
+ # Removals/additions have to be tracked by git or dzil build fails
+ # Spurious warning during src_prepare
+ git rm -f xt/author/critic-progressive.t || die "Can't rm author/critic-progressive.t"
+ # Spurious warning during src_prepare
+ git rm -f xt/author/perltidy.t || die "Can't rm author/perltidy.t"
+}
+dzil_env_setup() {
+ # NextRelease noise :(
+ mkdir -p ~/.dzil/ || die "mkdir -p ~/.dzil/ failed"
+ local user="$(whoami)"
+ local host="$(hostname)"
+ printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
+
+}
+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}'";
+
+ S="${dzil_root}" dzil_src_prep
+ dzil_env_setup
+
+ 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
+ # Uses git sources in WORKDIR/rex-git
+ # to generate a CPAN-style tree in ${S}
+ # before letting perl-module.eclass do the rest
+ dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
+ fi
+ cd "${S}" || die "Can't enter build dir"
+
+ # If you DIY installed Test::mysqld, but didn't patch
+ # it to handle the fact on Gentoo, mysql_install_db is NOT in PATH
+ # tests fail. So this test is patched out if mysql_install_db is not in PATH
+ if perl_has_module "Test::mysqld" && ! type -P mysql_install_db >/dev/null; then
+ perl_rm_files "t/db.t"
+ fi
+ perl-module_src_prepare
+}
+
+src_install() {
+ newbashcomp "share/${PN}-tab-completion.bash" "${PN}"
+
+ insinto /usr/share/zsh/site-functions
+ newins "share/${PN}-tab-completion.zsh" "_${PN}"
+
+ perl-module_src_install
+}
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2023-08-14 17:08 罗百科
0 siblings, 0 replies; 58+ messages in thread
From: 罗百科 @ 2023-08-14 17:08 UTC (permalink / raw
To: gentoo-commits
commit: a7a883bb8819b26abd378d58be9dc6033a1e1556
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Sat Aug 5 20:53:06 2023 +0000
Commit: 罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Mon Aug 14 17:06:20 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7a883bb
app-admin/rex: update live ebuild
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
app-admin/rex/rex-9999.ebuild | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-9999.ebuild
index c6c604f1e599..1b5ca9f0db12 100644
--- a/app-admin/rex/rex-9999.ebuild
+++ b/app-admin/rex/rex-9999.ebuild
@@ -48,6 +48,7 @@ RDEPEND="
dev-perl/Expect
dev-perl/IPC-Shareable
dev-perl/XML-LibXML
+ net-misc/rsync
)
virtual/perl-Carp
virtual/perl-Data-Dumper
@@ -92,7 +93,8 @@ BDEPEND="
virtual/perl-Module-Metadata
test? (
!minimal? (
- dev-perl/File-LibMagic
+ || ( dev-perl/File-LibMagic sys-apps/file )
+ dev-vcs/git
)
virtual/perl-File-Temp
dev-perl/Sub-Override
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2023-09-04 12:30 Sam James
0 siblings, 0 replies; 58+ messages in thread
From: Sam James @ 2023-09-04 12:30 UTC (permalink / raw
To: gentoo-commits
commit: 6abbc84efa4b7ef085f46ef7a4f247f9068bfe0b
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Sun Sep 3 21:19:25 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 4 12:29:18 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6abbc84e
app-admin/rex: drop old
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32594
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-admin/rex/Manifest | 4 -
app-admin/rex/rex-1.13.3.ebuild | 220 --------------------------------------
app-admin/rex/rex-1.13.4.ebuild | 220 --------------------------------------
app-admin/rex/rex-1.14.1.ebuild | 225 ---------------------------------------
app-admin/rex/rex-1.14.2.ebuild | 226 ----------------------------------------
5 files changed, 895 deletions(-)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index ad1d7bcb092a..4ec16dbe7b4d 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -1,5 +1 @@
-DIST Rex-1.13.3.tar.gz 349550 BLAKE2B c2ccc2144e56761d33ed2b5d790febd49863639d2e3bba8028b7937b43eb51e7e59e9e99cb1d67f247b2dff8ef91aa04776afd6277ad8a2370f35d71e0b528dd SHA512 beab22aef8ba620b6e74847698eab99977844d2e9632812a9ae0e1ee303cbe4e5a6489000bd5209d76e42e3bb4bb799a90408ed6fb14e034f68132a4d37766dc
-DIST Rex-1.13.4.tar.gz 351011 BLAKE2B ec046b88f4443b03c05efbabb40900085293c61dab0ee9818a8c4d05be3cc0a1c1f53738b72cc245aaa2dfbcb00541f0e1e31b0c20f2464e9fc6586ed10707ef SHA512 27b76f4b527b42ea0b06dc1de05254dbd6e2fa3bc9a8a708af7557789ef22aec374a5d0585bf3ec4ee878a5387d51b881cf95855dbd05149b7b23929de12027d
-DIST Rex-1.14.1.tar.gz 354512 BLAKE2B e82248fa58b10e92f2256c57b589e8db6fc61a03532eac00a28431f2527b4a7e5fdaebbf4a0bdbdfa5b775be95826fb26fa831b58ecf354d6758f5a26649dc32 SHA512 c3cb3e64fb443858a47fbf0afabc9e57ca0a7646447ea259c109a5385a57b4347664dde23575e529afa17881f400bd1735994793362aa101519747805153cb75
-DIST Rex-1.14.2.tar.gz 355848 BLAKE2B 282abc3a0f9acbb553c3ed1a8efa34298f43e02773461325678e014b7a2ede56399c6d5140ff69dc18dc685c2e5b1f453fa45784e59fe14940c6a638bd104879 SHA512 3ca16b2bc401fd07b7ad7ce403bdbb92fbd9123f58b7f63a20292cd165b4b220317b252f1409a7f90099103de36a9091f01adaf37ec1cacf5abaecd140f34d27
DIST Rex-1.14.3.tar.gz 377627 BLAKE2B 40285856b42488f8b557ee2621c3c4ba1019b014d93e3d2e05c09590cb9d1cfa2738e3588aa8cb102ceb3c645cf5aa8113c279a18e23636ad80db09db0825d19 SHA512 7a64221b76f6949f2c5176adc86af9acaff80e9745ad19bc54ffc93d9542bb3c5250d4c511250a0917afb58b92d7a2cf2b24f6915331237c4e2635a760230b70
diff --git a/app-admin/rex/rex-1.13.3.ebuild b/app-admin/rex/rex-1.13.3.ebuild
deleted file mode 100644
index e0bfb6a838a7..000000000000
--- a/app-admin/rex/rex-1.13.3.ebuild
+++ /dev/null
@@ -1,220 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-if [[ ${PV} == 9999 ]]; then
- GITHUB_USER=RexOps
- GITHUB_REPO=Rex
- EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
- EGIT_BRANCH="master"
- EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
- VCS_ECLASS="git-r3"
-else
- # This is intentional to stop perl-module.eclass doing magic things when it
- # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
- # Also prevents perl-module.eclass provisioning SRC_URI
- DIST_AUTHOR=FERKI
- DIST_NAME=Rex
- KEYWORDS="~amd64 ~x86"
-fi
-inherit bash-completion-r1 perl-module ${VCS_ECLASS}
-
-DESCRIPTION="(R)?ex, the friendly automation framework"
-HOMEPAGE="https://metacpan.org/dist/Rex https://www.rexify.org"
-
-SLOT="0"
-IUSE="minimal test"
-RESTRICT="!test? ( test )"
-
-DZIL_DEPENDS="
- dev-perl/Dist-Zilla
- dev-perl/Dist-Zilla-Plugin-CheckExtraTests
- dev-perl/Dist-Zilla-Plugin-ContributorsFile
- dev-perl/Dist-Zilla-Plugin-Git
- dev-perl/Dist-Zilla-Plugin-Git-Contributors
- dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
- dev-perl/Dist-Zilla-Plugin-Meta-Contributors
- dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
- dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
- dev-perl/Dist-Zilla-Plugin-OSPrereqs
- dev-perl/Dist-Zilla-Plugin-OurPkgVersion
- dev-perl/Dist-Zilla-Plugin-Run
- dev-perl/Software-License
-"
-RDEPEND="
- !minimal? (
- dev-perl/DBI
- dev-perl/Expect
- dev-perl/IPC-Shareable
- dev-perl/XML-LibXML
- )
- virtual/perl-Carp
- virtual/perl-Data-Dumper
- dev-perl/Data-Validate-IP
- dev-perl/Devel-Caller
- dev-perl/Digest-HMAC
- virtual/perl-Digest-MD5
- virtual/perl-Exporter
- virtual/perl-File-Spec
- dev-perl/HTTP-Message
- dev-perl/Hash-Merge
- virtual/perl-IO
- dev-perl/IO-String
- dev-perl/IO-Tty
- dev-perl/JSON-MaybeXS
- virtual/perl-MIME-Base64
- dev-perl/Net-OpenSSH
- dev-perl/Net-SFTP-Foreign
- >=virtual/perl-Scalar-List-Utils-1.450.0
- dev-perl/Parallel-ForkManager
- dev-perl/Sort-Naturally
- dev-perl/String-Escape
- virtual/perl-Storable
- dev-perl/TermReadKey
- virtual/perl-Test-Simple
- dev-perl/Text-Glob
- virtual/perl-Text-Tabs+Wrap
- virtual/perl-Time-HiRes
- dev-perl/URI
- dev-perl/XML-Simple
- dev-perl/libwww-perl
- dev-perl/YAML
- virtual/perl-version
-"
-# NB: would add test? !minimal? Test-mysqld, but I can't get that to work
-BDEPEND="
- ${RDEPEND}
- >=virtual/perl-CPAN-Meta-Requirements-2.120.620
- >=virtual/perl-ExtUtils-MakeMaker-7.110.100
- >=dev-perl/File-ShareDir-Install-0.60.0
- virtual/perl-Module-Metadata
- test? (
- !minimal? (
- dev-perl/File-LibMagic
- )
- virtual/perl-File-Temp
- dev-perl/Test-Deep
- dev-perl/Test-Output
- dev-perl/Test-UseAllModules
- virtual/perl-autodie
- )
-"
-
-[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
-
-src_unpack() {
- if [[ ${PV} == 9999 ]]; then
- "${VCS_ECLASS}"_src_unpack
- mkdir -p "${S}" || die "Can't make ${S}"
- else
- default
- fi
-}
-
-dzil_src_prep() {
- einfo "Patching dist.ini"
-
- # This block of sed invocations removes all plugins that aren't
- # useful for users to have on Gentoo, because all of them are
- # conditional and subjective style checks, which don't indicate
- # a real issue for users, and paying the price of their dependencies is undesired.
-
- # The {N;d} trick adds the [n]ext line after the match to the pattern-space
- # so that the final [d]elete deletes the next line too. Can be expanded for each
- # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
- sed -e '/^\[Test::Kwalitee\]/d' \
- -e '/^\[PodSyntaxTests\]/d' \
- -e '/^Perl::Critic::Freenode =/d' \
- -e '/^Perl::Critic::TooMuchCode =/d' \
- -e '/^Test::Kwalitee =/d' \
- -e '/^Test::PerlTidy =/d' \
- -e '/^Test::Pod =/d' \
- -e '/^\[Test::CPAN::Changes\]/{N;d}' \
- -e '/^\[OptionalFeature/,/^$/d' \
- -e '/^\[Test::MinimumVersion\]/{N;d}' \
- -i dist.ini || die "Can't patch dist.ini"
-
- # Removals/additions have to be tracked by git or dzil build fails
- # Spurious warning during src_prepare
- git rm -f xt/author/critic-progressive.t || die "Can't rm author/critic-progressive.t"
- # Spurious warning during src_prepare
- git rm -f xt/author/perltidy.t || die "Can't rm author/perltidy.t"
-}
-dzil_env_setup() {
- # NextRelease noise :(
- mkdir -p ~/.dzil/ || die "mkdir -p ~/.dzil/ failed"
- local user="$(whoami)"
- local host="$(hostname)"
- printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
-
-}
-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}'";
-
- S="${dzil_root}" dzil_src_prep
- dzil_env_setup
-
- 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
- # Uses git sources in WORKDIR/rex-git
- # to generate a CPAN-style tree in ${S}
- # before letting perl-module.eclass do the rest
- dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
- fi
- cd "${S}" || die "Can't enter build dir"
-
- # If you DIY installed Test::mysqld, but didn't patch
- # it to handle the fact on Gentoo, mysql_install_db is NOT in PATH
- # tests fail. So this test is patched out if mysql_install_db is not in PATH
- if perl_has_module "Test::mysqld" && ! type -P mysql_install_db >/dev/null; then
- perl_rm_files "t/db.t"
- fi
- perl-module_src_prepare
-}
-
-src_install() {
- newbashcomp "share/${PN}-tab-completion.bash" "${PN}"
-
- insinto /usr/share/zsh/site-functions
- newins "share/${PN}-tab-completion.zsh" "_${PN}"
-
- perl-module_src_install
-}
diff --git a/app-admin/rex/rex-1.13.4.ebuild b/app-admin/rex/rex-1.13.4.ebuild
deleted file mode 100644
index e0bfb6a838a7..000000000000
--- a/app-admin/rex/rex-1.13.4.ebuild
+++ /dev/null
@@ -1,220 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-if [[ ${PV} == 9999 ]]; then
- GITHUB_USER=RexOps
- GITHUB_REPO=Rex
- EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
- EGIT_BRANCH="master"
- EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
- VCS_ECLASS="git-r3"
-else
- # This is intentional to stop perl-module.eclass doing magic things when it
- # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
- # Also prevents perl-module.eclass provisioning SRC_URI
- DIST_AUTHOR=FERKI
- DIST_NAME=Rex
- KEYWORDS="~amd64 ~x86"
-fi
-inherit bash-completion-r1 perl-module ${VCS_ECLASS}
-
-DESCRIPTION="(R)?ex, the friendly automation framework"
-HOMEPAGE="https://metacpan.org/dist/Rex https://www.rexify.org"
-
-SLOT="0"
-IUSE="minimal test"
-RESTRICT="!test? ( test )"
-
-DZIL_DEPENDS="
- dev-perl/Dist-Zilla
- dev-perl/Dist-Zilla-Plugin-CheckExtraTests
- dev-perl/Dist-Zilla-Plugin-ContributorsFile
- dev-perl/Dist-Zilla-Plugin-Git
- dev-perl/Dist-Zilla-Plugin-Git-Contributors
- dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
- dev-perl/Dist-Zilla-Plugin-Meta-Contributors
- dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
- dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
- dev-perl/Dist-Zilla-Plugin-OSPrereqs
- dev-perl/Dist-Zilla-Plugin-OurPkgVersion
- dev-perl/Dist-Zilla-Plugin-Run
- dev-perl/Software-License
-"
-RDEPEND="
- !minimal? (
- dev-perl/DBI
- dev-perl/Expect
- dev-perl/IPC-Shareable
- dev-perl/XML-LibXML
- )
- virtual/perl-Carp
- virtual/perl-Data-Dumper
- dev-perl/Data-Validate-IP
- dev-perl/Devel-Caller
- dev-perl/Digest-HMAC
- virtual/perl-Digest-MD5
- virtual/perl-Exporter
- virtual/perl-File-Spec
- dev-perl/HTTP-Message
- dev-perl/Hash-Merge
- virtual/perl-IO
- dev-perl/IO-String
- dev-perl/IO-Tty
- dev-perl/JSON-MaybeXS
- virtual/perl-MIME-Base64
- dev-perl/Net-OpenSSH
- dev-perl/Net-SFTP-Foreign
- >=virtual/perl-Scalar-List-Utils-1.450.0
- dev-perl/Parallel-ForkManager
- dev-perl/Sort-Naturally
- dev-perl/String-Escape
- virtual/perl-Storable
- dev-perl/TermReadKey
- virtual/perl-Test-Simple
- dev-perl/Text-Glob
- virtual/perl-Text-Tabs+Wrap
- virtual/perl-Time-HiRes
- dev-perl/URI
- dev-perl/XML-Simple
- dev-perl/libwww-perl
- dev-perl/YAML
- virtual/perl-version
-"
-# NB: would add test? !minimal? Test-mysqld, but I can't get that to work
-BDEPEND="
- ${RDEPEND}
- >=virtual/perl-CPAN-Meta-Requirements-2.120.620
- >=virtual/perl-ExtUtils-MakeMaker-7.110.100
- >=dev-perl/File-ShareDir-Install-0.60.0
- virtual/perl-Module-Metadata
- test? (
- !minimal? (
- dev-perl/File-LibMagic
- )
- virtual/perl-File-Temp
- dev-perl/Test-Deep
- dev-perl/Test-Output
- dev-perl/Test-UseAllModules
- virtual/perl-autodie
- )
-"
-
-[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
-
-src_unpack() {
- if [[ ${PV} == 9999 ]]; then
- "${VCS_ECLASS}"_src_unpack
- mkdir -p "${S}" || die "Can't make ${S}"
- else
- default
- fi
-}
-
-dzil_src_prep() {
- einfo "Patching dist.ini"
-
- # This block of sed invocations removes all plugins that aren't
- # useful for users to have on Gentoo, because all of them are
- # conditional and subjective style checks, which don't indicate
- # a real issue for users, and paying the price of their dependencies is undesired.
-
- # The {N;d} trick adds the [n]ext line after the match to the pattern-space
- # so that the final [d]elete deletes the next line too. Can be expanded for each
- # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
- sed -e '/^\[Test::Kwalitee\]/d' \
- -e '/^\[PodSyntaxTests\]/d' \
- -e '/^Perl::Critic::Freenode =/d' \
- -e '/^Perl::Critic::TooMuchCode =/d' \
- -e '/^Test::Kwalitee =/d' \
- -e '/^Test::PerlTidy =/d' \
- -e '/^Test::Pod =/d' \
- -e '/^\[Test::CPAN::Changes\]/{N;d}' \
- -e '/^\[OptionalFeature/,/^$/d' \
- -e '/^\[Test::MinimumVersion\]/{N;d}' \
- -i dist.ini || die "Can't patch dist.ini"
-
- # Removals/additions have to be tracked by git or dzil build fails
- # Spurious warning during src_prepare
- git rm -f xt/author/critic-progressive.t || die "Can't rm author/critic-progressive.t"
- # Spurious warning during src_prepare
- git rm -f xt/author/perltidy.t || die "Can't rm author/perltidy.t"
-}
-dzil_env_setup() {
- # NextRelease noise :(
- mkdir -p ~/.dzil/ || die "mkdir -p ~/.dzil/ failed"
- local user="$(whoami)"
- local host="$(hostname)"
- printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
-
-}
-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}'";
-
- S="${dzil_root}" dzil_src_prep
- dzil_env_setup
-
- 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
- # Uses git sources in WORKDIR/rex-git
- # to generate a CPAN-style tree in ${S}
- # before letting perl-module.eclass do the rest
- dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
- fi
- cd "${S}" || die "Can't enter build dir"
-
- # If you DIY installed Test::mysqld, but didn't patch
- # it to handle the fact on Gentoo, mysql_install_db is NOT in PATH
- # tests fail. So this test is patched out if mysql_install_db is not in PATH
- if perl_has_module "Test::mysqld" && ! type -P mysql_install_db >/dev/null; then
- perl_rm_files "t/db.t"
- fi
- perl-module_src_prepare
-}
-
-src_install() {
- newbashcomp "share/${PN}-tab-completion.bash" "${PN}"
-
- insinto /usr/share/zsh/site-functions
- newins "share/${PN}-tab-completion.zsh" "_${PN}"
-
- perl-module_src_install
-}
diff --git a/app-admin/rex/rex-1.14.1.ebuild b/app-admin/rex/rex-1.14.1.ebuild
deleted file mode 100644
index c6c604f1e599..000000000000
--- a/app-admin/rex/rex-1.14.1.ebuild
+++ /dev/null
@@ -1,225 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-if [[ ${PV} == 9999 ]]; then
- GITHUB_USER=RexOps
- GITHUB_REPO=Rex
- EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
- EGIT_BRANCH="master"
- EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
- VCS_ECLASS="git-r3"
-else
- # This is intentional to stop perl-module.eclass doing magic things when it
- # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
- # Also prevents perl-module.eclass provisioning SRC_URI
- DIST_AUTHOR=FERKI
- DIST_NAME=Rex
- KEYWORDS="~amd64 ~x86"
-fi
-inherit bash-completion-r1 perl-module ${VCS_ECLASS}
-
-DESCRIPTION="(R)?ex, the friendly automation framework"
-HOMEPAGE="https://metacpan.org/dist/Rex https://www.rexify.org"
-
-SLOT="0"
-IUSE="minimal test"
-RESTRICT="!test? ( test )"
-
-DZIL_DEPENDS="
- dev-perl/Dist-Zilla
- dev-perl/Dist-Zilla-Plugin-CheckExtraTests
- dev-perl/Dist-Zilla-Plugin-ContributorsFile
- dev-perl/Dist-Zilla-Plugin-Git
- dev-perl/Dist-Zilla-Plugin-Git-Contributors
- dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
- dev-perl/Dist-Zilla-Plugin-Meta-Contributors
- dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
- dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
- dev-perl/Dist-Zilla-Plugin-OSPrereqs
- dev-perl/Dist-Zilla-Plugin-OurPkgVersion
- dev-perl/Dist-Zilla-Plugin-Run
- dev-perl/Software-License
-"
-RDEPEND="
- !minimal? (
- dev-perl/DBI
- dev-perl/Expect
- dev-perl/IPC-Shareable
- dev-perl/XML-LibXML
- )
- virtual/perl-Carp
- virtual/perl-Data-Dumper
- dev-perl/Data-Validate-IP
- dev-perl/Devel-Caller
- dev-perl/Digest-HMAC
- virtual/perl-Digest-MD5
- virtual/perl-Exporter
- virtual/perl-File-Spec
- dev-perl/HTTP-Message
- dev-perl/Hash-Merge
- virtual/perl-IO
- dev-perl/IO-String
- dev-perl/IO-Tty
- dev-perl/JSON-MaybeXS
- virtual/perl-MIME-Base64
- dev-perl/Net-OpenSSH
- dev-perl/Net-SFTP-Foreign
- >=virtual/perl-Scalar-List-Utils-1.450.0
- dev-perl/Parallel-ForkManager
- dev-perl/Sort-Naturally
- dev-perl/String-Escape
- virtual/perl-Storable
- dev-perl/TermReadKey
- virtual/perl-Test-Simple
- dev-perl/Text-Glob
- virtual/perl-Text-Tabs+Wrap
- virtual/perl-Time-HiRes
- dev-perl/URI
- dev-perl/XML-Simple
- dev-perl/libwww-perl
- dev-perl/YAML
- virtual/perl-version
- virtual/perl-Term-ANSIColor
-"
-# NB: would add test? !minimal? Test-mysqld, but I can't get that to work
-BDEPEND="
- ${RDEPEND}
- >=virtual/perl-CPAN-Meta-Requirements-2.120.620
- >=virtual/perl-ExtUtils-MakeMaker-7.110.100
- >=dev-perl/File-ShareDir-Install-0.60.0
- virtual/perl-Module-Metadata
- test? (
- !minimal? (
- dev-perl/File-LibMagic
- )
- virtual/perl-File-Temp
- dev-perl/Sub-Override
- dev-perl/Test-Deep
- dev-perl/Test-Exception
- dev-perl/Test-Output
- dev-perl/Test-UseAllModules
- dev-perl/Test-Warnings
- virtual/perl-autodie
- virtual/perl-Module-Load-Conditional
- )
-"
-
-[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
-
-src_unpack() {
- if [[ ${PV} == 9999 ]]; then
- "${VCS_ECLASS}"_src_unpack
- mkdir -p "${S}" || die "Can't make ${S}"
- else
- default
- fi
-}
-
-dzil_src_prep() {
- einfo "Patching dist.ini"
-
- # This block of sed invocations removes all plugins that aren't
- # useful for users to have on Gentoo, because all of them are
- # conditional and subjective style checks, which don't indicate
- # a real issue for users, and paying the price of their dependencies is undesired.
-
- # The {N;d} trick adds the [n]ext line after the match to the pattern-space
- # so that the final [d]elete deletes the next line too. Can be expanded for each
- # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
- sed -e '/^\[Test::Kwalitee\]/d' \
- -e '/^\[PodSyntaxTests\]/d' \
- -e '/^Perl::Critic::Freenode =/d' \
- -e '/^Perl::Critic::TooMuchCode =/d' \
- -e '/^Test::Kwalitee =/d' \
- -e '/^Test::PerlTidy =/d' \
- -e '/^Test::Pod =/d' \
- -e '/^\[Test::CPAN::Changes\]/{N;d}' \
- -e '/^\[OptionalFeature/,/^$/d' \
- -e '/^\[Test::MinimumVersion\]/{N;d}' \
- -i dist.ini || die "Can't patch dist.ini"
-
- # Removals/additions have to be tracked by git or dzil build fails
- # Spurious warning during src_prepare
- git rm -f xt/author/critic-progressive.t || die "Can't rm author/critic-progressive.t"
- # Spurious warning during src_prepare
- git rm -f xt/author/perltidy.t || die "Can't rm author/perltidy.t"
-}
-dzil_env_setup() {
- # NextRelease noise :(
- mkdir -p ~/.dzil/ || die "mkdir -p ~/.dzil/ failed"
- local user="$(whoami)"
- local host="$(hostname)"
- printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
-
-}
-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}'";
-
- S="${dzil_root}" dzil_src_prep
- dzil_env_setup
-
- 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
- # Uses git sources in WORKDIR/rex-git
- # to generate a CPAN-style tree in ${S}
- # before letting perl-module.eclass do the rest
- dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
- fi
- cd "${S}" || die "Can't enter build dir"
-
- # If you DIY installed Test::mysqld, but didn't patch
- # it to handle the fact on Gentoo, mysql_install_db is NOT in PATH
- # tests fail. So this test is patched out if mysql_install_db is not in PATH
- if perl_has_module "Test::mysqld" && ! type -P mysql_install_db >/dev/null; then
- perl_rm_files "t/db.t"
- fi
- perl-module_src_prepare
-}
-
-src_install() {
- newbashcomp "share/${PN}-tab-completion.bash" "${PN}"
-
- insinto /usr/share/zsh/site-functions
- newins "share/${PN}-tab-completion.zsh" "_${PN}"
-
- perl-module_src_install
-}
diff --git a/app-admin/rex/rex-1.14.2.ebuild b/app-admin/rex/rex-1.14.2.ebuild
deleted file mode 100644
index 51c374850d9c..000000000000
--- a/app-admin/rex/rex-1.14.2.ebuild
+++ /dev/null
@@ -1,226 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-if [[ ${PV} == 9999 ]]; then
- GITHUB_USER=RexOps
- GITHUB_REPO=Rex
- EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
- EGIT_BRANCH="master"
- EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
- VCS_ECLASS="git-r3"
-else
- # This is intentional to stop perl-module.eclass doing magic things when it
- # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
- # Also prevents perl-module.eclass provisioning SRC_URI
- DIST_AUTHOR=FERKI
- DIST_NAME=Rex
- KEYWORDS="~amd64 ~x86"
-fi
-inherit bash-completion-r1 perl-module ${VCS_ECLASS}
-
-DESCRIPTION="(R)?ex, the friendly automation framework"
-HOMEPAGE="https://metacpan.org/dist/Rex https://www.rexify.org"
-
-SLOT="0"
-IUSE="minimal test"
-RESTRICT="!test? ( test )"
-
-DZIL_DEPENDS="
- dev-perl/Dist-Zilla
- dev-perl/Dist-Zilla-Plugin-CheckExtraTests
- dev-perl/Dist-Zilla-Plugin-ContributorsFile
- dev-perl/Dist-Zilla-Plugin-Git
- dev-perl/Dist-Zilla-Plugin-Git-Contributors
- dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
- dev-perl/Dist-Zilla-Plugin-Meta-Contributors
- dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
- dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
- dev-perl/Dist-Zilla-Plugin-OSPrereqs
- dev-perl/Dist-Zilla-Plugin-OurPkgVersion
- dev-perl/Dist-Zilla-Plugin-Run
- dev-perl/Software-License
-"
-RDEPEND="
- !minimal? (
- dev-perl/DBI
- dev-perl/Expect
- dev-perl/IPC-Shareable
- dev-perl/XML-LibXML
- )
- virtual/perl-Carp
- virtual/perl-Data-Dumper
- dev-perl/Data-Validate-IP
- dev-perl/Devel-Caller
- dev-perl/Digest-HMAC
- virtual/perl-Digest-MD5
- virtual/perl-Exporter
- virtual/perl-File-Spec
- dev-perl/HTTP-Message
- dev-perl/Hash-Merge
- virtual/perl-IO
- dev-perl/IO-String
- dev-perl/IO-Tty
- dev-perl/JSON-MaybeXS
- virtual/perl-MIME-Base64
- dev-perl/Net-OpenSSH
- dev-perl/Net-SFTP-Foreign
- >=virtual/perl-Scalar-List-Utils-1.450.0
- dev-perl/Parallel-ForkManager
- dev-perl/Sort-Naturally
- dev-perl/String-Escape
- virtual/perl-Storable
- dev-perl/TermReadKey
- virtual/perl-Test-Simple
- dev-perl/Text-Glob
- virtual/perl-Text-Tabs+Wrap
- virtual/perl-Time-HiRes
- dev-perl/URI
- dev-perl/XML-Simple
- dev-perl/libwww-perl
- dev-perl/YAML
- virtual/perl-version
- virtual/perl-Term-ANSIColor
-"
-# NB: would add test? !minimal? Test-mysqld, but I can't get that to work
-BDEPEND="
- ${RDEPEND}
- >=virtual/perl-CPAN-Meta-Requirements-2.120.620
- >=virtual/perl-ExtUtils-MakeMaker-7.110.100
- >=dev-perl/File-ShareDir-Install-0.60.0
- virtual/perl-Module-Metadata
- test? (
- !minimal? (
- dev-perl/File-LibMagic
- )
- virtual/perl-File-Temp
- dev-perl/Sub-Override
- dev-perl/Test-Deep
- dev-perl/Test-Exception
- dev-perl/Test-Output
- dev-perl/Test-UseAllModules
- dev-perl/Test-Warnings
- dev-vcs/git
- virtual/perl-autodie
- virtual/perl-Module-Load-Conditional
- )
-"
-
-[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
-
-src_unpack() {
- if [[ ${PV} == 9999 ]]; then
- "${VCS_ECLASS}"_src_unpack
- mkdir -p "${S}" || die "Can't make ${S}"
- else
- default
- fi
-}
-
-dzil_src_prep() {
- einfo "Patching dist.ini"
-
- # This block of sed invocations removes all plugins that aren't
- # useful for users to have on Gentoo, because all of them are
- # conditional and subjective style checks, which don't indicate
- # a real issue for users, and paying the price of their dependencies is undesired.
-
- # The {N;d} trick adds the [n]ext line after the match to the pattern-space
- # so that the final [d]elete deletes the next line too. Can be expanded for each
- # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
- sed -e '/^\[Test::Kwalitee\]/d' \
- -e '/^\[PodSyntaxTests\]/d' \
- -e '/^Perl::Critic::Freenode =/d' \
- -e '/^Perl::Critic::TooMuchCode =/d' \
- -e '/^Test::Kwalitee =/d' \
- -e '/^Test::PerlTidy =/d' \
- -e '/^Test::Pod =/d' \
- -e '/^\[Test::CPAN::Changes\]/{N;d}' \
- -e '/^\[OptionalFeature/,/^$/d' \
- -e '/^\[Test::MinimumVersion\]/{N;d}' \
- -i dist.ini || die "Can't patch dist.ini"
-
- # Removals/additions have to be tracked by git or dzil build fails
- # Spurious warning during src_prepare
- git rm -f xt/author/critic-progressive.t || die "Can't rm author/critic-progressive.t"
- # Spurious warning during src_prepare
- git rm -f xt/author/perltidy.t || die "Can't rm author/perltidy.t"
-}
-dzil_env_setup() {
- # NextRelease noise :(
- mkdir -p ~/.dzil/ || die "mkdir -p ~/.dzil/ failed"
- local user="$(whoami)"
- local host="$(hostname)"
- printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
-
-}
-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}'";
-
- S="${dzil_root}" dzil_src_prep
- dzil_env_setup
-
- 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
- # Uses git sources in WORKDIR/rex-git
- # to generate a CPAN-style tree in ${S}
- # before letting perl-module.eclass do the rest
- dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
- fi
- cd "${S}" || die "Can't enter build dir"
-
- # If you DIY installed Test::mysqld, but didn't patch
- # it to handle the fact on Gentoo, mysql_install_db is NOT in PATH
- # tests fail. So this test is patched out if mysql_install_db is not in PATH
- if perl_has_module "Test::mysqld" && ! type -P mysql_install_db >/dev/null; then
- perl_rm_files "t/db.t"
- fi
- perl-module_src_prepare
-}
-
-src_install() {
- newbashcomp "share/${PN}-tab-completion.bash" "${PN}"
-
- insinto /usr/share/zsh/site-functions
- newins "share/${PN}-tab-completion.zsh" "_${PN}"
-
- perl-module_src_install
-}
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2024-11-06 10:04 Patrick Lauer
0 siblings, 0 replies; 58+ messages in thread
From: Patrick Lauer @ 2024-11-06 10:04 UTC (permalink / raw
To: gentoo-commits
commit: 76d3534a4d47200d6c926a62b2678bdb7155ab36
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 6 10:04:32 2024 +0000
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Wed Nov 6 10:04:43 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76d3534a
app-admin/rex: add 1.15.0
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
app-admin/rex/Manifest | 1 +
app-admin/rex/rex-1.15.0.ebuild | 227 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 228 insertions(+)
diff --git a/app-admin/rex/Manifest b/app-admin/rex/Manifest
index 4ec16dbe7b4d..88f61ec4c4dc 100644
--- a/app-admin/rex/Manifest
+++ b/app-admin/rex/Manifest
@@ -1 +1,2 @@
DIST Rex-1.14.3.tar.gz 377627 BLAKE2B 40285856b42488f8b557ee2621c3c4ba1019b014d93e3d2e05c09590cb9d1cfa2738e3588aa8cb102ceb3c645cf5aa8113c279a18e23636ad80db09db0825d19 SHA512 7a64221b76f6949f2c5176adc86af9acaff80e9745ad19bc54ffc93d9542bb3c5250d4c511250a0917afb58b92d7a2cf2b24f6915331237c4e2635a760230b70
+DIST Rex-1.15.0.tar.gz 357974 BLAKE2B ab9ba419444f6e9472278e5e20ba1a96cfc12ccd3de6ad733a5d911f624a5ad369d1cea305b15f1578ce5239bc6519cf22f8bea27b20568d5f4a272245f28bc4 SHA512 e712c35141ec7ae4db2e0cb59261f3d1590eb2a36dc82d2bedc538dbc999c38dce2233fc946293e15037e3bad6dd4b144d2429bed8cc6802d28ab32b3a55e710
diff --git a/app-admin/rex/rex-1.15.0.ebuild b/app-admin/rex/rex-1.15.0.ebuild
new file mode 100644
index 000000000000..ebaea279014b
--- /dev/null
+++ b/app-admin/rex/rex-1.15.0.ebuild
@@ -0,0 +1,227 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} == 9999 ]]; then
+ GITHUB_USER=RexOps
+ GITHUB_REPO=Rex
+ EGIT_REPO_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}.git"
+ EGIT_BRANCH="master"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
+ VCS_ECLASS="git-r3"
+else
+ # This is intentional to stop perl-module.eclass doing magic things when it
+ # shouldn't. Like making ${S} contain "Rex" when the git clone has "rex"
+ # Also prevents perl-module.eclass provisioning SRC_URI
+ DIST_AUTHOR=FERKI
+ DIST_NAME=Rex
+ KEYWORDS="~amd64 ~x86"
+fi
+inherit bash-completion-r1 perl-module ${VCS_ECLASS}
+
+DESCRIPTION="(R)?ex, the friendly automation framework"
+HOMEPAGE="https://metacpan.org/dist/Rex https://www.rexify.org"
+
+SLOT="0"
+IUSE="minimal test"
+RESTRICT="!test? ( test )"
+
+DZIL_DEPENDS="
+ dev-perl/Dist-Zilla
+ dev-perl/Dist-Zilla-Plugin-CheckExtraTests
+ dev-perl/Dist-Zilla-Plugin-ContributorsFile
+ dev-perl/Dist-Zilla-Plugin-Git
+ dev-perl/Dist-Zilla-Plugin-Git-Contributors
+ dev-perl/Dist-Zilla-Plugin-MakeMaker-Awesome
+ dev-perl/Dist-Zilla-Plugin-Meta-Contributors
+ dev-perl/Dist-Zilla-Plugin-MetaProvides-Package
+ dev-perl/Dist-Zilla-Plugin-NextVersion-Semantic
+ dev-perl/Dist-Zilla-Plugin-OSPrereqs
+ dev-perl/Dist-Zilla-Plugin-OurPkgVersion
+ dev-perl/Dist-Zilla-Plugin-Run
+ dev-perl/Software-License
+"
+RDEPEND="
+ !minimal? (
+ dev-perl/DBI
+ dev-perl/Expect
+ dev-perl/IPC-Shareable
+ dev-perl/XML-LibXML
+ net-misc/rsync
+ )
+ virtual/perl-Carp
+ virtual/perl-Data-Dumper
+ dev-perl/Data-Validate-IP
+ dev-perl/Devel-Caller
+ dev-perl/Digest-HMAC
+ virtual/perl-Digest-MD5
+ virtual/perl-Exporter
+ virtual/perl-File-Spec
+ dev-perl/HTTP-Message
+ dev-perl/Hash-Merge
+ virtual/perl-IO
+ dev-perl/IO-String
+ dev-perl/IO-Tty
+ dev-perl/JSON-MaybeXS
+ virtual/perl-MIME-Base64
+ dev-perl/Net-OpenSSH
+ dev-perl/Net-SFTP-Foreign
+ >=virtual/perl-Scalar-List-Utils-1.450.0
+ dev-perl/Parallel-ForkManager
+ dev-perl/Sort-Naturally
+ dev-perl/String-Escape
+ virtual/perl-Storable
+ dev-perl/TermReadKey
+ virtual/perl-Test-Simple
+ dev-perl/Text-Glob
+ virtual/perl-Text-Tabs+Wrap
+ virtual/perl-Time-HiRes
+ dev-perl/URI
+ dev-perl/XML-Simple
+ dev-perl/libwww-perl
+ dev-perl/YAML
+ virtual/perl-version
+ virtual/perl-Term-ANSIColor
+"
+# NB: would add test? !minimal? Test-mysqld, but I can't get that to work
+BDEPEND="
+ ${RDEPEND}
+ >=virtual/perl-CPAN-Meta-Requirements-2.120.620
+ >=virtual/perl-ExtUtils-MakeMaker-7.110.100
+ >=dev-perl/File-ShareDir-Install-0.60.0
+ virtual/perl-Module-Metadata
+ test? (
+ !minimal? (
+ || ( dev-perl/File-LibMagic sys-apps/file )
+ dev-vcs/git
+ )
+ virtual/perl-File-Temp
+ dev-perl/Sub-Override
+ dev-perl/Test-Deep
+ dev-perl/Test-Exception
+ dev-perl/Test-Output
+ dev-perl/Test-UseAllModules
+ dev-perl/Test-Warnings
+ virtual/perl-autodie
+ virtual/perl-Module-Load-Conditional
+ )
+"
+
+[[ ${PV} == 9999 ]] && BDEPEND+=" ${DZIL_DEPENDS}"
+
+src_unpack() {
+ if [[ ${PV} == 9999 ]]; then
+ "${VCS_ECLASS}"_src_unpack
+ mkdir -p "${S}" || die "Can't make ${S}"
+ else
+ default
+ fi
+}
+
+dzil_src_prep() {
+ einfo "Patching dist.ini"
+
+ # This block of sed invocations removes all plugins that aren't
+ # useful for users to have on Gentoo, because all of them are
+ # conditional and subjective style checks, which don't indicate
+ # a real issue for users, and paying the price of their dependencies is undesired.
+
+ # The {N;d} trick adds the [n]ext line after the match to the pattern-space
+ # so that the final [d]elete deletes the next line too. Can be expanded for each
+ # line, ie: {N;N;N;d} deletes 3 lines after the match as well as the match.
+ sed -e '/^\[Test::Kwalitee\]/d' \
+ -e '/^\[PodSyntaxTests\]/d' \
+ -e '/^Perl::Critic::Freenode =/d' \
+ -e '/^Perl::Critic::TooMuchCode =/d' \
+ -e '/^Test::Kwalitee =/d' \
+ -e '/^Test::PerlTidy =/d' \
+ -e '/^Test::Pod =/d' \
+ -e '/^\[Test::CPAN::Changes\]/{N;d}' \
+ -e '/^\[OptionalFeature/,/^$/d' \
+ -e '/^\[Test::MinimumVersion\]/{N;d}' \
+ -i dist.ini || die "Can't patch dist.ini"
+
+ # Removals/additions have to be tracked by git or dzil build fails
+ # Spurious warning during src_prepare
+ git rm -f xt/author/critic-progressive.t || die "Can't rm author/critic-progressive.t"
+ # Spurious warning during src_prepare
+ git rm -f xt/author/perltidy.t || die "Can't rm author/perltidy.t"
+}
+dzil_env_setup() {
+ # NextRelease noise :(
+ mkdir -p ~/.dzil/ || die "mkdir -p ~/.dzil/ failed"
+ local user="$(whoami)"
+ local host="$(hostname)"
+ printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini
+
+}
+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}'";
+
+ S="${dzil_root}" dzil_src_prep
+ dzil_env_setup
+
+ 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
+ # Uses git sources in WORKDIR/rex-git
+ # to generate a CPAN-style tree in ${S}
+ # before letting perl-module.eclass do the rest
+ dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
+ fi
+ cd "${S}" || die "Can't enter build dir"
+
+ # If you DIY installed Test::mysqld, but didn't patch
+ # it to handle the fact on Gentoo, mysql_install_db is NOT in PATH
+ # tests fail. So this test is patched out if mysql_install_db is not in PATH
+ if perl_has_module "Test::mysqld" && ! type -P mysql_install_db >/dev/null; then
+ perl_rm_files "t/db.t"
+ fi
+ perl-module_src_prepare
+}
+
+src_install() {
+ newbashcomp "share/${PN}-tab-completion.bash" "${PN}"
+
+ insinto /usr/share/zsh/site-functions
+ newins "share/${PN}-tab-completion.zsh" "_${PN}"
+
+ perl-module_src_install
+}
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2024-11-06 10:36 Patrick Lauer
0 siblings, 0 replies; 58+ messages in thread
From: Patrick Lauer @ 2024-11-06 10:36 UTC (permalink / raw
To: gentoo-commits
commit: cfacd01b1b3ab2bae3af0ee4ead9ebc6f2c62629
Author: Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Tue Nov 5 20:00:09 2024 +0000
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Wed Nov 6 10:14:12 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfacd01b
app-admin/rex: update dependencies
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
app-admin/rex/rex-9999.ebuild | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-9999.ebuild
index 1b5ca9f0db12..ed83e4352353 100644
--- a/app-admin/rex/rex-9999.ebuild
+++ b/app-admin/rex/rex-9999.ebuild
@@ -44,9 +44,11 @@ DZIL_DEPENDS="
"
RDEPEND="
!minimal? (
+ app-admin/augeas
dev-perl/DBI
dev-perl/Expect
dev-perl/IPC-Shareable
+ dev-perl/Parallel-ForkManager
dev-perl/XML-LibXML
net-misc/rsync
)
@@ -61,14 +63,12 @@ RDEPEND="
dev-perl/HTTP-Message
dev-perl/Hash-Merge
virtual/perl-IO
- dev-perl/IO-String
dev-perl/IO-Tty
dev-perl/JSON-MaybeXS
virtual/perl-MIME-Base64
dev-perl/Net-OpenSSH
dev-perl/Net-SFTP-Foreign
>=virtual/perl-Scalar-List-Utils-1.450.0
- dev-perl/Parallel-ForkManager
dev-perl/Sort-Naturally
dev-perl/String-Escape
virtual/perl-Storable
@@ -93,6 +93,7 @@ BDEPEND="
virtual/perl-Module-Metadata
test? (
!minimal? (
+ app-admin/augeas
|| ( dev-perl/File-LibMagic sys-apps/file )
dev-vcs/git
)
^ permalink raw reply related [flat|nested] 58+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/
@ 2024-11-06 10:36 Patrick Lauer
0 siblings, 0 replies; 58+ messages in thread
From: Patrick Lauer @ 2024-11-06 10:36 UTC (permalink / raw
To: gentoo-commits
commit: cf48d793e7c88f2538ef83722e00557c07ae835a
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 6 10:36:20 2024 +0000
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Wed Nov 6 10:36:20 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf48d793
app-admin/rex: Update dependencies
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
app-admin/rex/{rex-1.15.0.ebuild => rex-1.15.0-r1.ebuild} | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/app-admin/rex/rex-1.15.0.ebuild b/app-admin/rex/rex-1.15.0-r1.ebuild
similarity index 98%
rename from app-admin/rex/rex-1.15.0.ebuild
rename to app-admin/rex/rex-1.15.0-r1.ebuild
index ebaea279014b..f6d8bf63a494 100644
--- a/app-admin/rex/rex-1.15.0.ebuild
+++ b/app-admin/rex/rex-1.15.0-r1.ebuild
@@ -44,9 +44,11 @@ DZIL_DEPENDS="
"
RDEPEND="
!minimal? (
+ app-admin/augeas
dev-perl/DBI
dev-perl/Expect
dev-perl/IPC-Shareable
+ dev-perl/Parallel-ForkManager
dev-perl/XML-LibXML
net-misc/rsync
)
@@ -61,14 +63,12 @@ RDEPEND="
dev-perl/HTTP-Message
dev-perl/Hash-Merge
virtual/perl-IO
- dev-perl/IO-String
dev-perl/IO-Tty
dev-perl/JSON-MaybeXS
virtual/perl-MIME-Base64
dev-perl/Net-OpenSSH
dev-perl/Net-SFTP-Foreign
>=virtual/perl-Scalar-List-Utils-1.450.0
- dev-perl/Parallel-ForkManager
dev-perl/Sort-Naturally
dev-perl/String-Escape
virtual/perl-Storable
@@ -93,6 +93,7 @@ BDEPEND="
virtual/perl-Module-Metadata
test? (
!minimal? (
+ app-admin/augeas
|| ( dev-perl/File-LibMagic sys-apps/file )
dev-vcs/git
)
^ permalink raw reply related [flat|nested] 58+ messages in thread
end of thread, other threads:[~2024-11-06 10:36 UTC | newest]
Thread overview: 58+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-28 23:28 [gentoo-commits] repo/gentoo:master commit in: app-admin/rex/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2024-11-06 10:36 Patrick Lauer
2024-11-06 10:36 Patrick Lauer
2024-11-06 10:04 Patrick Lauer
2023-09-04 12:30 Sam James
2023-08-14 17:08 罗百科
2023-08-14 17:08 罗百科
2023-05-20 5:55 罗百科
2023-03-06 12:04 罗百科
2023-03-06 12:04 罗百科
2023-02-15 11:03 罗百科
2023-02-15 11:03 罗百科
2023-02-15 11:03 罗百科
2023-02-15 11:03 罗百科
2023-02-14 9:16 罗百科
2023-02-14 8:57 罗百科
2021-07-30 19:28 Patrice Clement
2021-06-12 9:44 Patrice Clement
2021-03-06 22:02 Patrice Clement
2021-03-06 22:02 Patrice Clement
2020-11-14 9:34 Kent Fredric
2020-11-14 9:34 Kent Fredric
2020-11-14 9:34 Kent Fredric
2020-11-13 7:51 Kent Fredric
2020-11-13 7:51 Kent Fredric
2020-11-11 21:44 Patrice Clement
2020-11-11 21:44 Patrice Clement
2020-11-11 21:44 Patrice Clement
2020-11-11 21:44 Patrice Clement
2020-11-11 21:44 Patrice Clement
2020-09-09 8:39 Kent Fredric
2020-09-09 8:39 Kent Fredric
2020-08-07 17:00 Kent Fredric
2020-08-07 16:41 Kent Fredric
2020-08-07 16:41 Kent Fredric
2020-07-29 12:16 Kent Fredric
2020-07-29 12:16 Kent Fredric
2020-07-01 14:22 Kent Fredric
2020-06-13 20:20 Kent Fredric
2020-05-12 8:16 Kent Fredric
2020-05-12 8:16 Kent Fredric
2020-05-12 8:16 Kent Fredric
2020-04-22 20:17 Kent Fredric
2020-04-17 14:12 Kent Fredric
2018-02-13 20:47 Patrick Lauer
2017-03-31 10:28 Kent Fredric
2017-03-31 10:15 Kent Fredric
2017-03-31 10:14 Kent Fredric
2017-02-23 18:58 Kent Fredric
2017-02-23 18:58 Kent Fredric
2016-07-20 10:13 Patrick Lauer
2016-04-29 19:36 Andreas Hüttel
2016-03-07 14:34 Patrick Lauer
2016-03-07 14:34 Patrick Lauer
2016-03-07 13:19 Patrick Lauer
2016-02-23 9:19 Patrick Lauer
2016-02-09 14:06 Patrick Lauer
2015-12-20 18:45 Patrick Lauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox