forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-haskell/hakyll: bump up to 4.14.0.0
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Jack Todaro <[email protected]> Signed-off-by: Sergei Trofimovich <[email protected]>
- Loading branch information
Showing
2 changed files
with
87 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST hakyll-4.13.4.1.tar.gz 105251 BLAKE2B 6a2c83f2784aad1c80ecce7d01ade1d1bde0546c3f828acc74c88df95b4217f191eb516bf57cc1993bdaebd76629d86d3963bf386f7df68ca5dc17288f3f2b3f SHA512 6045a1461855d46f57a20f7a84636f90e6d151bcbaf09511f10ab66fa0567062e355ff580d1f12a4432bbe517bc9e162d65927f3c343f8f077e81981e7c7973c | ||
DIST hakyll-4.14.0.0.tar.gz 109807 BLAKE2B e1e6e541f5783571740744b9eee1bcd9edd79eec69b5556de39ef7a47f86e23fa0284ccb83ff9212ff4b07b7e2519eff67946ebdbf90663421cf98ea9761c529 SHA512 5f3f7a952b085cf1a59a646c15e42f29c89d4ed0a5a96f55156d19b86340c2361da6c19ff7a70bde98122423e237dc7082bfcc84bc5e96ab9421fdaef84a8cce |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
# Copyright 1999-2021 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="A static website compiler library" | ||
HOMEPAGE="https://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.14:=[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.3:=[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.11:=[profile?] <app-text/pandoc-2.14:=[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.11:=[profile?] <app-text/pandoc-2.14:=[profile?] ) | ||
" | ||
DEPEND="${RDEPEND} | ||
>=dev-haskell/cabal-2.4.0.1 | ||
test? ( >=dev-haskell/quickcheck-2.8 <dev-haskell/quickcheck-2.15 | ||
>=dev-haskell/tasty-0.11 <dev-haskell/tasty-1.4 | ||
>=dev-haskell/tasty-golden-2.3 <dev-haskell/tasty-golden-2.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_prepare() { | ||
default | ||
|
||
# See upstream commit making this change: | ||
# https://github.com/jaspervdj/hakyll/commit/0dc6127d81ff688e27c36ce469230320eee60246 | ||
cabal_chdeps \ | ||
'pandoc >= 2.11 && < 2.12' 'pandoc >= 2.11' \ | ||
'pandoc >= 2.11 && < 2.12' 'pandoc >= 2.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 | ||
} |