diff options
author | Jack Todaro <solpeth@posteo.org> | 2020-07-30 10:13:19 +1000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-08-01 09:01:44 +0100 |
commit | 2c0dd0e4fa72162f5fd58b54c3d6b61dadf3d0fe (patch) | |
tree | c5c73691d714831eef8fa4eb9caa6354f481f6f0 /dev-haskell/hakyll | |
parent | dev-haskell/stack-bin: bump up to 2.3.1 (diff) | |
download | gentoo-2c0dd0e4fa72162f5fd58b54c3d6b61dadf3d0fe.tar.gz gentoo-2c0dd0e4fa72162f5fd58b54c3d6b61dadf3d0fe.tar.bz2 gentoo-2c0dd0e4fa72162f5fd58b54c3d6b61dadf3d0fe.zip |
dev-haskell/hakyll: add package
Closes: https://bugs.gentoo.org/682978
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Jack Todaro <solpeth@posteo.org>
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/hakyll')
-rw-r--r-- | dev-haskell/hakyll/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/hakyll/hakyll-4.13.4.0.ebuild | 76 | ||||
-rw-r--r-- | dev-haskell/hakyll/metadata.xml | 32 |
3 files changed, 109 insertions, 0 deletions
diff --git a/dev-haskell/hakyll/Manifest b/dev-haskell/hakyll/Manifest new file mode 100644 index 000000000000..a6b73ffc3dc6 --- /dev/null +++ b/dev-haskell/hakyll/Manifest @@ -0,0 +1 @@ +DIST hakyll-4.13.4.0.tar.gz 105151 BLAKE2B a17ddcc7846d4c50f3ade0d430a0208c6c85d9827e5daa69b1652050313cb62fc87fd8b1547cacacbca5562f4cf172eacd7e641d3921516c4578e0684ae55ee9 SHA512 4ade6776cfee7a8293ba4a659cf8633c0e6641ee2c33db9cdddeaca996ff092d027ce4165e174d7acdeb8485904394d9a899351d9e3c065e4ce7cb5af61ee08a diff --git a/dev-haskell/hakyll/hakyll-4.13.4.0.ebuild b/dev-haskell/hakyll/hakyll-4.13.4.0.ebuild new file mode 100644 index 000000000000..234752180902 --- /dev/null +++ b/dev-haskell/hakyll/hakyll-4.13.4.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# ebuild generated by hackport 0.6.4.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="A static website compiler library" +HOMEPAGE="http://jaspervdj.be/hakyll" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="buildwebsite +checkexternal +previewserver +usepandoc +watchserver" + +RDEPEND=">=dev-haskell/blaze-html-0.5:=[profile?] <dev-haskell/blaze-html-0.10:=[profile?] + >=dev-haskell/blaze-markup-0.5.1:=[profile?] <dev-haskell/blaze-markup-0.9:=[profile?] + >=dev-haskell/cryptonite-0.25:=[profile?] <dev-haskell/cryptonite-0.28:=[profile?] + >=dev-haskell/data-default-0.4:=[profile?] <dev-haskell/data-default-0.8:=[profile?] + >=dev-haskell/file-embed-0.0.10.1:=[profile?] <dev-haskell/file-embed-0.0.12:=[profile?] + >=dev-haskell/lrucache-1.1.1:=[profile?] <dev-haskell/lrucache-1.3:=[profile?] + >=dev-haskell/memory-0.14.18:=[profile?] <dev-haskell/memory-0.16:=[profile?] + >=dev-haskell/mtl-1:=[profile?] <dev-haskell/mtl-2.3:=[profile?] + >=dev-haskell/network-uri-2.6:=[profile?] <dev-haskell/network-uri-2.7:=[profile?] + >=dev-haskell/optparse-applicative-0.12:=[profile?] <dev-haskell/optparse-applicative-0.16:=[profile?] + >=dev-haskell/parsec-3.0:=[profile?] <dev-haskell/parsec-3.2:=[profile?] + >=dev-haskell/random-1.0:=[profile?] <dev-haskell/random-1.2:=[profile?] + >=dev-haskell/regex-tdfa-1.1:=[profile?] <dev-haskell/regex-tdfa-1.4:=[profile?] + >=dev-haskell/resourcet-1.1:=[profile?] <dev-haskell/resourcet-1.3:=[profile?] + >=dev-haskell/scientific-0.3.4:=[profile?] <dev-haskell/scientific-0.4:=[profile?] + >=dev-haskell/tagsoup-0.13.1:=[profile?] <dev-haskell/tagsoup-0.15:=[profile?] + >=dev-haskell/text-0.11:=[profile?] <dev-haskell/text-1.3:=[profile?] + >=dev-haskell/time-locale-compat-0.1:=[profile?] <dev-haskell/time-locale-compat-0.2:=[profile?] + >=dev-haskell/unordered-containers-0.2:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/vector-0.11:=[profile?] <dev-haskell/vector-0.13:=[profile?] + >=dev-haskell/yaml-0.8.11:=[profile?] <dev-haskell/yaml-0.12:=[profile?] + >=dev-lang/ghc-8.6.3:= + buildwebsite? ( >=app-text/pandoc-2.0.5:=[profile?] <app-text/pandoc-2.10:=[profile?] ) + checkexternal? ( >=dev-haskell/http-conduit-2.2:=[profile?] <dev-haskell/http-conduit-2.4:=[profile?] ) + previewserver? ( >=dev-haskell/fsnotify-0.2:=[profile?] <dev-haskell/fsnotify-0.4:=[profile?] + >=dev-haskell/http-types-0.9:=[profile?] <dev-haskell/http-types-0.13:=[profile?] + >=dev-haskell/wai-3.2:=[profile?] <dev-haskell/wai-3.3:=[profile?] + >=dev-haskell/wai-app-static-3.1:=[profile?] <dev-haskell/wai-app-static-3.2:=[profile?] + >=dev-haskell/warp-3.2:=[profile?] <dev-haskell/warp-3.4:=[profile?] ) + !previewserver? ( checkexternal? ( >=dev-haskell/http-types-0.7:=[profile?] <dev-haskell/http-types-0.13:=[profile?] ) + watchserver? ( >=dev-haskell/fsnotify-0.2:=[profile?] <dev-haskell/fsnotify-0.4:=[profile?] ) ) + usepandoc? ( >=app-text/pandoc-2.0.5:=[profile?] <app-text/pandoc-2.10:=[profile?] + >=dev-haskell/pandoc-citeproc-0.14:=[profile?] <dev-haskell/pandoc-citeproc-0.18:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.4.0.1 + test? ( >=dev-haskell/quickcheck-2.8 <dev-haskell/quickcheck-2.14 + >=dev-haskell/tasty-0.11 <dev-haskell/tasty-1.4 + >=dev-haskell/tasty-hunit-0.9 <dev-haskell/tasty-hunit-0.11 + >=dev-haskell/tasty-quickcheck-0.8 <dev-haskell/tasty-quickcheck-0.11 ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag buildwebsite buildwebsite) \ + $(cabal_flag checkexternal checkexternal) \ + $(cabal_flag previewserver previewserver) \ + $(cabal_flag usepandoc usepandoc) \ + $(cabal_flag watchserver watchserver) +} + +src_test() { + # unixFilter test expects 'option' output in error message + # But it's a localized string that: + # https://github.com/jaspervdj/hakyll/issues/607 + LANGUAGE=en haskell-cabal_src_test +} diff --git a/dev-haskell/hakyll/metadata.xml b/dev-haskell/hakyll/metadata.xml new file mode 100644 index 000000000000..75fb004f1986 --- /dev/null +++ b/dev-haskell/hakyll/metadata.xml @@ -0,0 +1,32 @@ +<?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="buildwebsite">Build the hakyll website</flag> + <flag name="previewserver">Include the preview server</flag> + <flag name="checkexternal">Include external link checking</flag> + <flag name="watchserver">wait for filesystem changes and rebuild pages</flag> + <flag name="usepandoc">Include Pandoc support</flag> + </use> + <longdescription> + Hakyll is a static website compiler library. It provides you with the tools to + create a simple or advanced static website using a Haskell DSL and formats + such as markdown or RST. You can find more information, including a tutorial, + on the website: + + * <http://jaspervdj.be/hakyll> + + If you seek assistance, there's: + + * A google group: <http://groups.google.com/group/hakyll> + + * An IRC channel, @#hakyll@ on freenode + + Additionally, there's the Haddock documentation in the different modules, + meant as a reference. + </longdescription> +</pkgmetadata> |