Skip to content

Commit

Permalink
dev-util/hadolint: Initial version
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.19, Repoman-2.3.6
  • Loading branch information
mrueg committed Jan 24, 2018
1 parent 9727acf commit b775b4d
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-util/hadolint/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST hadolint-1.2.6.tar.gz 26761 BLAKE2B bf2693b0073cef553a2f7767a2d90a3af009cebbfeb448b306475f5ec6c7a3e9b228cab5e2279b6a3c3387be0fd58f14c47df1cd21c35045f96f3f3e07678ae5 SHA512 36f25dc040aa93c45f6da8195de7089032c0b777f939aafd77b53103d662d977b372afd7a6e39840498df6496a2a29a8c94ae59748b599aa840824fe28dda8b4
38 changes: 38 additions & 0 deletions dev-util/hadolint/hadolint-1.2.6.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

# ebuild generated by hackport 0.5.4

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="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=">=dev-haskell/gitrev-1.3.1:=[profile?]
>=dev-haskell/language-docker-2.0.0:=[profile?]
<=dev-haskell/optparse-applicative-0.14.0.0:=[profile?]
>=dev-haskell/parsec-3.1:=[profile?]
>=dev-haskell/split-0.2:=[profile?]
dev-haskell/yaml:=[profile?]
>=dev-lang/ghc-8.0.2:=
>=dev-util/shellcheck-0.4.7:=[profile?]
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.24.2.0
test? ( dev-haskell/hspec
>=dev-haskell/hunit-1.2 )
"

src_prepare() {
default
sed -i -e "s/-static//" ${PN}.cabal || die
}
11 changes: 11 additions & 0 deletions dev-util/hadolint/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>[email protected]</email>
<name>Manuel Rüger</name>
</maintainer>
<longdescription>
A smarter Dockerfile linter that helps you build best practice Docker images.
</longdescription>
</pkgmetadata>

0 comments on commit b775b4d

Please sign in to comment.