dev-haskell/texmath: add 0.12.8.3

Signed-off-by: hololeap <hololeap@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
hololeap
2023-10-02 23:05:03 -06:00
committed by Sam James
parent ea09b8b046
commit 515290ea28
3 changed files with 54 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST texmath-0.12.5.1.tar.gz 1606982 BLAKE2B a58e033176a6a9ba136590b8403d577c24c84cab983a6ee53ba2ae4564c05b681a31859aa066a3cb5aa3b18b07eaee9266964018abc8c30cc9288df15160d8f4 SHA512 77f3b008b82a8a1946108f8bb948d5d43121bffe2b2e22220cc8eb404884fa4c960bff07d7c8a5c75d5cce53d4039a8e6edd190fc69f5ad4da5b41212751f897
DIST texmath-0.12.8.3.tar.gz 1480545 BLAKE2B 2a33a82f70b73aebae27c694b9d8e942f3c8ff8a5e0f2ad03ca8d71d2b346ae302c628441174922fca092ebadce8963a4dfdb35b2369fa168ca9eb13e34774bf SHA512 f90639a65a768245323a5b98e8ab3408f7d00bddfc3a1a66ce4cbedd25a7f8cf3555cae6912d60d00784887839f61562072912e3e2143553d377bee09176dace

View File

@@ -10,6 +10,7 @@
<flag name="server">Compile webserver.</flag>
</use>
<upstream>
<remote-id type="hackage">texmath</remote-id>
<remote-id type="github">jgm/texmath</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,52 @@
# 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
#hackport: flags: +network-uri
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="Conversion between math formats"
HOMEPAGE="https://github.com/jgm/texmath"
LICENSE="GPL-2"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
IUSE="executable server"
RDEPEND=">=dev-haskell/pandoc-types-1.20:=[profile?] <dev-haskell/pandoc-types-1.24:=[profile?]
>=dev-haskell/parsec-3:=[profile?]
dev-haskell/split:=[profile?]
>=dev-haskell/syb-0.4.2:=[profile?] <dev-haskell/syb-0.8:=[profile?]
dev-haskell/text:=[profile?]
>=dev-haskell/typst-symbols-0.1.4:=[profile?] <dev-haskell/typst-symbols-0.1.5:=[profile?]
dev-haskell/xml:=[profile?]
>=dev-lang/ghc-8.10.6:=
executable? ( dev-haskell/aeson:=[profile?]
>=dev-haskell/network-uri-2.6:=[profile?]
dev-haskell/pretty-show:=[profile?] )
!executable? ( server? ( dev-haskell/aeson:=[profile?] ) )
server? ( dev-haskell/optparse-applicative:=[profile?]
dev-haskell/safe:=[profile?]
dev-haskell/servant-server:=[profile?]
dev-haskell/wai:=[profile?]
dev-haskell/wai-logger:=[profile?]
dev-haskell/warp:=[profile?] )
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-3.2.1.0
test? ( dev-haskell/tagged
dev-haskell/tasty
dev-haskell/tasty-golden
!executable? ( dev-haskell/pretty-show ) )
"
src_configure() {
haskell-cabal_src_configure \
$(cabal_flag executable executable) \
--flag=network-uri \
$(cabal_flag server server)
}