pkgsrc/devel/py-curses/Makefile
joerg d09da23a9e Always extract the full Python distfile for modules.
This retires an old "optimisation" that over time has created more
problems than it solved, including various questions from users about
the ignored patch failures.
2020-01-08 13:44:41 +00:00

25 lines
768 B
Makefile

# $NetBSD: Makefile,v 1.51 2020/01/08 13:44:41 joerg Exp $
PKGNAME= ${PYPKGPREFIX}-curses-${PY_DISTVERSION}
PKGREVISION= 5
CATEGORIES= devel python
MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE= https://www.python.org/doc/current/lib/module-curses.html
COMMENT= Curses module for Python
PYDISTUTILSPKG= yes
PY_PATCHPLIST= yes
# NetBSD-8 curses has enough support for py-curses
USE_CURSES= getsyx
# But we build as ncurses still to get the full feature set easily
FAKE_NCURSES= yes
PY_SETUP_SUBST= NCURSESPREFIX=${BUILDLINK_PREFIX.ncurses}
PYSETUPINSTALLARGS+= --install-lib ${PREFIX}/${PYLIB}/lib-dynload
.include "../../lang/python/extension.mk"
.include "../../lang/python/srcdist.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"