diff options
Diffstat (limited to 'dev-util/checkbashisms')
-rw-r--r-- | dev-util/checkbashisms/Manifest | 1 | ||||
-rw-r--r-- | dev-util/checkbashisms/checkbashisms-2.19.7.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-util/checkbashisms/Manifest b/dev-util/checkbashisms/Manifest index 826bcde1fb87..46149d7dbfcd 100644 --- a/dev-util/checkbashisms/Manifest +++ b/dev-util/checkbashisms/Manifest @@ -1 +1,2 @@ DIST devscripts_2.19.6.tar.xz 844316 BLAKE2B 93eddc1d5ff78c579a28f8f54ce317cc251864917aa579094bd392f0811f07dc38447b3bd36a608431cb3d576b05c5e1f6cdc51a453b1c07389a5e1794f1acb5 SHA512 9313af1777d9a9932a81f95492b7cd423afbeacc8afbf6d9400e6430d2ce83abef0e0228a581f705f661183f605f2cadc95e11f1a43daf11fb968bcefc352422 +DIST devscripts_2.19.7.tar.xz 847488 BLAKE2B b3c76d9b0899c01f08d0432f8de0a65d1434afffd35eda33b6c7f442796c2165cdb316290d41313876cd5ef8108e0bba03d173dd52c139908672a6f3d6902588 SHA512 6e31862bc8f0d43678341f40ec527d76cdccc2e6e50c231eb7c6a1eb442f48b6c62e94126644224e9fdbef583be3166e2c7cc65ea15de4a7c20605089b708eb7 diff --git a/dev-util/checkbashisms/checkbashisms-2.19.7.ebuild b/dev-util/checkbashisms/checkbashisms-2.19.7.ebuild new file mode 100644 index 000000000000..e48d94ca95a3 --- /dev/null +++ b/dev-util/checkbashisms/checkbashisms-2.19.7.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 +} |