diff options
author | hololeap <hololeap@protonmail.com> | 2023-10-02 23:10:25 -0600 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-10-23 04:10:17 +0100 |
commit | 99f9955f9b2f1e5ead59d9e4dc3bf71fa8533442 (patch) | |
tree | e3c8404a778c20c30f1c5fa702152734ea9c2495 /dev-haskell/tree-diff | |
parent | dev-haskell/transformers-compat: add 0.7.2 (diff) | |
download | gentoo-99f9955f9b2f1e5ead59d9e4dc3bf71fa8533442.tar.gz gentoo-99f9955f9b2f1e5ead59d9e4dc3bf71fa8533442.tar.bz2 gentoo-99f9955f9b2f1e5ead59d9e4dc3bf71fa8533442.zip |
dev-haskell/tree-diff: add 0.3.0.1-r1
Signed-off-by: hololeap <hololeap@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell/tree-diff')
-rw-r--r-- | dev-haskell/tree-diff/Manifest | 2 | ||||
-rw-r--r-- | dev-haskell/tree-diff/metadata.xml | 31 | ||||
-rw-r--r-- | dev-haskell/tree-diff/tree-diff-0.3.0.1-r1.ebuild | 54 |
3 files changed, 58 insertions, 29 deletions
diff --git a/dev-haskell/tree-diff/Manifest b/dev-haskell/tree-diff/Manifest index 18bdd40cea41..002d9d174793 100644 --- a/dev-haskell/tree-diff/Manifest +++ b/dev-haskell/tree-diff/Manifest @@ -1 +1,3 @@ DIST tree-diff-0.2.1.1.tar.gz 26042 BLAKE2B c136094949b96069996ae2a68c49ca3476f75909138135a138b1c1f07b833413472d2c497418a8bb6c0c17164e78cf180b548c0d4ab5806269e7348aa86467ba SHA512 07bd947b145ebf894a5f830601529517d003bf4b0ffc9581c8204d710ed8d3941f764376add84ab1757c7d3544e984166115f37c1348a32123d99aea816a0686 +DIST tree-diff-0.3.0.1-rev3.cabal 5422 BLAKE2B 1e0edff3db263a9b1929cc8e9115a8cd226a40327a61c1d1e2f49500da72292d324bc232aa6a2b0499f2c4f995ae02d20e86d2d21d38ae358f53e0fa2a4c3a66 SHA512 a33fcfc3a3a312ac3a3d11c4280e01ccc3664da52fd8f11ef51ae2c5fab86500557d890d7ef0cbd654af30552fa88e3b15d78d7310a18c8c32c9bcacea324187 +DIST tree-diff-0.3.0.1.tar.gz 26603 BLAKE2B 2456836d111e689c5101703a617a384b31eb46f12d9a6ef54e863d9e537345729432f2784f2f33be681e413fd400979cbe81d3fb50e49b0627d2a7edefa7eed3 SHA512 69244dcf5bca996e6c08500cf1841e68fda2a304fb811d788d2dd03e79076496bc12bfb1d3ac3f30c01929bbd617f009e2a78c1a7b23284cd41d1f78d8e6d20e diff --git a/dev-haskell/tree-diff/metadata.xml b/dev-haskell/tree-diff/metadata.xml index c50ae4cdef70..98aeb21bca73 100644 --- a/dev-haskell/tree-diff/metadata.xml +++ b/dev-haskell/tree-diff/metadata.xml @@ -6,34 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> - <remote-id type="github">haskellari/tree-diff</remote-id> + <remote-id type="hackage">tree-diff</remote-id> + <remote-id type="github">phadej/tree-diff</remote-id> </upstream> - <longdescription> - Common diff algorithm works on list structures: - - @ - diff :: Eq a => [a] -> [a] -> [Edit a] - @ - - This package works on trees. - - @ - treeDiff :: Eq a => Tree a -> Tree a -> Edit (EditTree a) - @ - - This package also provides a way to diff arbitrary ADTs, - using @Generics@-derivable helpers. - - This package differs from <http://hackage.haskell.org/package/gdiff gdiff>, - in a two ways: @tree-diff@ doesn't have patch function, - and the "edit-script" is a tree itself, which is useful for pretty-printing. - - @ - >>> prettyEditExpr $ ediff (Foo 42 [True, False] "old") (Foo 42 [False, False, True] "new") - Foo - {fooBool = [-True, +False, False, +True], - fooInt = 42, - fooString = -"old" +"new"} - @ - </longdescription> </pkgmetadata> diff --git a/dev-haskell/tree-diff/tree-diff-0.3.0.1-r1.ebuild b/dev-haskell/tree-diff/tree-diff-0.3.0.1-r1.ebuild new file mode 100644 index 000000000000..eb98d9423a66 --- /dev/null +++ b/dev-haskell/tree-diff/tree-diff-0.3.0.1-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.4.0.9999 + +CABAL_HACKAGE_REVISION=3 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Diffing of (expression) trees" +HOMEPAGE="https://github.com/phadej/tree-diff" + +LICENSE="GPL-2+" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/bytestring-builder-0.10.8.2.0:=[profile?] <dev-haskell/bytestring-builder-0.11:=[profile?] + >=dev-haskell/data-array-byte-0.1.0.1:=[profile?] <dev-haskell/data-array-byte-0.2:=[profile?] + >=dev-haskell/parsec-3.1.13.0:=[profile?] <dev-haskell/parsec-3.2:=[profile?] + >=dev-haskell/parsers-0.12.10:=[profile?] <dev-haskell/parsers-0.13:=[profile?] + >=dev-haskell/quickcheck-2.14.2:2=[profile?] <dev-haskell/quickcheck-2.15:2=[profile?] + >=dev-haskell/scientific-0.3.6.2:=[profile?] <dev-haskell/scientific-0.4:=[profile?] + >=dev-haskell/tagged-0.8.6:=[profile?] <dev-haskell/tagged-0.9:=[profile?] + >=dev-haskell/unordered-containers-0.2.8.0:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/uuid-types-1.0.3:=[profile?] <dev-haskell/uuid-types-1.1:=[profile?] + >=dev-lang/ghc-8.8.1:= + >=dev-haskell/aeson-1.4.6.0:=[profile?] <dev-haskell/aeson-2.3:=[profile?] + >=dev-haskell/ansi-terminal-0.10:=[profile?] <dev-haskell/ansi-terminal-1.1:=[profile?] + >=dev-haskell/ansi-wl-pprint-0.6.8.2:=[profile?] <dev-haskell/ansi-wl-pprint-1.1:=[profile?] + <dev-haskell/base-compat-0.14:=[profile?] + >=dev-haskell/hashable-1.2.7.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?] + >=dev-haskell/primitive-0.7.1.0:=[profile?] <dev-haskell/primitive-0.9:=[profile?] + >=dev-haskell/semialign-1.2.0.1:=[profile?] <dev-haskell/semialign-1.4:=[profile?] + >=dev-haskell/strict-0.4.0.1:=[profile?] <dev-haskell/strict-0.6:=[profile?] + >=dev-haskell/text-1.2.3.0:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-haskell/these-1.1.1.1:=[profile?] <dev-haskell/these-1.3:=[profile?] + >=dev-haskell/vector-0.12.0.0:=[profile?] <dev-haskell/vector-0.14:=[profile?] +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( dev-haskell/ansi-terminal + dev-haskell/ansi-wl-pprint + dev-haskell/base-compat + dev-haskell/primitive + >=dev-haskell/tasty-golden-2.3.1.1 <dev-haskell/tasty-golden-2.4 + >=dev-haskell/tasty-quickcheck-0.10.1 <dev-haskell/tasty-quickcheck-0.11 + >=dev-haskell/trifecta-2 <dev-haskell/trifecta-2.2 + || ( ( >=dev-haskell/tasty-1.2 <dev-haskell/tasty-1.3 ) + || ( ( >=dev-haskell/tasty-1.3.1 <dev-haskell/tasty-1.4 ) + ( >=dev-haskell/tasty-1.4.2 <dev-haskell/tasty-1.5 ) ) ) ) +" |