diff options
author | Jack Todaro <solpeth@posteo.org> | 2020-08-01 14:32:48 +1000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-08-01 09:04:32 +0100 |
commit | 056cf11929697a268bda75fae4ba611448894d88 (patch) | |
tree | dc02e2ce12f2636f318a16a941da6642622a8ad9 /dev-haskell/hslogger | |
parent | dev-haskell/warp-tls: bump up to 3.2.12 (diff) | |
download | gentoo-056cf11929697a268bda75fae4ba611448894d88.tar.gz gentoo-056cf11929697a268bda75fae4ba611448894d88.tar.bz2 gentoo-056cf11929697a268bda75fae4ba611448894d88.zip |
dev-haskell/hslogger: bump up to 1.3.1.0
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/hslogger')
-rw-r--r-- | dev-haskell/hslogger/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/hslogger/hslogger-1.3.1.0-r1.ebuild | 45 | ||||
-rw-r--r-- | dev-haskell/hslogger/metadata.xml | 1 |
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-haskell/hslogger/Manifest b/dev-haskell/hslogger/Manifest index 036950555d38..7c282332a295 100644 --- a/dev-haskell/hslogger/Manifest +++ b/dev-haskell/hslogger/Manifest @@ -1,2 +1,3 @@ DIST hslogger-1.2.10.tar.gz 35889 BLAKE2B 68f18236cfe19ad1f5b6fd8b9fc32dc571fe7aca730c5210863aedc88e32b1094e939c8825730fbf901fc1993c595ed0711f3d2efb041c789d674e4dcdb93723 SHA512 c2e3c6e7c8598aca2a18e507defa7536db7fdf15265b900401f8558b3259cd770531a3a302d6eb9ecca63a9629f0d5796e1ec94d8f21ecf153a1fc49f889183a DIST hslogger-1.2.9.tar.gz 35576 BLAKE2B 56c3a917d2db7207d29c304b00a237b7d62a4f8f07d72f7b1ce834d3e60bb55f825173cd8894d2063973df4095ef3409a2c1aabb99d89257a5d8562d58add76b SHA512 6315dd7e6d6769a6a8fb8576b54875fbe79860d1e3158ddbca7f15b286f13b59cf7e817ac5325f31ae82e8f5328d32f22ee6aa37f5ae11e9070f209454ec801c +DIST hslogger-1.3.1.0.tar.gz 37468 BLAKE2B 24bb750c356f071ee35cc84e01b2483f612b6e7403fe8fe60b8af148dba43107660a36a0e30305666fb76af1939ff00f6817dff98720ab7eef321192e6e87976 SHA512 a08e7c85efe2b3f97e87b54db993f78ac31380f9b6f8d926517854771f482b2c64c358ddd12a449a413e5af0f374c034161b6f772148835b50551dc2cdbfa15a diff --git a/dev-haskell/hslogger/hslogger-1.3.1.0-r1.ebuild b/dev-haskell/hslogger/hslogger-1.3.1.0-r1.ebuild new file mode 100644 index 000000000000..b91fd077bbf5 --- /dev/null +++ b/dev-haskell/hslogger/hslogger-1.3.1.0-r1.ebuild @@ -0,0 +1,45 @@ +# 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 +#hackport: flags: -test,-buildtests + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Versatile logging framework" +HOMEPAGE="https://github.com/hvr/hslogger/wiki" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="+network-3" + +RDEPEND=">=dev-haskell/old-locale-1.0:=[profile?] <dev-haskell/old-locale-1.1:=[profile?] + >=dev-lang/ghc-7.4.1:= + network-3? ( >=dev-haskell/network-3.0:=[profile?] <dev-haskell/network-3.2:=[profile?] + >=dev-haskell/network-bsd-2.8.1:=[profile?] <dev-haskell/network-bsd-2.9:=[profile?] ) + !network-3? ( >=dev-haskell/network-2.6:=[profile?] <dev-haskell/network-2.9:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.12 + test? ( || ( ( >=dev-haskell/hunit-1.3 <dev-haskell/hunit-1.4 ) + ( >=dev-haskell/hunit-1.6 <dev-haskell/hunit-1.7 ) ) ) +" + +src_prepare() { + default + + cabal_chdeps \ + 'base >= 4.3 && < 4.14' 'base >= 4.3' +} + +src_configure() { + haskell-cabal_src_configure \ + --flag=-buildtests \ + $(cabal_flag network-3 network--gt-3_0_0) \ + --flag=-test +} diff --git a/dev-haskell/hslogger/metadata.xml b/dev-haskell/hslogger/metadata.xml index 188bf6c536c0..08447e480706 100644 --- a/dev-haskell/hslogger/metadata.xml +++ b/dev-haskell/hslogger/metadata.xml @@ -7,6 +7,7 @@ </maintainer> <use> <flag name="buildtests">Build the executable to run unit tests.</flag> + <flag name="network-3">Use network-3</flag> </use> <longdescription> hslogger is a logging framework for Haskell, roughly similar to |