py-gdbm: disable for Python 3.12

gdbm will not be a default dependency of the batteries-included Python
packages. Until srcdist.mk gets support for 3.12, there is no py-gdbm
package for Python 3.12.
This commit is contained in:
wiz 2023-10-22 11:37:52 +00:00
parent 9c7f7620ba
commit 14e14589aa
2 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.43 2022/09/17 05:39:25 jdolecek Exp $
# $NetBSD: Makefile,v 1.44 2023/10/22 11:37:52 wiz Exp $
PKGNAME= ${PYPKGPREFIX}-gdbm-${PY_DISTVERSION}
PKGREVISION= 1
@ -8,6 +8,9 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://docs.python.org/3/library/dbm.html#module-dbm.gnu
COMMENT= Python interface to gdbm - GNU database manager
# srcdist.mk needs to be adapted for distutils removal in 3.12
PYTHON_VERSIONS_ACCEPTED= 311 310 39 38 27
.include "../../lang/python/pyversion.mk"
.if !empty(PYPKGPREFIX:Mpy2?)
GDBM_MODNAME= gdbm

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2023/10/21 17:11:13 gdt Exp $
# $NetBSD: Makefile,v 1.10 2023/10/22 11:37:52 wiz Exp $
DISTNAME= nicotine-plus-2.2.2
MASTER_SITES= ${MASTER_SITE_PYPI:=n/nicotine-plus/}
@ -18,7 +18,7 @@ SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths+= setup.py
SUBST_SED.paths+= -e "s,share/man/man1,${PKGMANDIR}/man1,g"
PYTHON_VERSIONS_INCOMPATIBLE= 27
PYTHON_VERSIONS_ACCEPTED= 311 310 39 38
.include "../../lang/python/egg.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"