summaryrefslogtreecommitdiff
path: root/dev-haskell/texmath
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-haskell/texmath
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-haskell/texmath')
-rw-r--r--dev-haskell/texmath/Manifest16
-rw-r--r--dev-haskell/texmath/files/texmath-0.8.6.3-build-deps.patch17
-rw-r--r--dev-haskell/texmath/metadata.xml28
-rw-r--r--dev-haskell/texmath/texmath-0.6.4.ebuild45
-rw-r--r--dev-haskell/texmath/texmath-0.6.6.3.ebuild37
-rw-r--r--dev-haskell/texmath/texmath-0.8.2.2.ebuild44
-rw-r--r--dev-haskell/texmath/texmath-0.8.6.3.ebuild46
-rw-r--r--dev-haskell/texmath/texmath-0.8.6.7.ebuild46
-rw-r--r--dev-haskell/texmath/texmath-0.9.1.ebuild44
9 files changed, 323 insertions, 0 deletions
diff --git a/dev-haskell/texmath/Manifest b/dev-haskell/texmath/Manifest
new file mode 100644
index 000000000000..1b430167149b
--- /dev/null
+++ b/dev-haskell/texmath/Manifest
@@ -0,0 +1,16 @@
+AUX texmath-0.8.6.3-build-deps.patch 503 SHA256 53097907ea987b49b572025e2953beb1998d48a451657dfa70fac27f18501f9c SHA512 0b9081cec67289ce4b64bf222d61e4621747bc256717bd347158d344be75762001e4c1a6a36b9bcf70d553fc80dad36b9cb9ae7b5611532b16bbe5a7c4c6e8c9 WHIRLPOOL 4cae76dde4da4e626a3e528d54ca24d7d97343000a954420891f6c2f54e8611590b9c25d2512a5c73d559f6c61ee1122c1932a513acc91df03d6f73741389012
+DIST texmath-0.6.4.tar.gz 45075 SHA256 0eeafd7c68e734e350028f44af30a46175780d51db7f2ce9356c5c4582c61d24 SHA512 b6d1ff64cd7c758687efd656a8e0efdc9b6a1eac9f0dde5cd5d7d07fe6b3c8fd1a62145413b950b443cddd2a434151bc490148631b75fc853bdaadab2b5b0640 WHIRLPOOL 1664b62fa3575cf8756857ef335ea84ba86d449bfc0a82b5a7804c2c1d882bd8592c9ddeb16e02ed40449f69b2bdd60d4082596c025ca1e230947ac1451a563a
+DIST texmath-0.6.6.3.tar.gz 46983 SHA256 82db05f65804453dcef692d2422bcff2d3b3ec9b0ea0811a4f49906599329eea SHA512 f6e41b28445751a2d296c9d0effaa95bc4962bb7af037ce277a4b59c0eb8e83caf7389cc420e4839b3737764c2bd7c15277771afdadfbb4310112e9ba5477210 WHIRLPOOL eab30a1bce907612c39e6873e7937038d99ecd099d76f9cac627a8c23662836e436638c339f1743edd59c58f30c8d1b052baeef112233dca47af9ebba4167f0f
+DIST texmath-0.8.2.2.tar.gz 1599187 SHA256 a1f492d8bfdd9a28f9bbb546fd335e285b7da15ab1e7ac0cc0c96a8e42cec2f3 SHA512 2c8806ab0386acec6ed963a4574a5a24a07eb49a833a51021fef48e3a975012a083bd43fc4172399265430d9599b79f3ce1e5edfe785e80e92f259efc9dc674e WHIRLPOOL 0c9519b9979caf138763b8a0e0e42287afcef1b578959b70b1abefc212d2e49047c5ee375694badc33f201054205dfad15a68c201346b76f2225c56f579a0cc6
+DIST texmath-0.8.6.3.tar.gz 1605299 SHA256 74f600a77a5ce2d88aa1aa81b0bea5f5e79da6b64b51e50656f7bbf27debc22b SHA512 d4ca9f6b6b94f491b2e6a9c110f7f8130047691b62266e6c0c928e3a7aed6c289484d93a9b69b9c3e7454a6bb404e48c5ac09d37f98f7d538d2a2825b96c7478 WHIRLPOOL 1d506c738775f7cec0f1d79da1c78c000525269b1e9d40b76e30af1e1bbfccc38e83775ca6443ca7ba2e5b8efd77c6606b9b2247930eebbe989dd19373235bdd
+DIST texmath-0.8.6.7.tar.gz 1595061 SHA256 9e5fd9571a7257bdc8cfa6e0da077b16e867011a9f813065d68dd046bd358c88 SHA512 792e81395d092b7606d2f4c4cb59afd03f4226e611ca4e7a9b2a087c507345c709a92853cbc5d780729ea47c849cdf3727528bdafcb2b9217b4032041c937202 WHIRLPOOL 8f0d077e2969204c6d32df18f9da2b7016abf1d7f092c6271d11dc3bb73aa633c929789d50e24fe686c75490d472a2727db95020d7df12a1f00009b1f8f8a7cb
+DIST texmath-0.9.1.tar.gz 1596703 SHA256 cafb98d25da63bdd76f75b29bf395c9e023cf46d753db9a1534e84879cb8697e SHA512 6aba502dfb9f5163115f229ca9484ef1df72e712494b95e6e050a2e655684addec564bfe0a261db2efb45d0a6a0ef4547a856ff85031a9954c04e0fbe7131269 WHIRLPOOL 1660f0b5a04a1c37603848a4eeaede768fc05429991fab1405f862e87637462ff2075d28cc215e58da94d3b0c18a741e4a75eb23a18c2d95f2e8add1a506fffb
+EBUILD texmath-0.6.4.ebuild 1082 SHA256 712bbdc1aa628edf4b9f93c5bbc06cf2701eac8b729eebd413a0b1a41092fbc6 SHA512 b61fa5364fcfeb69a6ee11a9c4d8091049ae514b8774d14604dd8eed7729e18261784fd5a430c94ebaa4f62b10720c5c10e566ae94a0456d17a49698febe910f WHIRLPOOL 6c1abf85756003c126e452b4913d30a894b60b6f2fdbbf4f8196391987af39cbab2d2e35034eb8deaf9f89bc7afacea51c3f0fd9ee59b5cba79a4fc948d5ac1b
+EBUILD texmath-0.6.6.3.ebuild 910 SHA256 1f7102c46226e2b68b698915b8c53a7986190f46b911a2a4896d46f10d705fbe SHA512 6fa34b84573429087d7034243af738c84461329e59c54a455e298e1fc7f7d8c499c46f70944c3db8b4ba4f4f15b75401e81c871f595f26a2e2ec882d2eb5129e WHIRLPOOL dced218033ff53f6073037c1d577d81e3acc99852be06ddda1729d3e50593bb28dc1546e20ef86e8866406a1af97290bdfcc1118c0513710c1757f41eb34c44f
+EBUILD texmath-0.8.2.2.ebuild 1289 SHA256 f22e82d8a6513ddba740f69f8b5a3da402516d7cc94be1e84df585450824c9a2 SHA512 374e81550a0f45dabfc13c51a917b18cde08b0c32c67680221f3b9286d4f7c9a09519a9a25e1fd4c4abe65d0c6f8518b4a2e9eb461dffe04d7ce53c7d9478ba8 WHIRLPOOL 613e38079c9788185b738977a19117dd4d7fe312c0f528d8ebbe3d3ab9d29411617745a4db399b16ddcf479a823b7f607ddc320c6a6dd0a85cda6c8e2cdf1c69
+EBUILD texmath-0.8.6.3.ebuild 1336 SHA256 18b66e403499ccd30a88127815b2105f77d0a41923d6d631a05c274766868d27 SHA512 767e9217ca707bc739c3f7306435dd671752affe63042dd3440f88c234955675a1785661a88b40b728a5efa66529c4573ff38f1bacb6f14fe986e5816d2cb535 WHIRLPOOL 82ecba677d4838b04b81b878c5a14ae0297f7f0dc63a4c59b846e8ab8def0c04a1b300e57ed05c63a73b26922b2eaef75a39b5942e27a1cd7167486ca7fa365d
+EBUILD texmath-0.8.6.7.ebuild 1345 SHA256 a335a3b88277ce67e0562ec0fa9b8a0adfbe1e9cf7faa51b278d43231702ad49 SHA512 e24ce7753cec1a49a6dba926bb86efd9161e2bfeb4bf8634c499dbd19331cc528dc7c5bde4c2b7c7c1ab57753c44ffd1e66a831f51f7b72933c490bd521868f7 WHIRLPOOL efe45562b55c9dfbf86a700e920e5c77d86e5b8d6861d0fcf1f2f56b03d260bc24f80451adec0ca1a44796ea59a90458c44e9722c4f95897610759bed2c82b8e
+EBUILD texmath-0.9.1.ebuild 1289 SHA256 9e942cd4b8dba7b259988c2deba7c7fa70e6c83cf5a9d79831db866784ad7cca SHA512 3e4ac2246655b1eab183da8d3733853f514fa3106b1f06cabc5a63462013787c79b85a127b7795d3f9b62be72029e69d28f7d83925c458bd979f4731cb92abdf WHIRLPOOL ea3ba9bacfdcd22a2552821ef4026f566e3b8a5452447dfd210e562b80f9426ca8e6133bb1f3d5a49c61fc8ea99d6b85649b095f92cf63f3aca42a4f347a97a3
+MISC ChangeLog 4574 SHA256 cf5ca8dc36f822bdff21992cab75464b5f2e78a92ad1b039db041b98734f8519 SHA512 25143b5bffe091b57532b4ac84dbb6d0537ca8ed6e6500ee86eb4540411ecd8ce2216f0e01594710c95dbbd8f07e1bf020c2f25550da1eb09a8fe7cb8c119e4b WHIRLPOOL d08a76e690e4e058e56e3daa02e90a0d5eb940b2c10d27b15760e6dd836213b852b4d71d49152cf7f2eb925a73a2aeafc978747b05ded9d2954c26e0398ec8d2
+MISC ChangeLog-2015 3729 SHA256 4a90bfa2b638699efd7bac3b6ee6bc61c2d2f8c920ea5a9c1c1c1e71dadbd4ec SHA512 c287fd6d1f724b83f5c13288cc41686bdeb41b89774e1872b5e23ab626606a6252a145dcf289d52743d578f65e6ce5de5806b31e57b8b12e3206fae4b25a586a WHIRLPOOL 0cc054608d71bb75d0f64f5ac4e607de3a51fcbe63a18f57dab78cc1f53c81fe9465f2453e07edb1b4affe9c7b70b31146b51c67e4b9436703c8a7693684b39d
+MISC metadata.xml 919 SHA256 7ca2c091ddfb8ff1ee678d37709e82115cea4c5cc9479d7454b23a115cefe95c SHA512 2d604c4422425e099e143520d559e645f7ffb4be8187209f59829a03770e2bcc345555b91eca0fd35a32222b25652b3a53514f3448cbb99c27c50608eebcc961 WHIRLPOOL 13b22663647be05b22f249df162b069079826d04546fd5cb7f5ef3a50ed48765478456d0f5fa57f7b862f36f0b8ed0229a91f80156e37a735ac8a87bbf4b77c1
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/metadata.xml b/dev-haskell/texmath/metadata.xml
new file mode 100644
index 000000000000..71fb7e7299c4
--- /dev/null
+++ b/dev-haskell/texmath/metadata.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <longdescription>
+ The texmathml library provides functions to convert LaTeX
+ math formulas to presentation MathML. It supports
+ basic LaTeX and AMS extensions, and it can parse and
+ apply LaTeX macros.
+
+ Use the @test@ flag to install a standalone executable,
+ @texmath@, that reads a LaTeX formula from @stdin@ and
+ writes MathML to @stdout@.
+
+ Use the @cgi@ flag to install a cgi script,
+ @texmath-cgi@.
+ </longdescription>
+ <use>
+ <flag name="executable">Compile test executable.</flag>
+ <flag name="network-uri">Get Network.URI from the network-uri package.</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">jgm/texmath</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-haskell/texmath/texmath-0.6.4.ebuild b/dev-haskell/texmath/texmath-0.6.4.ebuild
new file mode 100644
index 000000000000..c12bcbffc96f
--- /dev/null
+++ b/dev-haskell/texmath/texmath-0.6.4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.3.9999
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Conversion of LaTeX math formulas to MathML or OMML"
+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="cgi test"
+
+RDEPEND="dev-haskell/pandoc-types:=[profile?]
+ >=dev-haskell/parsec-3:=[profile?]
+ dev-haskell/syb:=[profile?]
+ dev-haskell/xml:=[profile?]
+ >=dev-lang/ghc-6.10.4:=
+ cgi? ( dev-haskell/cgi:=[profile?]
+ dev-haskell/json:=[profile?]
+ dev-haskell/utf8-string:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6.0.3
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag cgi cgi) \
+ $(cabal_flag test test)
+}
+
+src_install() {
+ cabal_src_install
+
+ # remove test and it's data
+ rm -f "${ED}/usr/bin/texmath" 2> /dev/null
+ rm -rf "${ED}/usr/share/${P}"/ghc-*/tests 2> /dev/null
+}
diff --git a/dev-haskell/texmath/texmath-0.6.6.3.ebuild b/dev-haskell/texmath/texmath-0.6.6.3.ebuild
new file mode 100644
index 000000000000..8f239e1a69ac
--- /dev/null
+++ b/dev-haskell/texmath/texmath-0.6.6.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.2.9999
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Conversion of LaTeX math formulas to MathML or OMML"
+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="cgi test"
+
+RDEPEND="dev-haskell/pandoc-types:=[profile?]
+ >=dev-haskell/parsec-3:=[profile?]
+ dev-haskell/syb:=[profile?]
+ dev-haskell/xml:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ cgi? ( dev-haskell/cgi:=[profile?]
+ dev-haskell/json:=[profile?]
+ dev-haskell/utf8-string:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag cgi cgi) \
+ $(cabal_flag test test)
+}
diff --git a/dev-haskell/texmath/texmath-0.8.2.2.ebuild b/dev-haskell/texmath/texmath-0.8.2.2.ebuild
new file mode 100644
index 000000000000..269f65bc2055
--- /dev/null
+++ b/dev-haskell/texmath/texmath-0.8.2.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.5.9999
+
+CABAL_FEATURES="bin 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.13:=[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 ) )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag executable executable) \
+ $(cabal_flag network-uri network-uri)
+}
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..aefb43b6cda0
--- /dev/null
+++ b/dev-haskell/texmath/texmath-0.8.6.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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)
+}
diff --git a/dev-haskell/texmath/texmath-0.8.6.7.ebuild b/dev-haskell/texmath/texmath-0.8.6.7.ebuild
new file mode 100644
index 000000000000..0775d2345d2e
--- /dev/null
+++ b/dev-haskell/texmath/texmath-0.8.6.7.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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.18:=[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}"/${PN}-0.8.6.3-build-deps.patch)
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag executable executable) \
+ $(cabal_flag network-uri network-uri)
+}
diff --git a/dev-haskell/texmath/texmath-0.9.1.ebuild b/dev-haskell/texmath/texmath-0.9.1.ebuild
new file mode 100644
index 000000000000..9a629c28bf4a
--- /dev/null
+++ b/dev-haskell/texmath/texmath-0.9.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.1.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.18:=[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 ) )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag executable executable) \
+ $(cabal_flag network-uri network-uri)
+}