diff options
-rw-r--r-- | dev-util/checkbashisms/Manifest | 1 | ||||
-rw-r--r-- | dev-util/checkbashisms/checkbashisms-2.20.3.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-util/checkbashisms/Manifest b/dev-util/checkbashisms/Manifest index 9cafdd4c5512..224d681349a9 100644 --- a/dev-util/checkbashisms/Manifest +++ b/dev-util/checkbashisms/Manifest @@ -1,3 +1,4 @@ DIST devscripts_2.19.7.tar.xz 847488 BLAKE2B b3c76d9b0899c01f08d0432f8de0a65d1434afffd35eda33b6c7f442796c2165cdb316290d41313876cd5ef8108e0bba03d173dd52c139908672a6f3d6902588 SHA512 6e31862bc8f0d43678341f40ec527d76cdccc2e6e50c231eb7c6a1eb442f48b6c62e94126644224e9fdbef583be3166e2c7cc65ea15de4a7c20605089b708eb7 DIST devscripts_2.20.1.tar.xz 854932 BLAKE2B b9523b2882625b66c7972db7c10f7d3f6055cb791b5697f92fc0e362c1b2a89ac26fc2a45739989ae9f9981c956d90ceefd514645649d1b7fca6d7eeaff9df7d SHA512 6e9505f491bf87df6c0ac384cbf307959fd86e3aea1aecd7e70e88bbe57757035612235bad0244dc7aeedcf964605508f7fd5db582b410dd715380a064389d1d DIST devscripts_2.20.2.tar.xz 854948 BLAKE2B ca36f2d8d4f3d975479134d02ee4c035f7f32e087be523560c2c06d7625047fcf78d0428d1e4addcfa38a299befdd23b88ab3fbbef2028f67f8b7c9f8851c29f SHA512 d9147604a718582a19c036a040c62612427163146048dbf9e3665545072e8132d08f51dccfd3f0a01453c0405a0326dad8f83afd10270eec5c69fa0612cb8510 +DIST devscripts_2.20.3.tar.xz 859612 BLAKE2B 074905e621234c60e26a014831a021b51f5f8fbdac4d6fa3a17aa98f994b4c171404a2326f5b00565f365469b41f1c7e5f03b6efa29f809b51bbabde209cafc2 SHA512 6d86deeecff82fc16df7d978678f5b88293164688078bf0732a7e6b844cf8845868be31c107518cf43b8dbcbadcd12a9691585f5725abd397f63ff9456fbdd8f diff --git a/dev-util/checkbashisms/checkbashisms-2.20.3.ebuild b/dev-util/checkbashisms/checkbashisms-2.20.3.ebuild new file mode 100644 index 000000000000..26d0ab390329 --- /dev/null +++ b/dev-util/checkbashisms/checkbashisms-2.20.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 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" + +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 +} |