diff options
author | matoro <matoro@users.noreply.github.com> | 2022-07-11 20:58:43 -0400 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-22 22:15:54 +0000 |
commit | ffa932f25808a1fe767da21b1d1d7f0091891135 (patch) | |
tree | e72baf97b7775fd790ba819a196b21e253709de6 /dev-haskell/time-compat | |
parent | dev-haskell/th-lift-instances: add 0.1.19 (diff) | |
download | gentoo-ffa932f25808a1fe767da21b1d1d7f0091891135.tar.gz gentoo-ffa932f25808a1fe767da21b1d1d7f0091891135.tar.bz2 gentoo-ffa932f25808a1fe767da21b1d1d7f0091891135.zip |
dev-haskell/time-compat: add 1.9.6.1
Signed-off-by: matoro <matoro@users.noreply.github.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell/time-compat')
-rw-r--r-- | dev-haskell/time-compat/Manifest | 2 | ||||
-rw-r--r-- | dev-haskell/time-compat/time-compat-1.9.6.1.ebuild | 47 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-haskell/time-compat/Manifest b/dev-haskell/time-compat/Manifest index 69bf2d1dd94c..f74e1f20f557 100644 --- a/dev-haskell/time-compat/Manifest +++ b/dev-haskell/time-compat/Manifest @@ -1 +1,3 @@ DIST time-compat-1.9.3.tar.gz 50050 BLAKE2B 9c6f457945a975d88fe1784daf7dbf4a0b96c086cdd05af97a3b0d9d2379777c985b8b73dd592f588d4e09aee2fc987ed4b97efd4d4199841318114b379a8c5d SHA512 937020b42b739a9ee2da3d8105181adc45d80f7e8b5af81c7f43dfbf567f33c81caf0e34de8896bc139f1eb4e40efd0715e9f6e5a4d542a1a86c4ea53151cf2a +DIST time-compat-1.9.6.1.cabal 5033 BLAKE2B bd54030fd2ea681d4b50eebbf05db7a8080c0023aaa845d285e4b9c15c86d9b578446c690d5053c00da27a28ee77be5ee4a728a9d120f98271f57128b4fada2a SHA512 9643dcfd5e6397b00b16547fc5eff687363d5921b44293d2e80e665392ee853315da84cfb3aa91ee8f225bee1966b281af80a5a549bdfa10b42444f27b097890 +DIST time-compat-1.9.6.1.tar.gz 59964 BLAKE2B 0a19a9692100d47f14643613539061104fead78056d37ff3aededf3d15ef00e23aa6875b77b56a92138818511b7681197ff55fb8adb6a0d6075c7e02bf0fe397 SHA512 ca0b19aa5e7948fd7d9fbd8ff5e1b0f93a2d8d410d515e7078b40370e7d9fc363c111d53551d57a0320efb0894bcc2210afa8fc04da9f003ded626f53b7e58ea diff --git a/dev-haskell/time-compat/time-compat-1.9.6.1.ebuild b/dev-haskell/time-compat/time-compat-1.9.6.1.ebuild new file mode 100644 index 000000000000..70c0b821543f --- /dev/null +++ b/dev-haskell/time-compat/time-compat-1.9.6.1.ebuild @@ -0,0 +1,47 @@ +# 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_FEATURES="lib profile haddock hoogle hscolour test-suite" +CABAL_HACKAGE_REVISION="3" +inherit haskell-cabal + +DESCRIPTION="Compatibility package for time" +HOMEPAGE="https://github.com/haskellari/time-compat" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz + https://hackage.haskell.org/package/${P}/revision/${CABAL_HACKAGE_REVISION}.cabal -> ${PF}.cabal" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc64 ~x86" + +RDEPEND=">=dev-haskell/base-orphans-0.8.4:=[profile?] <dev-haskell/base-orphans-0.9:=[profile?] + >=dev-haskell/hashable-1.3.2.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( >=dev-haskell/base-compat-0.10.5 <dev-haskell/base-compat-0.13 + >=dev-haskell/quickcheck-2.13 <dev-haskell/quickcheck-2.15 + >=dev-haskell/tagged-0.8.6 <dev-haskell/tagged-0.9 + >=dev-haskell/tasty-1.2.1 <dev-haskell/tasty-1.5 + >=dev-haskell/tasty-hunit-0.10 <dev-haskell/tasty-hunit-0.11 + >=dev-haskell/tasty-quickcheck-0.10 <dev-haskell/tasty-quickcheck-0.11 + || ( ( >=dev-haskell/hunit-1.3.1 <dev-haskell/hunit-1.3.2 ) + ( >=dev-haskell/hunit-1.6.0.0 <dev-haskell/hunit-1.7 ) ) ) +" +BDEPEND="app-text/dos2unix" + +src_prepare() { + # pull revised cabal from upstream + cp "${DISTDIR}/${PF}.cabal" "${S}/${PN}.cabal" || die + + # Convert to unix line endings + dos2unix "${S}/${PN}.cabal" || die + + # Apply patches *after* pulling the revised cabal + default +} |