diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-23 08:35:49 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-23 08:35:49 +0100 |
commit | 386855c4d1ef509c1fd32abd721589c81669613b (patch) | |
tree | 35dc984118f0a7dc2df88313d83bb5779fd12514 /dev-haskell/aeson-pretty | |
parent | 0118ac4510d7b85ca62da20e4abd1286dd8bd752 (diff) |
gentoo auto-resync : 23:10:2023 - 08:35:49
Diffstat (limited to 'dev-haskell/aeson-pretty')
-rw-r--r-- | dev-haskell/aeson-pretty/Manifest | 4 | ||||
-rw-r--r-- | dev-haskell/aeson-pretty/aeson-pretty-0.8.10.ebuild | 44 | ||||
-rw-r--r-- | dev-haskell/aeson-pretty/metadata.xml | 18 |
3 files changed, 49 insertions, 17 deletions
diff --git a/dev-haskell/aeson-pretty/Manifest b/dev-haskell/aeson-pretty/Manifest index e6c4b5b84a4b..b231861d2884 100644 --- a/dev-haskell/aeson-pretty/Manifest +++ b/dev-haskell/aeson-pretty/Manifest @@ -1,4 +1,6 @@ +DIST aeson-pretty-0.8.10.tar.gz 5894 BLAKE2B 11f743ec9eaf301412efdde98b7237b0445a1089532804271613fb189e9b58ceab9cf2f710ff6a9e40f9755413fb110df63f2a80449469d3d655eb684338f76b SHA512 9eb39f5d70fe841d10c4e9fcacc3b380aa2a377590e8165f11c11318f7cdacb26757713efbb2b8324b57d1d5d89a1b210094ac6ab385a4dd32a9f6591847c4ac DIST aeson-pretty-0.8.9.cabal 2549 BLAKE2B 8039fb1ab628e04e0661331860ee2340c1dde9ed971619bdceb8b31500037fa94977034e07a9b8722b7bba818bda0b9b23cc608b71084121c276bce9a7e805da SHA512 b602bd81625dfd00906dd61613c2f4446f88c3afb82a0dec960de62802f5db17d2d77895f22108660f500831d9b0f24f5709b45b0f17f98630442842954dd5b7 DIST aeson-pretty-0.8.9.tar.gz 5802 BLAKE2B 85d13676bb6f569a9df0f88a0882f493a6a2e55a74e702fa14f1d419b337f2a9f9d531de3dbd5283c80237e6fac11babf5aaba8f29aaf272ce6fc062412f1878 SHA512 00c99799cbe9e268109116f909ea0d9ef2708e578ec363ba5455b43d76d1f89bc9820dcbd3a63a1fb300460d97a71105f028f4ad9853b56ce16a097826b1d3d5 +EBUILD aeson-pretty-0.8.10.ebuild 1168 BLAKE2B 08686f3806dc551fa0618ab0b6f70a27e27d3c6a152474a0eb297ca0badd057495375b0b97a84661a98221ee21251d4954568e3ab0d78a061fd0ad9425208d76 SHA512 0e456cdfb8acb48a51198eed49a8bb55d3168d9c0c3e1c060fc3328a18f8a30476d89609bad64af659ef8ea47bcf9592e57b082ca5e9b7fae1d2588ab7b64cbb EBUILD aeson-pretty-0.8.9.ebuild 1374 BLAKE2B 917bf04404bac019d3cb4cc8f9799c8e9ed7ff9edb6a8ecafd9324ed0d4a96ac04642d9e92906b35bde42380371a8b0d3029a706b1d5583b590160142aef8a47 SHA512 4fe3720b2445d41b19a0a162be098a941970b911bd3d515080302887ff27ed36ffe72acb383ed26bbbdb7faaf1bada80eca3d37894e2778d9c0528cecd7b1a40 -MISC metadata.xml 1085 BLAKE2B 49797b27de2afac909d59db226fa8b8fb18cc93496a761c11a5d6acdb360cd9b07ae3c1c40438fb1d532f1767c17dc7698e9f3a4b54b8275ae38a22dd8d84cfa SHA512 1d81c965db55d284f82bdfec7de6a11a1103396a42da4fb8db16240ee7d4a7f5cab3b7a5dc52467967e3880504f6583f1ebc58ef8c56915027c7d09ee963b456 +MISC metadata.xml 569 BLAKE2B 17eea462913dd2eb0cb02aee0df6d022b049a149f4d3631e51d1fa1171eb56a706cfd36ad1beb37b7e852736f49b5f8c52fef7b27b5602a642316e48b18c4fa3 SHA512 d1b393d25c245b80bf2f2bcbefd29ce80cd2316fe61c2e18fd33cd20070e5895ab7eb670d162b2f3715a8e8af368d615350469a02cb6cd49b17be071274e6341 diff --git a/dev-haskell/aeson-pretty/aeson-pretty-0.8.10.ebuild b/dev-haskell/aeson-pretty/aeson-pretty-0.8.10.ebuild new file mode 100644 index 000000000000..4e095248d035 --- /dev/null +++ b/dev-haskell/aeson-pretty/aeson-pretty-0.8.10.ebuild @@ -0,0 +1,44 @@ +# 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_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="JSON pretty-printing library and command-line tool" +HOMEPAGE="https://github.com/informatikr/aeson-pretty" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+executable" + +RDEPEND=">=dev-haskell/base-compat-0.9:=[profile?] + >=dev-haskell/scientific-0.3:=[profile?] + >=dev-haskell/text-0.11:=[profile?] + >=dev-haskell/unordered-containers-0.2.14.0:=[profile?] + >=dev-haskell/vector-0.9:=[profile?] + >=dev-lang/ghc-8.8.1:= + >=dev-haskell/aeson-1.1:=[profile?] <dev-haskell/aeson-2.3:=[profile?] + executable? ( >=dev-haskell/aeson-0.6:=[profile?] + >=dev-haskell/attoparsec-0.10:=[profile?] + dev-haskell/attoparsec-aeson:=[profile?] + >=dev-haskell/cmdargs-0.7:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" + +src_configure() { + if use executable; then + local lib_flag=-lib-only + else + local lib_flag=lib-only + fi + + haskell-cabal_src_configure \ + --flag="${lib_flag}" +} diff --git a/dev-haskell/aeson-pretty/metadata.xml b/dev-haskell/aeson-pretty/metadata.xml index da44aa251acf..260b34f47acb 100644 --- a/dev-haskell/aeson-pretty/metadata.xml +++ b/dev-haskell/aeson-pretty/metadata.xml @@ -6,25 +6,11 @@ <name>Gentoo Haskell</name> </maintainer> <use> + <flag name="executable">build/install the command-line tool as well as the library</flag> <flag name="lib-only">don't build 'aeson-pretty' executable.</flag> </use> - <longdescription> - A JSON pretty-printing library compatible with aeson as well as - a command-line tool to improve readabilty of streams of JSON data. - - The /library/ provides the function "encodePretty". It is a drop-in - replacement for aeson's "encode" function, producing JSON-ByteStrings for - human readers. - - The /command-line tool/ reads JSON from stdin and writes prettified JSON - to stdout. It also offers a complementary "compact"-mode, essentially the - opposite of pretty-printing. If you specify @-flib-only@ like this - - > cabal install -flib-only aeson-pretty - - the command-line tool will NOT be installed. - </longdescription> <upstream> + <remote-id type="hackage">aeson-pretty</remote-id> <remote-id type="github">informatikr/aeson-pretty</remote-id> </upstream> </pkgmetadata> |