summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-02-06 18:38:19 +0100
committerLars Wendler <polynomial-c@gentoo.org>2020-02-06 18:38:19 +0100
commit84ea2a5f96de264ea481c993be2d068cd8e220d6 (patch)
tree2f3ba2259e35adfb2ef1d8f70dd8f3b8218cb852 /dev-util/checkbashisms/checkbashisms-2.20.1.ebuild
parentdev-libs/libtasn1: Removed old (diff)
downloadgentoo-84ea2a5f96de264ea481c993be2d068cd8e220d6.tar.gz
gentoo-84ea2a5f96de264ea481c993be2d068cd8e220d6.tar.bz2
gentoo-84ea2a5f96de264ea481c993be2d068cd8e220d6.zip
dev-util/checkbashisms: Bump to version 2.20.1
Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-util/checkbashisms/checkbashisms-2.20.1.ebuild')
-rw-r--r--dev-util/checkbashisms/checkbashisms-2.20.1.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-util/checkbashisms/checkbashisms-2.20.1.ebuild b/dev-util/checkbashisms/checkbashisms-2.20.1.ebuild
new file mode 100644
index 000000000000..993d7b7c3120
--- /dev/null
+++ b/dev-util/checkbashisms/checkbashisms-2.20.1.ebuild
@@ -0,0 +1,40 @@
+# 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
+ !<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
+}