Sun Jul 10 19:26:18 2022 UTC ()
xmlada: switch to py-sphinx

Also switch to python3. A comment claims this is not supported
and this might be true, but I can't test, since this does not build for me.

If this breaks the package, please take a look at fixing wip/xmlada


(wiz)
diff -r1.26 -r1.27 pkgsrc/textproc/xmlada/Makefile

cvs diff -r1.26 -r1.27 pkgsrc/textproc/xmlada/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/xmlada/Attic/Makefile 2022/06/30 11:18:55 1.26
+++ pkgsrc/textproc/xmlada/Attic/Makefile 2022/07/10 19:26:17 1.27
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.26 2022/06/30 11:18:55 nia Exp $ 1# $NetBSD: Makefile,v 1.27 2022/07/10 19:26:17 wiz Exp $
2 2
3DISTNAME= xmlada-${XMLADA_VERS} 3DISTNAME= xmlada-${XMLADA_VERS}
4PKGREVISION= 6 4PKGREVISION= 6
5CATEGORIES= textproc 5CATEGORIES= textproc
6MASTER_SITES= http://downloads.dragonlace.net/src/ 6MASTER_SITES= http://downloads.dragonlace.net/src/
7EXTRACT_SUFX= .tar.bz2 7EXTRACT_SUFX= .tar.bz2
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://libre.adacore.com/libre/tools/xmlada/ 10HOMEPAGE= http://libre.adacore.com/libre/tools/xmlada/
11COMMENT= Adacore XML suite for the Ada language 11COMMENT= Adacore XML suite for the Ada language
12LICENSE= gnu-gpl-v3 12LICENSE= gnu-gpl-v3
13 13
14XMLADA_VERS= 4.4.0.0 14XMLADA_VERS= 4.4.0.0
@@ -30,28 +30,30 @@ SUBST_FILES.rpath= sax/sax.gpr @@ -30,28 +30,30 @@ SUBST_FILES.rpath= sax/sax.gpr
30SUBST_FILES.rpath+= dom/dom.gpr 30SUBST_FILES.rpath+= dom/dom.gpr
31SUBST_FILES.rpath+= input_sources/input_sources.gpr 31SUBST_FILES.rpath+= input_sources/input_sources.gpr
32SUBST_FILES.rpath+= schema/schema.gpr 32SUBST_FILES.rpath+= schema/schema.gpr
33SUBST_SED.rpath= -e "s,@ADDITIONAL_RPATH@,${PREFIX}/lib," 33SUBST_SED.rpath= -e "s,@ADDITIONAL_RPATH@,${PREFIX}/lib,"
34 34
35SUBST_STAGE.docs= pre-configure 35SUBST_STAGE.docs= pre-configure
36SUBST_MESSAGE.docs= Set build xmlada documentation option 36SUBST_MESSAGE.docs= Set build xmlada documentation option
37SUBST_FILES.docs= Makefile.in 37SUBST_FILES.docs= Makefile.in
38SUBST_SED.docs= -e 's/^all: \(.*\)/all: \1 docs/g' 38SUBST_SED.docs= -e 's/^all: \(.*\)/all: \1 docs/g'
39 39
40MAKE_ENV+= SPHINXBUILD=${PREFIX}/bin/sphinx-build-${PYVERSSUFFIX} 40MAKE_ENV+= SPHINXBUILD=${PREFIX}/bin/sphinx-build-${PYVERSSUFFIX}
41 41
42DESTSTATIC= ${DESTDIR}${PREFIX}/lib/xmlada/static 42DESTSTATIC= ${DESTDIR}${PREFIX}/lib/xmlada/static
43DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx1 43DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
44PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 4.4.0.0 44# python 2.x support removed from py-sphinx
 45PYTHON_VERSIONS_INCOMPATIBLE= 27
 46#PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 4.4.0.0
45 47
46post-install: 48post-install:
47 # There is no reason to install sphinx source files 49 # There is no reason to install sphinx source files
48 ${RM} -rf ${DESTDIR}${PREFIX}/share/doc/xmlada/_sources 50 ${RM} -rf ${DESTDIR}${PREFIX}/share/doc/xmlada/_sources
49 # Fix static library permissions 51 # Fix static library permissions
50 ${CHMOD} a-x ${DESTSTATIC}/libxmlada_dom.a \ 52 ${CHMOD} a-x ${DESTSTATIC}/libxmlada_dom.a \
51 ${DESTSTATIC}/libxmlada_input_sources.a \ 53 ${DESTSTATIC}/libxmlada_input_sources.a \
52 ${DESTSTATIC}/libxmlada_sax.a \ 54 ${DESTSTATIC}/libxmlada_sax.a \
53 ${DESTSTATIC}/libxmlada_schema.a \ 55 ${DESTSTATIC}/libxmlada_schema.a \
54 ${DESTSTATIC}/libxmlada_unicode.a 56 ${DESTSTATIC}/libxmlada_unicode.a
55 57
56.include "../../lang/python/pyversion.mk" 58.include "../../lang/python/pyversion.mk"
57.include "../../mk/bsd.pkg.mk" 59.include "../../mk/bsd.pkg.mk"