diff options
author | matoro <matoro@users.noreply.github.com> | 2022-07-12 11:23:48 -0400 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-22 22:15:09 +0000 |
commit | 3604b07e50c202ac2f95e36b8e4dd007ab490a7c (patch) | |
tree | 8189268baa15d8fd2479a70608b6ef5178a5170e /dev-haskell | |
parent | dev-haskell/ghc-paths: keyword 0.1.0.12-r1 for ~ppc64 (diff) | |
download | gentoo-3604b07e50c202ac2f95e36b8e4dd007ab490a7c.tar.gz gentoo-3604b07e50c202ac2f95e36b8e4dd007ab490a7c.tar.bz2 gentoo-3604b07e50c202ac2f95e36b8e4dd007ab490a7c.zip |
dev-haskell/glob: add 0.10.2
Signed-off-by: matoro <matoro@users.noreply.github.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell')
-rw-r--r-- | dev-haskell/glob/Manifest | 2 | ||||
-rw-r--r-- | dev-haskell/glob/glob-0.10.2.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-haskell/glob/Manifest b/dev-haskell/glob/Manifest index 6c5b0feaf539..b64759d75a48 100644 --- a/dev-haskell/glob/Manifest +++ b/dev-haskell/glob/Manifest @@ -1 +1,3 @@ DIST Glob-0.10.1.tar.gz 29763 BLAKE2B f0618d9b230037d9f6aa52d24e2d78f7220136b0da4161dc64b7cd777835fcc5a6da963725b935d8c4653704eaf3534d50f6dbdae6e19f1bd095447937de4595 SHA512 b2b2ee93f2cadf01f8a6828b9e742a241601f5fada1f73388dc0044f8e0985c601bd6a42738c60c54eecb619b6289ac1302751d8e2402f6494aaeb2b2a4abb42 +DIST Glob-0.10.2-rev3.cabal 2938 BLAKE2B 52a1600d5eaa09126757fdc00e009708e9c3d8408523535835f8598906e24aa0590114aa75fcc5e57d0ebf6d38a2a387650824b7eb2f8ae7b79fc0f62eba0912 SHA512 8802d8cd4d19a5ffa4dda9fb55d3454de762f2701d9cc720d5a0841848a736b2470e67a9fb19a5756bd69dd89c3fec20b38466fa49d7ceb5af7ba10bf6c165da +DIST Glob-0.10.2.tar.gz 30226 BLAKE2B b729e1b3e36d2161db185b882dcc2d331f35a284f89cb149a9210c082b1c11a3cbced76f299348a511ce1a32a5df0acdbfd4222145c62ac6e94536030f88ca70 SHA512 cd3c3fb00fad3b3e8d9ae2856a76d0d1688885ecec0b083eed87a4c1cf46111df747e66ff3e8bab2ffaf2a5f776a791442c7e0eefcf58f9d1e15e341b4c35a12 diff --git a/dev-haskell/glob/glob-0.10.2.ebuild b/dev-haskell/glob/glob-0.10.2.ebuild new file mode 100644 index 000000000000..590117c70b72 --- /dev/null +++ b/dev-haskell/glob/glob-0.10.2.ebuild @@ -0,0 +1,52 @@ +# 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.1.9999 + +CABAL_PN="Glob" +CABAL_P="${CABAL_PN}-${PV}" + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +CABAL_HACKAGE_REVISION="3" +inherit haskell-cabal + +S="${WORKDIR}/${CABAL_P}" +CABAL_FILE="${S}/${CABAL_PN}.cabal" +CABAL_DISTFILE="${CABAL_P}-rev${CABAL_HACKAGE_REVISION}.cabal" + +DESCRIPTION="Globbing library" +HOMEPAGE="https://iki.fi/matti.niemenmaa/glob/" +SRC_URI="https://hackage.haskell.org/package/${CABAL_P}/${CABAL_P}.tar.gz + https://hackage.haskell.org/package/${CABAL_P}/revision/${CABAL_HACKAGE_REVISION}.cabal + -> ${CABAL_DISTFILE}" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc64 ~x86" + +RDEPEND=">=dev-haskell/dlist-0.4:=[profile?] + >=dev-haskell/transformers-compat-0.3:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( >=dev-haskell/hunit-1.2 + >=dev-haskell/quickcheck-2 + >=dev-haskell/test-framework-0.2 + >=dev-haskell/test-framework-hunit-0.2 + >=dev-haskell/test-framework-quickcheck2-0.3 ) +" +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 +} |