ghc: build documentation with python3-Sphinx

[skip ci]
This commit is contained in:
Doan Tran Cong Danh 2019-11-17 21:26:57 +07:00 committed by Juan RP
parent a8dd869de0
commit 2117ea109f

View file

@ -4,18 +4,18 @@ pkgname=ghc
version=8.6.5
revision=1
wrksrc="ghc-${version%[!0-9]}"
patch_args="-Np1"
build_style=gnu-configure
configure_args="--with-system-libffi"
hostmakedepends="automake docbook-xsl ghc-bin libxslt python-Sphinx"
hostmakedepends="automake docbook-xsl ghc-bin libxslt python3-Sphinx"
makedepends="gmp-devel libffi-devel libnuma-devel ncurses-devel"
depends="perl gcc libffi-devel gmp-devel libnuma-devel"
short_desc="Glorious Haskell Compiler"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD"
license="BSD-3-Clause"
homepage="http://www.haskell.org/ghc/"
distfiles="http://www.haskell.org/ghc/dist/${version%[!0-9]}/${pkgname}-${version%[!0-9]}-src.tar.xz"
checksum=4d4aa1e96f4001b934ac6193ab09af5d6172f41f5a5d39d8e43393b9aafee361
patch_args="-Np1"
nocross=yes # ask leah2 before wasting time trying to do that
_bindir="/usr/lib/${pkgname}-${version}/bin"
nopie_files="
@ -58,4 +58,3 @@ ghc-doc_package() {
vmove usr/share/doc
}
}