summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2020-08-31 23:07:00 +0000
committerwiz <wiz@pkgsrc.org>2020-08-31 23:07:00 +0000
commit1342ea5d4e9f75a100fcde155396a6b634d2db7a (patch)
tree95091f0e1c112f56d844f0d6a7a55d9882abee3e /x11
parent7558ec01e87a54e7540aa0ca86781793741ee6a7 (diff)
downloadpkgsrc-1342ea5d4e9f75a100fcde155396a6b634d2db7a.tar.gz
*: switch to versioned_dependencies.mk for py-setuptools
Diffstat (limited to 'x11')
-rw-r--r--x11/kitty/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/x11/kitty/Makefile b/x11/kitty/Makefile
index ee7704dfd9c..719bb4de59f 100644
--- a/x11/kitty/Makefile
+++ b/x11/kitty/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2020/08/17 20:20:28 leot Exp $
+# $NetBSD: Makefile,v 1.19 2020/08/31 23:07:07 wiz Exp $
DISTNAME= kitty-0.16.0
PKGREVISION= 3
@@ -24,7 +24,7 @@ BUILDLINK_TRANSFORM+= rm:-flto
# comes with ncurses.
USE_NCURSES= yes
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+PYTHON_VERSIONED_DEPENDENCIES+= setuptools:tool
SUBST_CLASSES+= python
SUBST_STAGE.python= pre-build
@@ -35,7 +35,7 @@ SUBST_SED.python+= -e "s,sphinx-build,sphinx-build-${PYVERSSUFFIX},g"
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
PYTHON_VERSIONS_INCOMPATIBLE= 27
-PYTHON_VERSIONED_DEPENDENCIES= sphinx:tool
+PYTHON_VERSIONED_DEPENDENCIES+= sphinx:tool
do-build:
cd ${WRKSRC} && ${MAKE_ENV} ${PYTHONBIN} setup.py linux-package
@@ -75,4 +75,5 @@ do-install:
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q}
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"