summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/checkbashisms/Manifest1
-rw-r--r--dev-util/checkbashisms/checkbashisms-2.19.2.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-util/checkbashisms/Manifest b/dev-util/checkbashisms/Manifest
index c28e73fee835..5260093e0936 100644
--- a/dev-util/checkbashisms/Manifest
+++ b/dev-util/checkbashisms/Manifest
@@ -1,3 +1,4 @@
DIST devscripts_2.18.11.tar.xz 793112 BLAKE2B 8c1d40a13f6ce1bd804d7fb1300721485aea88b3ea2ad35c59c87f8fd85057cd26b1f40ea73d1919d45b8f0765610724fd3018c05d09e287554725f4425e146c SHA512 4c6c4b0e08115accaebed89fd5362842e6b8daaf9e1725684d0af1ad8cada7bd7aadce8640b766cfdd3a5784bb32ea177019781b2f13bb5da6b55389579ff07e
DIST devscripts_2.18.6.tar.xz 756772 BLAKE2B 70bdc87336558a6953fc91408fdb7e639f6fc60f8e698548d34aabd6384c2a1d67b871064f3679842c7629b2f84a3abe8612dfe3924552488a0b3e54ec0ca10c SHA512 6bbd5ab2ac522bf4201cf57cc481d3885dd26b0a57338812b5a7ae10ca4575a2942b84b6bd05934898551eae7263ed28f0f7d8d295d055aa5c80111da1531014
DIST devscripts_2.18.9.tar.xz 767964 BLAKE2B bd955545753b52c98b727b13469e34a608a5fc7f54d8e641ed061d88e0a19a0cae22e89d901714a30d186d2725c68de15a25a551409f9cb68b78fb149a7cd104 SHA512 a17d7a25c72a7c558b1b4f536dd5ac76b3e96904ed732cf9a8fd02b5d78765833c6a3aedc5d27e9f399d445da7a06be76bde581c2b63f5c54227d2525ae1cd29
+DIST devscripts_2.19.2.tar.xz 797224 BLAKE2B d72990f8ec45da693d63398be39dbafe3422360215af1682ff23415b043a76a2a3bf1ce477406dee073d29c61f428d61ca62acf78ded89335a6aa2129188f477 SHA512 61a101e468b9d6d01936e62b43cbbac2c6eb209e90f7bb6553caea81cda919a4f531293ce40652ec5015fa651661b345df0428692e13dcccebd55332c7eb65c6
diff --git a/dev-util/checkbashisms/checkbashisms-2.19.2.ebuild b/dev-util/checkbashisms/checkbashisms-2.19.2.ebuild
new file mode 100644
index 000000000000..326e6817dffd
--- /dev/null
+++ b/dev-util/checkbashisms/checkbashisms-2.19.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PN="devscripts"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Perl script to check for commonly used bash features not defined by POSIX"
+HOMEPAGE="https://packages.debian.org/devscripts https://anonscm.debian.org/cgit/collab-maint/devscripts.git"
+SRC_URI="mirror://debian/pool/main/d/${MY_PN}/${MY_P/-/_}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# Requires python packages to check tools we don't need anyway
+RESTRICT="test"
+
+RDEPEND="dev-lang/perl
+ virtual/perl-Getopt-Long
+ !<dev-util/rpmdevtools-8.3-r1"
+
+S="${WORKDIR}/${MY_P}/scripts"
+
+src_prepare() {
+ default
+
+ eapply -p2 "${FILESDIR}"/${PN}-2.18.6-command-vV.patch
+
+ sed "s@###VERSION###@${PV}@" -i checkbashisms.pl || die
+}
+
+src_compile() { :; }
+
+src_install() {
+ newbin ${PN}.pl ${PN}
+ doman ${PN}.1
+}