diff options
author | Jack Todaro <solpeth@posteo.org> | 2020-08-21 18:40:40 +1000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-08-21 20:40:07 +0100 |
commit | d112b56325fe5f5a9510b143f59638ce3481478d (patch) | |
tree | ddb2b8ee550d32a5114590ed735fe15e6f25145e /dev-vcs | |
parent | dev-python/pytest: Remove old (diff) | |
download | gentoo-d112b56325fe5f5a9510b143f59638ce3481478d.tar.gz gentoo-d112b56325fe5f5a9510b143f59638ce3481478d.tar.bz2 gentoo-d112b56325fe5f5a9510b143f59638ce3481478d.zip |
dev-vcs/darcs: bump up to 2.16.2
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Jack Todaro <solpeth@posteo.org>
Closes: https://github.com/gentoo/gentoo/pull/17200
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/darcs/Manifest | 1 | ||||
-rw-r--r-- | dev-vcs/darcs/darcs-2.16.2.ebuild | 103 |
2 files changed, 104 insertions, 0 deletions
diff --git a/dev-vcs/darcs/Manifest b/dev-vcs/darcs/Manifest index 978a81a803a4..f8393c16f1b1 100644 --- a/dev-vcs/darcs/Manifest +++ b/dev-vcs/darcs/Manifest @@ -1,3 +1,4 @@ DIST darcs-2.12.5.tar.gz 1460698 BLAKE2B 9050b5863221d2c82e93d689b733b34a0b63fd0e7f29b0041ba3ff10e4359e4d32e1c8bca5ac4722a65fbebab66b25cba443efe23ee3e4a87d4117a7335db4de SHA512 9bda8149269dc23750321f3929e156e32c76de4f5bb8291bc248d0e326bf08b69c82ef7383f9d02dcc65ca199078f6e1ab575197fc2aee225486a8c1b9275542 DIST darcs-2.14.5.tar.gz 1063677 BLAKE2B 7f38aa09d5af53e68829a9181f1981eccd173e2af5a044d100758164b668297303aed947ffc579ea1977e4a1f2820d1954b5c5428e429e5ff42ee238e0043611 SHA512 75f89dc920eb9a417e86bcbf185b0ba35e284a0a0c6bbd27c7dec46c4f143f5c37f0559a1ff1b3d3bd39ebdca98fa3a7420bee5e179c1bef0b0fc203e04e0484 DIST darcs-2.16.1.tar.gz 1251074 BLAKE2B e95db9e14b4af3a5a710e9daa1281d5a174f4692466e55cef770a94d8c3e29cba470f4cc70dd97865a5246f4298b2cebd0adbad0c128ce5bee528184d87d92d0 SHA512 c3c3ee06fc974f14b4d34dfb37993c59654ced23f25428c4542d4852f42cf371afb51dc74435da0953a442b628f86bd745d59a32c3d2a49d33f34d3e99ea156e +DIST darcs-2.16.2.tar.gz 1242738 BLAKE2B b402c8b2987097d10c61ffd312cc58b788625759cf199a774af8efb9b001d8440705eed75f3dbdd3ca120256c5e2efb9ddda73e12da31b7b07ba9d10ca33de8b SHA512 ee43e570227a5f462e064b71323755d1179809c24ff83a904aefa32494c4655b41b4b3291411b5abc1e1e75be894cde6070aa072b51905ddf8fc2934973b25cb diff --git a/dev-vcs/darcs/darcs-2.16.2.ebuild b/dev-vcs/darcs/darcs-2.16.2.ebuild new file mode 100644 index 000000000000..ac19fb3449e2 --- /dev/null +++ b/dev-vcs/darcs/darcs-2.16.2.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# ebuild generated by hackport 0.6.6.9999 +#hackport: flags: +library,+executable,-hpc,-warn-as-error,+pkgconfig,-rts,-static,-optimize,hashed-storage-diff:diff,+http + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="a distributed, interactive, smart revision control system" +HOMEPAGE="http://darcs.net/" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="curl +terminfo +threaded" + +RESTRICT=test # conflict-fight-failure (Darcs3) (PatienceDiff): [Failed] + +RDEPEND=">=dev-haskell/async-2.0.2:=[profile?] <dev-haskell/async-2.3:=[profile?] + >=dev-haskell/attoparsec-0.13.0.1:=[profile?] <dev-haskell/attoparsec-0.14:=[profile?] + >=dev-haskell/base16-bytestring-0.1:=[profile?] <dev-haskell/base16-bytestring-0.2:=[profile?] + >=dev-haskell/conduit-1.3.0:=[profile?] <dev-haskell/conduit-1.3.3:=[profile?] + >=dev-haskell/constraints-0.11:=[profile?] <dev-haskell/constraints-0.13:=[profile?] + >=dev-haskell/cryptonite-0.24:=[profile?] <dev-haskell/cryptonite-0.28:=[profile?] + >=dev-haskell/data-ordlist-0.4:=[profile?] <dev-haskell/data-ordlist-0.5:=[profile?] + >=dev-haskell/fgl-5.5.2.3:=[profile?] <dev-haskell/fgl-5.8:=[profile?] + >=dev-haskell/hashable-1.2.3.3:=[profile?] <dev-haskell/hashable-1.4:=[profile?] + >=dev-haskell/haskeline-0.7.2:=[profile?] <dev-haskell/haskeline-0.9:=[profile?] + >=dev-haskell/html-1.0.1.2:=[profile?] <dev-haskell/html-1.1:=[profile?] + >=dev-haskell/http-conduit-2.3:=[profile?] <dev-haskell/http-conduit-2.4:=[profile?] + >=dev-haskell/http-types-0.12.1:=[profile?] <dev-haskell/http-types-0.12.4:=[profile?] + >=dev-haskell/memory-0.14:=[profile?] <dev-haskell/memory-0.16:=[profile?] + >=dev-haskell/mmap-0.5.9:=[profile?] <dev-haskell/mmap-0.6:=[profile?] + >=dev-haskell/mtl-2.2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?] + >=dev-haskell/network-2.6:=[profile?] <dev-haskell/network-3.2:=[profile?] + >=dev-haskell/network-uri-2.6:=[profile?] <dev-haskell/network-uri-2.8:=[profile?] + >=dev-haskell/old-time-1.1.0.3:=[profile?] <dev-haskell/old-time-1.2:=[profile?] + >=dev-haskell/parsec-3.1.9:=[profile?] <dev-haskell/parsec-3.2:=[profile?] + >=dev-haskell/regex-applicative-0.2:=[profile?] <dev-haskell/regex-applicative-0.4:=[profile?] + >=dev-haskell/regex-compat-tdfa-0.95.1:=[profile?] <dev-haskell/regex-compat-tdfa-0.96:=[profile?] + >=dev-haskell/sandi-0.4:=[profile?] <dev-haskell/sandi-0.6:=[profile?] + >=dev-haskell/stm-2.1:=[profile?] <dev-haskell/stm-2.6:=[profile?] + >=dev-haskell/tar-0.5:=[profile?] <dev-haskell/tar-0.6:=[profile?] + >=dev-haskell/temporary-1.2.1:=[profile?] <dev-haskell/temporary-1.4:=[profile?] + >=dev-haskell/text-1.2.1.3:=[profile?] <dev-haskell/text-1.3:=[profile?] + >=dev-haskell/unix-compat-0.5:=[profile?] <dev-haskell/unix-compat-0.6:=[profile?] + >=dev-haskell/utf8-string-1:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?] + >=dev-haskell/vector-0.11:=[profile?] <dev-haskell/vector-0.13:=[profile?] + >=dev-haskell/zip-archive-0.3:=[profile?] <dev-haskell/zip-archive-0.5:=[profile?] + >=dev-haskell/zlib-0.6.1.2:=[profile?] <dev-haskell/zlib-0.7.0.0:=[profile?] + >=dev-lang/ghc-8.2.1:= + curl? ( net-misc/curl ) + terminfo? ( >=dev-haskell/terminfo-0.4.0.2:=[profile?] <dev-haskell/terminfo-0.5:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2 <dev-haskell/cabal-3.3 + test? ( >=dev-haskell/cmdargs-0.10.10 <dev-haskell/cmdargs-0.11 + >=dev-haskell/exceptions-0.6 + >=dev-haskell/findbin-0.0.5 <dev-haskell/findbin-0.1 + >=dev-haskell/hunit-1.3 <dev-haskell/hunit-1.7 + >=dev-haskell/leancheck-0.9 <dev-haskell/leancheck-0.10 + >=dev-haskell/monad-control-0.3.2 <dev-haskell/monad-control-1.1 + >=dev-haskell/quickcheck-2.13 <dev-haskell/quickcheck-2.14 + >=dev-haskell/split-0.2.2 <dev-haskell/split-0.3 + <dev-haskell/system-fileio-0.4 + >=dev-haskell/system-filepath-0.4.7 <dev-haskell/system-filepath-0.5 + >=dev-haskell/test-framework-0.8.1.1 <dev-haskell/test-framework-0.9 + >=dev-haskell/test-framework-hunit-0.3.0.2 <dev-haskell/test-framework-hunit-0.4 + >=dev-haskell/test-framework-leancheck-0.0.1 <dev-haskell/test-framework-leancheck-0.1 + >=dev-haskell/test-framework-quickcheck2-0.3.0.3 <dev-haskell/test-framework-quickcheck2-0.4 + dev-haskell/transformers-base ) + curl? ( virtual/pkgconfig ) +" + +PATCHES=("${FILESDIR}"/${PN}-2.16.1-curl.patch) + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag curl curl) \ + --flag=executable \ + --flag=-hpc \ + --flag=http \ + --flag=library \ + --flag=-optimize \ + --flag=pkgconfig \ + --flag=-rts \ + --flag=-static \ + $(cabal_flag terminfo terminfo) \ + $(cabal_flag threaded threaded) \ + --flag=-warn-as-error +} + +src_install() { + haskell-cabal_src_install + + # fixup perms in such an awkward way + mv "${ED}/usr/share/man/man1/darcs.1" "${S}/darcs.1" || die "darcs.1 not found" + doman "${S}/darcs.1" +} |