diff options
Diffstat (limited to 'dev-haskell/cassava')
-rw-r--r-- | dev-haskell/cassava/Manifest | 5 | ||||
-rw-r--r-- | dev-haskell/cassava/cassava-0.5.3.0.ebuild | 55 | ||||
-rw-r--r-- | dev-haskell/cassava/metadata.xml | 3 |
3 files changed, 61 insertions, 2 deletions
diff --git a/dev-haskell/cassava/Manifest b/dev-haskell/cassava/Manifest index 72611a4e3abc..d4bcab97940d 100644 --- a/dev-haskell/cassava/Manifest +++ b/dev-haskell/cassava/Manifest @@ -1,4 +1,7 @@ DIST cassava-0.5.2.0-rev7.cabal 6051 BLAKE2B 934cf9b067a8c9503f13676e3ee8f4d3a79a7ab030f39f4b652d460d89e3a739b1bb2bc231ad06e63d0cc5155e4119f91d2ea1d5d01c423c7cca2e689f07fd46 SHA512 4f8105a7298ff3a5f4dc8d579571296902d44084dce57c0136bd089de4575d75fa6a839fb568a87c7ae0b07ea3cee40a6e33ffe35ca2c8b05dd45905aa8713ea DIST cassava-0.5.2.0.tar.gz 37411 BLAKE2B 64351820bf75bfef0f29e44d1c3f9177ba41474d3419985b9853893aa4cee1485bbb1dfdd4d11b4c8df2673775fdfa211942b13f11124e8077ac25b91c6fc8d4 SHA512 f7f3fc2ebf58491847fb20b21ecf18595933d296bfd4c48249d35c52e72988c4e2758d7a6d2095a9edb3bed8e154a11170920a7c08262270c9f60cb853085383 +DIST cassava-0.5.3.0-rev1.cabal 6121 BLAKE2B 17a993359521f12b5be13eb3ffa8e92d5814ecd2c6df37a97e9bd07aba6fb476ca13f62def0fc50cac2cbc7e9c7408804ab49936868f69ab2b98c06289234910 SHA512 2b97d8eb0d2a478dfacd771ff33d63e8d8ea27b8a2b721353e49a50a378739de10cb67d7e803884192357b394bcc4b9c943fa108ae71725c229f1a5eb9eae6c1 +DIST cassava-0.5.3.0.tar.gz 38224 BLAKE2B 8b82d77e7698bc608be8637894c2a57361145547f63a48d48d76027f8003d3e0c505777bd61b29f00dab117995d846f442d3de2ee56b392302fc6f57639e7f14 SHA512 6afae52a2facc013d746a83afa975a2493174e2c5bda0c0ad8cab76c13c46dd86e8d3142e0676c881a35c3c8bf5618a5c1e4b70c3ab153443b949cb84b70bcb4 EBUILD cassava-0.5.2.0-r1.ebuild 1953 BLAKE2B 7f4d21e30605b9c1df928898ea2f25791304dd206958f4e7e9138c32cdc3308320403a5b98525781d7b23b3b3762db47e8e6c1b52c4d8e47da488dfe50ca33ac SHA512 d8437d2e94bad6b6277a586dc11264c42caf416fa48164795d4171e1d0cda50b25cf90d71b8659e6219fa611563ea565c4888e66e9a8e36aad68842413aae9f3 -MISC metadata.xml 328 BLAKE2B 4c208ed9a0d98908226ee05ca1cf035b2b32cb6a25ef3144b31295ef7282201581e2c092e3b858235904613a0d9ad77d5e0140917efb3c9c67609673ea840253 SHA512 9ccd0c72602f132a1135e10dca562e35ba6ba62c12f17a66aba5659a9e951dfa6597e7927c25c4474cbd3063c2fcbcffed68c75997c206d09f6d766d9b6ec14f +EBUILD cassava-0.5.3.0.ebuild 1990 BLAKE2B a53d93c2beab4c949c07f9aa2e9893c776b7110f15c5f3e5c3dd1cf11334ce3603520213fea1bc1c2453ac2c184acb4d84b7f1c99c1ed6418776176b7693e10c SHA512 3809223f929d2f5740a79a1ac370732953f41b0b8d986a2476c4f04c113f0aae0f9717e492e95598b058280405c9bf8d6d2d406b420f42014ba5c3bfe0c423b7 +MISC metadata.xml 382 BLAKE2B ef1c802e538b5adde5f0dc9d9230cc827726aca4ea65132648c1e04d4672267081f70e89278ec3c2c649af9f4de7cf252a2b66b42d9d87d8ef5bc977651caf29 SHA512 f3f25ade588a6d0d01d047ed98cb235a730ea1810e85a163a69ce475081eb5dbe459165ecb9d365c682aa953f1b19e7ba5c9793d199abb6ff389fbbc0f12b2e7 diff --git a/dev-haskell/cassava/cassava-0.5.3.0.ebuild b/dev-haskell/cassava/cassava-0.5.3.0.ebuild new file mode 100644 index 000000000000..822b25cc6f0f --- /dev/null +++ b/dev-haskell/cassava/cassava-0.5.3.0.ebuild @@ -0,0 +1,55 @@ +# 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 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +CABAL_HACKAGE_REVISION=1 +inherit haskell-cabal + +CABAL_FILE="${S}/${PN}.cabal" +CABAL_DISTFILE="${P}-rev${CABAL_HACKAGE_REVISION}.cabal" + +DESCRIPTION="A CSV parsing and encoding library" +HOMEPAGE="https://github.com/haskell-hvr/cassava" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz + https://hackage.haskell.org/package/${P}/revision/${CABAL_HACKAGE_REVISION}.cabal + -> ${CABAL_DISTFILE}" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/attoparsec-0.11.3.0:=[profile?] <dev-haskell/attoparsec-0.15:=[profile?] + <dev-haskell/hashable-1.5:=[profile?] + >=dev-haskell/only-0.1:=[profile?] <dev-haskell/only-0.1.1:=[profile?] + >=dev-haskell/scientific-0.3.4.7:=[profile?] <dev-haskell/scientific-0.4:=[profile?] + <dev-haskell/text-2.1:=[profile?] + >=dev-haskell/text-short-0.1:=[profile?] <dev-haskell/text-short-0.2:=[profile?] + <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/vector-0.8:=[profile?] <dev-haskell/vector-0.14:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( <dev-haskell/hunit-1.7 + >=dev-haskell/quickcheck-2.14 <dev-haskell/quickcheck-2.15 + >=dev-haskell/quickcheck-instances-0.3.12 <dev-haskell/quickcheck-instances-0.4 + >=dev-haskell/test-framework-0.8 <dev-haskell/test-framework-0.9 + >=dev-haskell/test-framework-hunit-0.3 <dev-haskell/test-framework-hunit-0.4 + >=dev-haskell/test-framework-quickcheck2-0.3 <dev-haskell/test-framework-quickcheck2-0.4 ) +" +BDEPEND="app-text/dos2unix" + +src_prepare() { + # pull revised cabal from upstream + cp "${DISTDIR}/${CABAL_DISTFILE}" "${CABAL_FILE}" || die + + # Convert to unix line endings + dos2unix "${CABAL_FILE}" || die + + # Apply patches *after* pulling the revised cabal + default +} diff --git a/dev-haskell/cassava/metadata.xml b/dev-haskell/cassava/metadata.xml index b5e909828986..769713f352ca 100644 --- a/dev-haskell/cassava/metadata.xml +++ b/dev-haskell/cassava/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> - <remote-id type="github">tibbe/cassava</remote-id> + <remote-id type="hackage">cassava</remote-id> + <remote-id type="github">haskell-hvr/cassava</remote-id> </upstream> </pkgmetadata> |