summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-08-30 10:04:07 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-08-30 10:08:45 +0100
commitcae84f0ee9a08c77c4e2f2a8d79111cca05b57be (patch)
tree022e1e3dc4436ca6f738c29024d3ba936c5db826 /dev-haskell
parentapp-i18n/ibus-libpinyin: update maintainer e-mail (diff)
downloadgentoo-cae84f0ee9a08c77c4e2f2a8d79111cca05b57be.tar.gz
gentoo-cae84f0ee9a08c77c4e2f2a8d79111cca05b57be.tar.bz2
gentoo-cae84f0ee9a08c77c4e2f2a8d79111cca05b57be.zip
dev-haskell/lhs2tex: bump up to 1.24
Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/736102 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/lhs2tex/Manifest1
-rw-r--r--dev-haskell/lhs2tex/files/lhs2tex-1.18.1-mandir.patch4
-rw-r--r--dev-haskell/lhs2tex/lhs2tex-1.24.ebuild35
3 files changed, 38 insertions, 2 deletions
diff --git a/dev-haskell/lhs2tex/Manifest b/dev-haskell/lhs2tex/Manifest
index 4a5d8679c9a7..396c313e0d3f 100644
--- a/dev-haskell/lhs2tex/Manifest
+++ b/dev-haskell/lhs2tex/Manifest
@@ -1,2 +1,3 @@
DIST lhs2tex-1.18.1.tar.gz 661053 BLAKE2B 64dbefde30d3a6a00c47d5b3397b6f7b4cb44bdf272768ed84f66db1d3e99e95df99f16e537d3959ef0566424151a44fdd70e975ac156abd2a5907bed8044520 SHA512 c44b4c5972b833ae41921d86e13c71ea60ac876a9996fb9a4e8d69ba25d000bbddb85f82d223b8a73381e3a4453c2757154a866fbbb48473f121dd88efb917d7
DIST lhs2tex-1.19.tar.gz 658353 BLAKE2B 2a6d0ca1bc23fce29579d1f020ad9db178801177d1b0c171771d24470bf604359b85f5afab6aacc6a566fecca1d0edd26ddb01d97d8e9bc3c8bc98e042d47690 SHA512 63d4cb626c14dccc6e0989b358299078427d0c22ab726fd3d933bfef3b0d072a35113d132c87b61b7b8ac2c259c856e192d04e04d3eb744b958fc0df54c80abf
+DIST lhs2tex-1.24.tar.gz 775885 BLAKE2B 106d2677655f4e36412083b98051eb33d1912039e0db91556b12b442d95dc7e8d4b1167d45606a8ac69b0b32a4457d86a871b0a5032d8e758fefa3536af28b0d SHA512 1491368ba8d34c42d32ad4f77b6a803e8a3b885d336e4bd718f2398aaebc59fa2692e667a6c6a99b6e8839e4f627892c128f1feaf8557313ed144619f21c1876
diff --git a/dev-haskell/lhs2tex/files/lhs2tex-1.18.1-mandir.patch b/dev-haskell/lhs2tex/files/lhs2tex-1.18.1-mandir.patch
index 1a3c922723e1..285fbd7d23fe 100644
--- a/dev-haskell/lhs2tex/files/lhs2tex-1.18.1-mandir.patch
+++ b/dev-haskell/lhs2tex/files/lhs2tex-1.18.1-mandir.patch
@@ -1,5 +1,5 @@
---- Setup.hs.orig 2014-11-03 00:57:44.033467328 +0530
-+++ Setup.hs 2014-11-03 00:58:05.775218672 +0530
+--- a/Setup.hs.orig 2014-11-03 00:57:44.033467328 +0530
++++ b/Setup.hs 2014-11-03 00:58:05.775218672 +0530
@@ -205,7 +205,7 @@
else docdir (absoluteInstallDirs pd lbi cd) `joinFileName` "doc"
let manDir = if isWindows
diff --git a/dev-haskell/lhs2tex/lhs2tex-1.24.ebuild b/dev-haskell/lhs2tex/lhs2tex-1.24.ebuild
new file mode 100644
index 000000000000..969c65b57289
--- /dev/null
+++ b/dev-haskell/lhs2tex/lhs2tex-1.24.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.4.9999
+
+CABAL_FEATURES=""
+inherit haskell-cabal
+
+DESCRIPTION="Preprocessor for typesetting Haskell sources with LaTeX"
+HOMEPAGE="https://github.com/kosmikus/lhs2tex"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# dev-texlive/texlive-mathscience contains 'stmaryrd' font used
+# for guide generation. dev-texlive/texlive-latexextra provides polytable
+RDEPEND=">=dev-haskell/mtl-2.2.1:=
+ dev-haskell/regex-compat:=
+ >=dev-lang/ghc-7.4.1:=
+ dev-texlive/texlive-mathscience:=
+ dev-texlive/texlive-latexextra:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.10
+"
+
+# datadir is /usr/share/${PN}/${GHC_VER} so mandir is ${DATADIR}/../../man
+PATCHES=(
+ "${FILESDIR}/${PN}-1.18.1-mandir.patch"
+)