diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2016-06-16 22:54:42 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2016-06-16 22:54:42 +0100 |
commit | eceb367442c746cae3dfacf852afe3d043cdf103 (patch) | |
tree | 4df86588ad58f777dc6fb8ac6787e70db721e074 /dev-haskell | |
parent | dev-haskell/regex-compat-tdfa: drop ghc-switching USE flags, bug #584826 (diff) | |
download | gentoo-eceb367442c746cae3dfacf852afe3d043cdf103.tar.gz gentoo-eceb367442c746cae3dfacf852afe3d043cdf103.tar.bz2 gentoo-eceb367442c746cae3dfacf852afe3d043cdf103.zip |
dev-haskell/texmath: workaround cabal dependency tracker, bug #585316
Reported-by: Toralf Förster
Bug: https://bugs.gentoo.org/585316
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'dev-haskell')
-rw-r--r-- | dev-haskell/texmath/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/texmath/files/texmath-0.8.6.3-build-deps.patch | 17 | ||||
-rw-r--r-- | dev-haskell/texmath/texmath-0.8.6.3.ebuild | 47 |
3 files changed, 65 insertions, 0 deletions
diff --git a/dev-haskell/texmath/Manifest b/dev-haskell/texmath/Manifest index 258a8ce16669..998144595469 100644 --- a/dev-haskell/texmath/Manifest +++ b/dev-haskell/texmath/Manifest @@ -3,3 +3,4 @@ DIST texmath-0.6.6.3.tar.gz 46983 SHA256 82db05f65804453dcef692d2422bcff2d3b3ec9 DIST texmath-0.8.2.2.tar.gz 1599187 SHA256 a1f492d8bfdd9a28f9bbb546fd335e285b7da15ab1e7ac0cc0c96a8e42cec2f3 SHA512 2c8806ab0386acec6ed963a4574a5a24a07eb49a833a51021fef48e3a975012a083bd43fc4172399265430d9599b79f3ce1e5edfe785e80e92f259efc9dc674e WHIRLPOOL 0c9519b9979caf138763b8a0e0e42287afcef1b578959b70b1abefc212d2e49047c5ee375694badc33f201054205dfad15a68c201346b76f2225c56f579a0cc6 DIST texmath-0.8.4.1.tar.gz 1599833 SHA256 45a9c779775e4e6effd7606bef5c179524b4fb88dca952c2decd3fa82e6c94f5 SHA512 e7bc52235e23e890134005d6a2bb4169f6a55286eea41ba55430918acecd3ec09105adb511ed0e2df43ffb760bd888d971c96efeb544028c6b7ab89e06242ae4 WHIRLPOOL db1545445d39de75a5c8121a3ed1447ce347c4aa9e8b2fcdee1c94f7f7a29de356fb7d1f1473d0b2582b082fb8efed55f2bd0b6d40f62474677170c2079cc30b DIST texmath-0.8.6.2.tar.gz 1605476 SHA256 a9aabd507733c80ae86bcaa7129cf43056904047e27571c65606f158fe0f3b05 SHA512 d9bbb033592531a7963cfc3c054ca38ae72da4bc9d1b4509964e32f8e5bc888ac32b49849c67b7c08f5ceb95ac24cede9542f31510142ed4d83dd3a806c75682 WHIRLPOOL 0e4db14383a64ed089c49820b55c36d7183d657ed786bed6d3fd5f3aa09505749ed362153675cd66b37ccf7224b172cece9236559f6c3d796544ff5beb0f2141 +DIST texmath-0.8.6.3.tar.gz 1605299 SHA256 74f600a77a5ce2d88aa1aa81b0bea5f5e79da6b64b51e50656f7bbf27debc22b SHA512 d4ca9f6b6b94f491b2e6a9c110f7f8130047691b62266e6c0c928e3a7aed6c289484d93a9b69b9c3e7454a6bb404e48c5ac09d37f98f7d538d2a2825b96c7478 WHIRLPOOL 1d506c738775f7cec0f1d79da1c78c000525269b1e9d40b76e30af1e1bbfccc38e83775ca6443ca7ba2e5b8efd77c6606b9b2247930eebbe989dd19373235bdd diff --git a/dev-haskell/texmath/files/texmath-0.8.6.3-build-deps.patch b/dev-haskell/texmath/files/texmath-0.8.6.3-build-deps.patch new file mode 100644 index 000000000000..e5bb521239cf --- /dev/null +++ b/dev-haskell/texmath/files/texmath-0.8.6.3-build-deps.patch @@ -0,0 +1,17 @@ +diff --git a/texmath.cabal b/texmath.cabal +index 16f4410..ba61859 100644 +--- a/texmath.cabal ++++ b/texmath.cabal +@@ -135,8 +135,8 @@ Executable texmath + split, aeson, bytestring, text ++ if flag(network-uri) ++ Build-Depends: network-uri >= 2.6 ++ else ++ Build-Depends: network < 2.6 + else + Buildable: False +- if flag(network-uri) +- Build-Depends: network-uri >= 2.6 +- else +- Build-Depends: network < 2.6 + diff --git a/dev-haskell/texmath/texmath-0.8.6.3.ebuild b/dev-haskell/texmath/texmath-0.8.6.3.ebuild new file mode 100644 index 000000000000..1411a7fce8bb --- /dev/null +++ b/dev-haskell/texmath/texmath-0.8.6.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +# ebuild generated by hackport 0.5.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Conversion between formats used to represent mathematics" +HOMEPAGE="https://github.com/jgm/texmath" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="executable +network-uri" + +RDEPEND="dev-haskell/mtl:=[profile?] + >=dev-haskell/pandoc-types-1.12.3.3:=[profile?] <dev-haskell/pandoc-types-1.17:=[profile?] + >=dev-haskell/parsec-3:=[profile?] + dev-haskell/syb:=[profile?] + dev-haskell/xml:=[profile?] + >=dev-lang/ghc-7.4.1:= + executable? ( dev-haskell/aeson:=[profile?] + dev-haskell/split:=[profile?] + dev-haskell/text:=[profile?] + network-uri? ( >=dev-haskell/network-uri-2.6:=[profile?] ) + !network-uri? ( <dev-haskell/network-2.6:=[profile?] ) ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.10 + test? ( dev-haskell/temporary + dev-haskell/utf8-string + !executable? ( dev-haskell/split + dev-haskell/text ) ) +" + +PATCHES=("${FILESDIR}"/${P}-build-deps.patch) + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag executable executable) \ + $(cabal_flag network-uri network-uri) +} |