[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / databases / py-sqlrelay

File: [cvs.NetBSD.org] / pkgsrc / databases / py-sqlrelay / Makefile (download)

Revision 1.34, Tue Jun 28 11:31:37 2022 UTC (17 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3
Changes since 1.33: +2 -2 lines

*: recursive bump for perl 5.36

# $NetBSD: Makefile,v 1.34 2022/06/28 11:31:37 wiz Exp $

PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
PKGREVISION=	5
COMMENT=	Python extension for SQL Relay

.include "../../databases/sqlrelay/Makefile.common"

LICENSE=	modified-bsd

# TODO: switch to PYTHON_VERSIONS_INCOMPATIBLE
#PYTHON_VERSIONS_ACCEPTED=	37 27 # 37 fails as of 1.0.0

.include "../../lang/python/pyversion.mk"

CONFIGURE_ARGS+=	--disable-perl

#.if ${_PYTHON_VERSION} == 27
#CONFIGURE_ARGS+=	--disable-python3
#.else
#CONFIGURE_ARGS+=	--disable-python
#.endif
CONFIGURE_ARGS+=	--with-python-prefix=${PREFIX}
CONFIGURE_ENV+=		PYVERSSUFFIX=${PYVERSSUFFIX}

BUILD_DIRS=		src/api/python

PY_PATCHPLIST=		yes

.include "../../databases/sqlrelay/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"