summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-03-06 17:02:57 +0100
committerThomas Deutschmann <whissi@gentoo.org>2021-03-06 17:03:54 +0100
commitccb25c5e0a0e8d9434fa22de6708f3712bfe368f (patch)
tree44fac55664601e2f73998b10bcaa66c595eb4bc7 /dev-util/checkbashisms
parentdev-util/checkbashisms: drop old (diff)
downloadgentoo-ccb25c5e0a0e8d9434fa22de6708f3712bfe368f.tar.gz
gentoo-ccb25c5e0a0e8d9434fa22de6708f3712bfe368f.tar.bz2
gentoo-ccb25c5e0a0e8d9434fa22de6708f3712bfe368f.zip
dev-util/checkbashisms: bump to v2.21.1
Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-util/checkbashisms')
-rw-r--r--dev-util/checkbashisms/Manifest1
-rw-r--r--dev-util/checkbashisms/checkbashisms-2.21.1.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-util/checkbashisms/Manifest b/dev-util/checkbashisms/Manifest
index 925d129f929b..3ba82907d61b 100644
--- a/dev-util/checkbashisms/Manifest
+++ b/dev-util/checkbashisms/Manifest
@@ -1 +1,2 @@
DIST devscripts_2.20.5.tar.xz 881976 BLAKE2B 3d4079d3268b3b9bfacdd0a4afcfee5390bdbf4660038306611d9c24e7b5c6453eff5f24d938c9764a17336475cd60615919adaa11dcf47495d930cd4b3b4e09 SHA512 fbd372a62758e3d2872f37bfd93d9b169d0cc745719057078378949c4d01b4fb27830ae501fe45b06b30a869e8afc853d8477419bb2f46d7fd62749f54981ec0
+DIST devscripts_2.21.1.tar.xz 887812 BLAKE2B 3eac4adfe1dfc85ffcc5b9f30ec29377f253596c2377bb81456c20848aae7376fce6b24c5c9b75d284ca7f46251db13e3ff89d1efc1f312229d93883b09d07df SHA512 5bcdd1cc8138e2e1aab2efd948cc104aee138b64e93059e929d8365afe1a1a92fac88586186ab53294d17104c661f2e29102bdcdd55f1b73d24be287615207ad
diff --git a/dev-util/checkbashisms/checkbashisms-2.21.1.ebuild b/dev-util/checkbashisms/checkbashisms-2.21.1.ebuild
new file mode 100644
index 000000000000..f10c85c3af96
--- /dev/null
+++ b/dev-util/checkbashisms/checkbashisms-2.21.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2021 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"
+
+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
+
+ sed "s@###VERSION###@${PV}@" -i checkbashisms.pl || die
+}
+
+src_compile() { :; }
+
+src_install() {
+ newbin ${PN}.pl ${PN}
+ doman ${PN}.1
+}