summaryrefslogtreecommitdiff
path: root/dev-haskell/hsyaml-aeson
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-23 08:50:16 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-23 08:50:16 +0100
commit34efeba333bb7b35b450c57f2045c933b84bd252 (patch)
tree86c991fd2ec812228e134e90c5eac088e50dfa18 /dev-haskell/hsyaml-aeson
parentfd70f5e3ed54d5e013c11a3f3e632e80838171d0 (diff)
gentoo auto-resync : 23:07:2022 - 08:50:15
Diffstat (limited to 'dev-haskell/hsyaml-aeson')
-rw-r--r--dev-haskell/hsyaml-aeson/Manifest7
-rw-r--r--dev-haskell/hsyaml-aeson/hsyaml-aeson-0.2.0.0.ebuild45
-rw-r--r--dev-haskell/hsyaml-aeson/hsyaml-aeson-0.2.0.1.ebuild36
-rw-r--r--dev-haskell/hsyaml-aeson/metadata.xml16
4 files changed, 43 insertions, 61 deletions
diff --git a/dev-haskell/hsyaml-aeson/Manifest b/dev-haskell/hsyaml-aeson/Manifest
index 5cfddaa2daa3..ba78b458c2a9 100644
--- a/dev-haskell/hsyaml-aeson/Manifest
+++ b/dev-haskell/hsyaml-aeson/Manifest
@@ -1,3 +1,4 @@
-DIST HsYAML-aeson-0.2.0.0.tar.gz 11095 BLAKE2B b168c5d676718c99567835aaaa53321ccecc7b089e15850676a0b600f6ea2280facd4cf22e0212807c6c952287b125d52974ed19240390c0bc22d54c7047a641 SHA512 09da59c38e9fead3b11bbb6752cef803ae2d60392b710ea3958091d6256ff267f0b0f9b27293bbbc96a9d3af08464e463feafcba4a7caab6fd78286127f91527
-EBUILD hsyaml-aeson-0.2.0.0.ebuild 1385 BLAKE2B b5d7266d41fe559a2322add5b3d269b2b91340eaab33bff7381c95166ad0d819ded20498d43d66f1e61dc7b22405c5afb02a867964221c07aefe1161218d65d0 SHA512 5331f8b0387ffdf8b779cb5f335463f15c0988e8724eaf3a57ccce2f25426afd1353f415b23a774c737432ffc50f7f9731dc237b5e09a9e4023196fb1ffff599
-MISC metadata.xml 1038 BLAKE2B f3cee791d1cd2c677b50577b1d426b93d1d72c1ef66a47d51ebf32908b745daf5c6a34e236b40db289a6b7ce5e6ab3238b9d4467ca7619f06bd59d982fdd34d8 SHA512 42589fa5f0ebcafc07d01faaa6ce18687c44a3de56195569615c399a8c25ecd5f7d155e277ee98ad5fae683311ee8cfd689951ceedd80f88087d914f70944353
+DIST hsyaml-aeson-0.2.0.1-rev4.cabal 2618 BLAKE2B d30b9aaab7caf80ffb538ca1ce47cea6f1d6642d966aa2d47546e6c7facad0942bfcdb846388ef5703f0a5c481435d84e9bd26e770f98089121f76b8db12d8c2 SHA512 45edd5ca292cd86a13bca7c89b0cfd9bed67c5ad4ec4d775ac05f4800a250a034330095c7061ca963b8f5b1e9141daa86c8c2793c8598c743b0001359161c74f
+DIST hsyaml-aeson-0.2.0.1.tar.gz 11954 BLAKE2B 2ff80bbc61416ef1dd686b3ed57f6678a39b244fbf0fffa1b194dda0cf2e086c84620b6f5b85f85fe4cc001184bbd1e60f1b0e3a11bbd282d5da8bca65d4777d SHA512 64602074e3e4424b7ff5055aa5aefac89e12127d56975c437189e434c168f129c6d5bb1ee6b0e22e201d0b25de574bb2a49f0fcd0ac1498250ae14920f89acf4
+EBUILD hsyaml-aeson-0.2.0.1.ebuild 1022 BLAKE2B 01542ebef29911ba420fab38e26f21b843f34d79c1c2102f07b7a8aa10b0f5093944bdbe65455eba6445277a6ab6f1ba18db3f8b2cf115bc48c1de058ddbbeee SHA512 6a50c84ba24251c170fc3fccbc47cf0fcb355fe278da4b357ae9e074c4107c8eb553bdd3e43366ff8237071f083475d9353bd3fdccd9ea7a2c34c9349d5f167e
+MISC metadata.xml 324 BLAKE2B 382ebc9272f53e06dca1cbcea8684ddf276ea62aeafd8f18c8ef8d5b30a6d750258351876e740ee43af35c583f2b806ee990b905a24f436cb2b057560e5fea85 SHA512 b2abf06701aff9d2bbe37704976e5a6f8055b51409bcbfdae565c367f2b52bcc835339ff0cdfa1f38f8661f620f9dbfba91dfbc822f661f0dbafe00df92bb8fb
diff --git a/dev-haskell/hsyaml-aeson/hsyaml-aeson-0.2.0.0.ebuild b/dev-haskell/hsyaml-aeson/hsyaml-aeson-0.2.0.0.ebuild
deleted file mode 100644
index 4e02c6072d88..000000000000
--- a/dev-haskell/hsyaml-aeson/hsyaml-aeson-0.2.0.0.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# ebuild generated by hackport 0.6.6.9999
-
-CABAL_FEATURES="lib profile haddock hoogle hscolour"
-inherit haskell-cabal
-
-MY_PN="HsYAML-aeson"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="JSON to YAML Adapter"
-HOMEPAGE="https://hackage.haskell.org/package/HsYAML-aeson"
-SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND=">=dev-haskell/aeson-1.4.0.0:=[profile?] <dev-haskell/aeson-1.6:=[profile?]
- >=dev-haskell/hsyaml-0.2.0:=[profile?] <dev-haskell/hsyaml-0.3:=[profile?]
- >=dev-haskell/mtl-2.2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
- >=dev-haskell/scientific-0.3.6.2:=[profile?] <dev-haskell/scientific-0.4:=[profile?]
- >=dev-haskell/text-1.2.3:=[profile?] <dev-haskell/text-1.3:=[profile?]
- >=dev-haskell/unordered-containers-0.2:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?]
- >=dev-haskell/vector-0.12.0.2:=[profile?] <dev-haskell/vector-0.13:=[profile?]
- >=dev-lang/ghc-7.4.1:=
-"
-DEPEND="${RDEPEND}
- >=dev-haskell/cabal-2.2
-"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- default
-
- cabal_chdeps \
- 'base >= 4.5 && < 4.14' 'base >= 4.5' \
- 'containers >=0.4.2 && <0.7' 'containers >=0.4.2' \
- 'aeson ^>= 1.4.0.0' 'aeson >= 1.4.0.0'
-}
diff --git a/dev-haskell/hsyaml-aeson/hsyaml-aeson-0.2.0.1.ebuild b/dev-haskell/hsyaml-aeson/hsyaml-aeson-0.2.0.1.ebuild
new file mode 100644
index 000000000000..899b227a3a9c
--- /dev/null
+++ b/dev-haskell/hsyaml-aeson/hsyaml-aeson-0.2.0.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# ebuild generated by hackport 0.7.1.2
+
+CABAL_PN="HsYAML-aeson"
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+CABAL_HACKAGE_REVISION=4
+inherit haskell-cabal
+
+DESCRIPTION="JSON to YAML Adapter"
+HOMEPAGE="https://hackage.haskell.org/package/HsYAML-aeson"
+
+LICENSE="GPL-2+"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="exe"
+
+RDEPEND=">=dev-haskell/hsyaml-0.2.0:=[profile?] <dev-haskell/hsyaml-0.3:=[profile?]
+ >=dev-haskell/scientific-0.3.6.2:=[profile?] <dev-haskell/scientific-0.4:=[profile?]
+ >=dev-haskell/unordered-containers-0.2:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?]
+ >=dev-lang/ghc-8.4.3:=
+ >=dev-haskell/aeson-1.4.0.0:=[profile?] <dev-haskell/aeson-2.2:=[profile?]
+ >=dev-haskell/vector-0.12.0.2:=[profile?] <dev-haskell/vector-0.14:=[profile?]
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-2.2.0.1
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag exe exe)
+}
diff --git a/dev-haskell/hsyaml-aeson/metadata.xml b/dev-haskell/hsyaml-aeson/metadata.xml
index fc966d5e30f0..a28a6aa5922d 100644
--- a/dev-haskell/hsyaml-aeson/metadata.xml
+++ b/dev-haskell/hsyaml-aeson/metadata.xml
@@ -5,17 +5,7 @@
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
- <longdescription>
- The [YAML 1.2](https://yaml.org/spec/1.2/spec.html) format provides
- a much richer data-model and feature-set
- than the [JavaScript Object Notation (JSON)](https://tools.ietf.org/html/rfc7159) format.
- However, sometimes it's desirable to ignore the extra capabilities
- and treat YAML as if it was merely a more convenient markup format
- for humans to write JSON data. To this end this module provides a
- compatibility layer atop [HsYAML](https://hackage.haskell.org/package/HsYAML)
- which allows decoding YAML documents in the more limited JSON data-model while also providing
- convenience by reusing [aeson](https://hackage.haskell.org/package/aeson)'s
- 'FromJSON' instances for decoding the YAML data into native Haskell data
- types.
- </longdescription>
+ <use>
+ <flag name="exe">Enable @exe:yaml-test@ component</flag>
+ </use>
</pkgmetadata>