textproc/py-sphinx: Fix fallout due to TeX Live 2020 update.

This commit is contained in:
edd 2020-08-18 18:55:21 +00:00
parent b5df22e015
commit 15b5926df7
2 changed files with 8 additions and 4 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.27 2020/07/03 21:13:16 sthen Exp $
# $OpenBSD: Makefile,v 1.28 2020/08/18 18:55:21 edd Exp $
COMMENT = python documentation generator
MODPY_EGG_VERSION = 1.4.8
DISTNAME = Sphinx-${MODPY_EGG_VERSION}
PKGNAME = py-sphinx-${MODPY_EGG_VERSION}
REVISION = 3
REVISION = 4
CATEGORIES = textproc
@ -43,6 +43,11 @@ post-build:
DOCS = ${PREFIX}/share/doc/${MODPY_PY_PREFIX}sphinx
pre-build:
# Bundles an old and incompatible version of iftex.sty that overrides
# the one in TeX Live. Kill it.
rm ${WRKSRC}/sphinx/texinputs/iftex.sty
post-install:
${INSTALL_DATA_DIR} ${DOCS}
cd ${WRKSRC}/doc/_build/html && pax -rw * ${DOCS}

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.7 2016/11/06 06:54:57 shadchin Exp $
@comment $OpenBSD: PLIST,v 1.8 2020/08/18 18:55:21 edd Exp $
bin/sphinx-apidoc${MODPY_BIN_SUFFIX}
bin/sphinx-autogen${MODPY_BIN_SUFFIX}
bin/sphinx-build${MODPY_BIN_SUFFIX}
@ -479,7 +479,6 @@ lib/python${MODPY_VERSION}/site-packages/sphinx/setup_command.py
lib/python${MODPY_VERSION}/site-packages/sphinx/texinputs/
lib/python${MODPY_VERSION}/site-packages/sphinx/texinputs/Makefile
lib/python${MODPY_VERSION}/site-packages/sphinx/texinputs/fncychap.sty
lib/python${MODPY_VERSION}/site-packages/sphinx/texinputs/iftex.sty
lib/python${MODPY_VERSION}/site-packages/sphinx/texinputs/needspace.sty
lib/python${MODPY_VERSION}/site-packages/sphinx/texinputs/newfloat.sty
lib/python${MODPY_VERSION}/site-packages/sphinx/texinputs/python.ist