From 382cefe40465552a69ad6e8570aa22d2572e4bc4 Mon Sep 17 00:00:00 2001 From: hololeap Date: Mon, 2 Oct 2023 23:10:34 -0600 Subject: [PATCH] dev-haskell/unix-compat: add 0.7 Signed-off-by: hololeap Signed-off-by: Sam James --- dev-haskell/unix-compat/Manifest | 1 + dev-haskell/unix-compat/metadata.xml | 9 ++--- .../unix-compat/unix-compat-0.7.ebuild | 33 +++++++++++++++++++ 3 files changed, 36 insertions(+), 7 deletions(-) create mode 100644 dev-haskell/unix-compat/unix-compat-0.7.ebuild diff --git a/dev-haskell/unix-compat/Manifest b/dev-haskell/unix-compat/Manifest index a9ae931043609..a8d26b41146f3 100644 --- a/dev-haskell/unix-compat/Manifest +++ b/dev-haskell/unix-compat/Manifest @@ -1 +1,2 @@ DIST unix-compat-0.5.2.tar.gz 13281 BLAKE2B 617e916badf79b76959ffcd542ad6fa1f1ea04c0bc741faace7614bc9e0fcae0cc34dabb06197fa8686dee26b0d890ee95d3f6e5f6258e543424a9d99498a0cf SHA512 0a0a98e03edb7c6ab4401a022c3e90f7598b24930cb22ba04711c3f57b8f87990c6669d5cda07196b61d36cb6e0fa8b281822fa99b199c3b78cfccd0bc3f70be +DIST unix-compat-0.7.tar.gz 15210 BLAKE2B ccf771b729d98f29900dc79bd2e832c44ae06e3153eafadcd6aaff9fcb46cd74d78bc414988ef355e16d0d20ed11d5b82a3828c9c295b4d004b56ae4fefb3804 SHA512 2cac851106148a61c6c94742f6bf4862ce3409defd6b5478791ebabe538b53b4da35bdf552eed685117f72adcff2f16a920791705c734a7149d13184cf2ff549 diff --git a/dev-haskell/unix-compat/metadata.xml b/dev-haskell/unix-compat/metadata.xml index ee9c185ae6383..312d969e96a65 100644 --- a/dev-haskell/unix-compat/metadata.xml +++ b/dev-haskell/unix-compat/metadata.xml @@ -5,16 +5,11 @@ haskell@gentoo.org Gentoo Haskell - - This package provides portable implementations of parts - of the unix package. This package re-exports the unix - package when available. When it isn't available, - portable implementations are used. - build against old-time package - jystic/unix-compat + unix-compat + haskell-pkg-janitors/unix-compat diff --git a/dev-haskell/unix-compat/unix-compat-0.7.ebuild b/dev-haskell/unix-compat/unix-compat-0.7.ebuild new file mode 100644 index 0000000000000..ce0ef908850d6 --- /dev/null +++ b/dev-haskell/unix-compat/unix-compat-0.7.ebuild @@ -0,0 +1,33 @@ +# 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 test-suite" +inherit haskell-cabal + +DESCRIPTION="Portable POSIX-compatibility layer" +HOMEPAGE="https://github.com/haskell-pkg-janitors/unix-compat" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="old-time" + +RDEPEND=">=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( dev-haskell/extra + dev-haskell/hspec + dev-haskell/hunit + dev-haskell/monad-parallel + dev-haskell/temporary ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag old-time old-time) +}