Unverified Commit a63ae03e authored by Wolfgang E. Sanyer's avatar Wolfgang E. Sanyer
Browse files

dev-util/brittany new package, code formatter


Signed-off-by: default avatarWolfgang E. Sanyer <WolfgangESanyer@gmail.com>
parent dc08192b
DIST brittany-0.13.1.0.tar.gz 171189 BLAKE2B 7054348b722c14bcbdd80aa4c44fc52fdea2aaae5a115fb296d670107ec48cba43097fb4813228857a12fbbc3f9c9a165dcfdd3b34f0550f52fd1bce2d6c0e38 SHA512 9dfcbe49214e9cc8f696555a2c8249df2418644af55a1f514059b8c8a470638cde2d5c78723150f7a6441c35267a997ab7d09a1e10431422589eeb30f84ad972
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
# ebuild generated by hackport 0.6.7.9999
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="Haskell source code formatter"
HOMEPAGE="https://github.com/lspitzner/brittany/"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="AGPL-3"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="brittany-dev-lib brittany-test-perf"
RDEPEND=">=dev-haskell/aeson-1.0.1.0:=[profile?] <dev-haskell/aeson-1.6:=[profile?]
>=dev-haskell/butcher-1.3.1:=[profile?] <dev-haskell/butcher-1.4:=[profile?]
>=dev-haskell/cmdargs-0.10.14:=[profile?] <dev-haskell/cmdargs-0.11:=[profile?]
>=dev-haskell/czipwith-1.0.1.0:=[profile?] <dev-haskell/czipwith-1.1:=[profile?]
dev-haskell/data-tree-print:=[profile?]
>=dev-haskell/extra-1.4.10:=[profile?] <dev-haskell/extra-1.8:=[profile?]
>=dev-haskell/ghc-exactprint-0.5.8:=[profile?] <dev-haskell/ghc-exactprint-0.6.4:=[profile?]
>=dev-haskell/ghc-paths-0.1.0.9:=[profile?] <dev-haskell/ghc-paths-0.2:=[profile?]
>=dev-haskell/monad-memo-0.4.1:=[profile?] <dev-haskell/monad-memo-0.6:=[profile?]
>=dev-haskell/mtl-2.2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
>=dev-haskell/multistate-0.7.1.1:=[profile?] <dev-haskell/multistate-0.9:=[profile?]
>=dev-haskell/random-1.1:=[profile?] <dev-haskell/random-1.2:=[profile?]
>=dev-haskell/safe-0.3.9:=[profile?] <dev-haskell/safe-0.4:=[profile?]
>=dev-haskell/semigroups-0.18.2:=[profile?] <dev-haskell/semigroups-0.20:=[profile?]
>=dev-haskell/strict-0.3.2:=[profile?] <dev-haskell/strict-0.5:=[profile?]
>=dev-haskell/syb-0.6:=[profile?] <dev-haskell/syb-0.8:=[profile?]
>=dev-haskell/text-1.2:=[profile?] <dev-haskell/text-1.3:=[profile?]
>=dev-haskell/uniplate-1.6.12:=[profile?] <dev-haskell/uniplate-1.7:=[profile?]
>=dev-haskell/unsafe-0.0:=[profile?] <dev-haskell/unsafe-0.1:=[profile?]
>=dev-haskell/yaml-0.8.18:=[profile?] <dev-haskell/yaml-0.12:=[profile?]
>=dev-lang/ghc-8.6.1:=[profile?] <dev-lang/ghc-8.11:=[profile?]
>=dev-lang/ghc-8.6.3:=
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-2.4.0.1
test? ( !brittany-dev-lib? ( >=dev-haskell/hspec-2.4.1 <dev-haskell/hspec-2.8
>=dev-haskell/parsec-3.1.11 <dev-haskell/parsec-3.2 ) )
"
src_configure() {
haskell-cabal_src_configure \
$(cabal_flag brittany-dev-lib brittany-dev-lib) \
$(cabal_flag brittany-test-perf brittany-test-perf)
}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
<use>
<flag name="brittany-dev-lib">set buildable false for anything but lib</flag>
<flag name="brittany-test-perf">determines if performance test suite is enabled</flag>
</use>
<longdescription>
See &lt;https://github.com/lspitzner/brittany/blob/master/README.md the README&gt;.
If you are interested in the implementation, have a look at &lt;https://github.com/lspitzner/brittany/blob/master/doc/implementation/theory.md this document&gt;;
The implementation is documented in more detail &lt;https://github.com/lspitzner/brittany/blob/master/doc/implementation/index.md here&gt;.
</longdescription>
</pkgmetadata>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment