e244910e9e
pkgsrc changes: --------------- * Add PYTHON_VERSIONS_ACCEPTED until 37 since the tp_print field of PyTypeObject is no longer named like that from Python 3.8 (https://docs.python.org/3/c-api/typeobj.html#c.PyTypeObject.tp_vectorcall_offset)
42 lines
1.3 KiB
Makefile
42 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.60 2021/05/15 12:10:22 triaxx Exp $
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
|
|
PKGREVISION= 3
|
|
|
|
PYTHON_VERSIONED_DEPENDENCIES+= cairo
|
|
|
|
PYTHON_VERSIONS_ACCEPTED= 37 36 27
|
|
|
|
.include "Makefile.common"
|
|
|
|
SUBST_CLASSES+= codegen
|
|
SUBST_STAGE.codegen= pre-configure
|
|
SUBST_FILES.codegen= dsextras.py
|
|
SUBST_SED.codegen= -e "s|@PYGTKCODEGEN@|${PREFIX}/share/pygobject/2.0|"
|
|
|
|
REPLACE_PYTHON+= codegen/code-coverage.py
|
|
REPLACE_PYTHON+= codegen/codegen.py
|
|
REPLACE_PYTHON+= codegen/createdefs.py
|
|
REPLACE_PYTHON+= codegen/defsconvert.py
|
|
REPLACE_PYTHON+= codegen/defsgen.py
|
|
REPLACE_PYTHON+= codegen/docextract_to_xml.py
|
|
REPLACE_PYTHON+= codegen/docgen.py
|
|
REPLACE_PYTHON+= codegen/h2def.py
|
|
REPLACE_PYTHON+= codegen/mergedefs.py
|
|
REPLACE_PYTHON+= codegen/missingdefs.py
|
|
REPLACE_PYTHON+= codegen/mkskel.py
|
|
REPLACE_PYTHON+= codegen/scanvirtuals.py
|
|
REPLACE_PYTHON+= codegen/scmexpr.py
|
|
REPLACE_PYTHON+= docs/xsl/fixxref.py.in
|
|
|
|
PYTHON_SELF_CONFLICT= yes
|
|
|
|
BUILDLINK_API_DEPENDS.py-gobject-shared+= py-gobject-shared>=${PKGVERSION_NOREV}
|
|
|
|
CONFIGURE_ARGS+= --disable-introspection
|
|
|
|
.include "../../devel/py-gobject-shared/buildlink3.mk"
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../lang/python/versioned_dependencies.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|