From ddc542184c708024096df9ab26e98387468136d9 Mon Sep 17 00:00:00 2001 From: Jared Allard Date: Sat, 6 Jun 2020 06:57:41 -0700 Subject: [PATCH] feat: add hadolint --- dev-util/hadolint/Manifest | 2 ++ dev-util/hadolint/hadolint-1.18.0.ebuild | 39 ++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 dev-util/hadolint/Manifest create mode 100644 dev-util/hadolint/hadolint-1.18.0.ebuild diff --git a/dev-util/hadolint/Manifest b/dev-util/hadolint/Manifest new file mode 100644 index 0000000..c4e6de5 --- /dev/null +++ b/dev-util/hadolint/Manifest @@ -0,0 +1,2 @@ +DIST hadolint-1.18.0.tar.gz 44056 BLAKE2B e4ee33ea5cf13135fdc42407bc33e51ab7a6a43c05625885370844e5e644ec0b68dfc7b78b208131beb1ed4ce98a1380807a363f27dad5d097828adbe1d4236f SHA512 bdee6071e19ee514a99a2c3378268c7c73bb6476a22c9a4ad9fcc4b14cb3fccbc829652577e8fa8409320da93e60684cfe6cc4245c23f2c430ce758b9bcdc1d9 +EBUILD hadolint-1.18.0.ebuild 1111 BLAKE2B 678093fe1965ddc9270e1ab4c1d37345f36facc4d1f37709b34dfe9302dfb5adad37e9861ee30b43e731f7112a659cf3a17a62dec68b903a77b9c8064f113571 SHA512 4604e008a9ad8ca93dbdcfd45c6c0cc4b957b682ae7b6ca30397ee03b1da1c665457aeb9ed70fca54777251d341eeb3e612636dd17f40149eefc1012d0eeddab diff --git a/dev-util/hadolint/hadolint-1.18.0.ebuild b/dev-util/hadolint/hadolint-1.18.0.ebuild new file mode 100644 index 0000000..26f8940 --- /dev/null +++ b/dev-util/hadolint/hadolint-1.18.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# ebuild generated by hackport 0.6.1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Dockerfile Linter JavaScript API" +HOMEPAGE="https://github.com/hadolint/hadolint" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-haskell/aeson:=[profile?] + >=dev-haskell/gitrev-1.3.1:=[profile?] + dev-haskell/hsyaml:=[profile?] + >=dev-haskell/language-docker-8.0.2:=[profile?] =dev-haskell/megaparsec-7.0:=[profile?] + dev-haskell/mtl:=[profile?] + >=dev-haskell/optparse-applicative-0.14.0:=[profile?] + >=dev-haskell/split-0.2:=[profile?] + dev-haskell/text:=[profile?] + dev-haskell/void:=[profile?] + >=dev-lang/ghc-8.0.2:= + >=dev-util/shellcheck-0.7.0:=[profile?] +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.24.2.0 + test? ( dev-haskell/hspec + >=dev-haskell/hunit-1.2 ) +" + +PATCHES=("${FILESDIR}"/${PN}-1.2.6-unstatic.patch)