Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-pybind11 py-pybind11: more flexible buildlink...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3e78809e789d
branches:  trunk
changeset: 430494:3e78809e789d
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri May 01 07:54:38 2020 +0000

description:
py-pybind11: more flexible buildlink3.mk

diffstat:

 devel/py-pybind11/buildlink3.mk |  19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

diffs (27 lines):

diff -r 00bf25c16b74 -r 3e78809e789d devel/py-pybind11/buildlink3.mk
--- a/devel/py-pybind11/buildlink3.mk   Fri May 01 07:10:19 2020 +0000
+++ b/devel/py-pybind11/buildlink3.mk   Fri May 01 07:54:38 2020 +0000
@@ -1,13 +1,14 @@
-# $NetBSD: buildlink3.mk,v 1.1 2020/04/28 09:42:48 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2020/05/01 07:54:38 adam Exp $
 
-BUILDLINK_TREE+=       py38-pybind11
+BUILDLINK_TREE+=       py-pybind11
 
-.if !defined(PY38_PYBIND11_BUILDLINK3_MK)
-PY38_PYBIND11_BUILDLINK3_MK:=
+.if !defined(PY_PYBIND11_BUILDLINK3_MK)
+PY_PYBIND11_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.py38-pybind11+=  py38-pybind11>=2.5.0
-BUILDLINK_PKGSRCDIR.py38-pybind11?=    ../../devel/py-pybind11
-BUILDLINK_DEPMETHOD.py38-pybind11?=    build
-.endif # PY38_PYBIND11_BUILDLINK3_MK
+.include "../../lang/python/pyversion.mk"
+BUILDLINK_API_DEPENDS.py-pybind11+=    ${PYPKGPREFIX}-pybind11>=2.5.0
+BUILDLINK_PKGSRCDIR.py-pybind11?=      ../../devel/py-pybind11
+BUILDLINK_DEPMETHOD.py-pybind11?=      build
+.endif # PY_PYBIND11_BUILDLINK3_MK
 
-BUILDLINK_TREE+=       -py38-pybind11
+BUILDLINK_TREE+=       -py-pybind11



Home | Main Index | Thread Index | Old Index