diff options
author | Jack Todaro <solpeth@posteo.org> | 2020-07-29 11:20:37 +1000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-08-01 08:59:44 +0100 |
commit | 9a104547c872de50d762335b30b2f6065a9043d8 (patch) | |
tree | df2a923ef4a4de17321639c264e3814a4eb60c8d | |
parent | dev-haskell/contravariant: bump up to 1.5.2 (diff) | |
download | gentoo-9a104547c872de50d762335b30b2f6065a9043d8.tar.gz gentoo-9a104547c872de50d762335b30b2f6065a9043d8.tar.bz2 gentoo-9a104547c872de50d762335b30b2f6065a9043d8.zip |
dev-haskell/nats: bump up to 1.1.2
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>
-rw-r--r-- | dev-haskell/nats/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/nats/metadata.xml | 12 | ||||
-rw-r--r-- | dev-haskell/nats/nats-1.1.2.ebuild | 36 |
3 files changed, 40 insertions, 9 deletions
diff --git a/dev-haskell/nats/Manifest b/dev-haskell/nats/Manifest index 368bb91d8b62..210cb70ae67c 100644 --- a/dev-haskell/nats/Manifest +++ b/dev-haskell/nats/Manifest @@ -1,3 +1,4 @@ DIST nats-0.1.2.tar.gz 3954 BLAKE2B f20f839d3aa4ac0a06f873d87ac5a691a7eeb62489904875918dd395302cee021cd59bbb0cafb88fd8554c99e14ba7dc9dff5a3704a394b5d342133560347fd3 SHA512 11903b123d0ed27af9fccc8bb7c343dcf42ac8d58768e628460153b0bf6f27bf1f1271890b26a48eb234b3b89bb7b9e48266a4b39742f56bcf8913e0c3751ab1 DIST nats-0.2.tar.gz 4740 BLAKE2B 9300e1834feec441d35246377314c7c302c16c76548498352c08f07262bb491dd68ea9303cc22e67416c349e224153c484977d14491eabcb6ce22a2991f7c0cb SHA512 419f2b4f938b7d590f45a25be163e25f29d47ec0fe7cf5d1f69cb9624c5617dfc25a0b14daf1b31ac590c021120eb5cd93bdf902d27136e3019e30ce2b5d3188 +DIST nats-1.1.2.tar.gz 7776 BLAKE2B ae2012e1e8a433c3802b7470f95a7e4b391f9c7ee50f41b94d2ee9d20b630820e550efa76fb5d64926942e87e761db0702ae4310573d0bca38f52fa419a93390 SHA512 596f11e98fe57893279ddd1f5af11a12e747e0d5e87000c7e20d0f5c2da0f0be9a6b8d19c8d5759716a7fb9a3e77d0e999380af3d5a350fe32a5492dc6077450 DIST nats-1.tar.gz 5768 BLAKE2B 1c8e08ce3cefade9103d4d16202d68eb1efae526ec1a4595768b121b15ee55ae5e071cfe6a1923219422a33278d53b290ec0aeee47c4eb8a7c6aed319dec0628 SHA512 a53b8890d3b9f9f799d0af25626d23a570b7d3f227968d4a1033385d87e4502120e26f8623a3c5c0c21dc0db98a000ff79565cbab0298fd9c17a917ea8e11edf diff --git a/dev-haskell/nats/metadata.xml b/dev-haskell/nats/metadata.xml index 1c6077508d48..dc01d7df7855 100644 --- a/dev-haskell/nats/metadata.xml +++ b/dev-haskell/nats/metadata.xml @@ -9,14 +9,8 @@ Haskell 98 natural numbers </longdescription> <use> - <flag name="hashable"> - You can disable the use of the `hashable` package using - USE=-hashable. Disabling this is an unsupported configuration, but it may be - useful for accelerating builds in sandboxes for expert users. If set we will - not supply an instance of `Hashable`. - </flag> + <flag name="binary">enable binary instances</flag> + <flag name="hashable">enable hashable instances</flag> + <flag name="template-haskell">enable template_haskell</flag> </use> - <upstream> - <remote-id type="github">ekmett/nats</remote-id> - </upstream> </pkgmetadata> diff --git a/dev-haskell/nats/nats-1.1.2.ebuild b/dev-haskell/nats/nats-1.1.2.ebuild new file mode 100644 index 000000000000..0ffa621e1a6a --- /dev/null +++ b/dev-haskell/nats/nats-1.1.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# ebuild generated by hackport 0.5.5.9999 + +CABAL_FEATURES="lib profile" +# break circular dependencies: +# https://github.com/gentoo-haskell/gentoo-haskell/issues/810 +CABAL_FEATURES+=" nocabaldep" +inherit haskell-cabal + +DESCRIPTION="Natural numbers" +HOMEPAGE="https://github.com/ekmett/nats/" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="+binary +hashable +template-haskell" + +RESTRICT=test # avoid circular dep: nats[hashable]->hashable[test]->quickcheck->nats + +RDEPEND=">=dev-lang/ghc-7.4.1:= + binary? ( >=dev-haskell/binary-0.2:=[profile?] <dev-haskell/binary-0.9:=[profile?] ) + hashable? ( >=dev-haskell/hashable-1.1:=[profile?] <dev-haskell/hashable-1.3:=[profile?] ) +" +DEPEND="${RDEPEND}" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag binary binary) \ + $(cabal_flag hashable hashable) \ + $(cabal_flag template-haskell template-haskell) +} |