dev-util/checkbashisms: Sync with Gentoo

It's from Gentoo commit 1c07ccd49ffa21494a0a93caf66c984db0c2f136.
This commit is contained in:
Flatcar Buildbot 2022-10-31 07:17:09 +00:00 committed by Krzesimir Nowak
parent a07f540ef6
commit e62cbde72a
2 changed files with 0 additions and 36 deletions

View File

@ -1,2 +1 @@
DIST devscripts_2.22.1.tar.xz 989556 BLAKE2B 2a2e3ca9757c710e181e807f0369c137f21070d86b4c51d8b5132ca4add33677edbd26e04a2faae93e9e4586080286888880ce450119579aa40ad205c8e5d857 SHA512 260603e1a655035c5aca3c9734db1bc6aa7e9aa017ece7e9158c57e06a1ee548922ec2defdd9dcb4560743d78aef08d30695b1bc833bd4d77fe1c7497d157c45
DIST devscripts_2.22.2.tar.xz 995524 BLAKE2B a7649ea5b790a64b5470a66425e487959b058e9af34be173210277765c8610f7d6da1b9105f97e1da2f84a578ca7514b1dabaa7c38a88c9b1eef29c2f34f97a1 SHA512 d6c47f604a252f58e1cf8ea9fe7387a390683757144bb76cce6915fca1ff7ccb71ce6c87d829f874097d869172774a806b506dc7fb4187876d14e50eaaf92593

View File

@ -1,35 +0,0 @@
# Copyright 1999-2022 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://salsa.debian.org/debian/devscripts"
SRC_URI="mirror://debian/pool/main/d/${MY_PN}/${MY_P/-/_}.tar.xz"
S="${WORKDIR}/${MY_P}/scripts"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~ppc64 ~riscv x86"
# Requires python packages to check tools we don't need anyway
RESTRICT="test"
RDEPEND="dev-lang/perl
virtual/perl-Getopt-Long"
src_prepare() {
default
sed "s@###VERSION###@${PV}@" -i checkbashisms.pl || die
}
src_compile() { :; }
src_install() {
newbin ${PN}.pl ${PN}
doman ${PN}.1
}