summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-08-13 08:57:14 +0000
committerrecht <recht@pkgsrc.org>2004-08-13 08:57:14 +0000
commit16152f843857a9d77079f78ec4e300bd2724fb93 (patch)
treeff11a6e03d53e3f767a0b172d65f04794a1cb4d5
parentd29dec38a533952c93150ff5728e82bb1a14ef34 (diff)
downloadpkgsrc-16152f843857a9d77079f78ec4e300bd2724fb93.tar.gz
Add/use buildlink3.mk files.
-rw-r--r--math/py-fpconst/buildlink3.mk20
-rw-r--r--net/py-google/Makefile5
-rw-r--r--net/py-soappy/Makefile5
-rw-r--r--net/py-soappy/buildlink3.mk22
4 files changed, 46 insertions, 6 deletions
diff --git a/math/py-fpconst/buildlink3.mk b/math/py-fpconst/buildlink3.mk
new file mode 100644
index 00000000000..1bdfe7f8206
--- /dev/null
+++ b/math/py-fpconst/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/08/13 08:57:14 recht Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PY_FPCONST_BUILDLINK3_MK:= ${PY_FPCONST_BUILDLINK3_MK}+
+
+.include "../../lang/python/pyversion.mk"
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= py-fpconst
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-fpconst}
+BUILDLINK_PACKAGES+= py-fpconst
+
+.if !empty(PY_FPCONST_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.py-fpconst+= ${PYPKGPREFIX}-fpconst>=0.7.0
+BUILDLINK_PKGSRCDIR.py-fpconst?= ../../math/py-fpconst
+.endif # PY_FPCONST_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/net/py-google/Makefile b/net/py-google/Makefile
index 825fd238faa..238763e19cd 100644
--- a/net/py-google/Makefile
+++ b/net/py-google/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2004/07/22 09:16:03 recht Exp $
+# $NetBSD: Makefile,v 1.18 2004/08/13 08:57:14 recht Exp $
#
DISTNAME= pygoogle-0.6
@@ -11,10 +11,9 @@ MAINTAINER= drochner@NetBSD.org
HOMEPAGE= http://pygoogle.sourceforge.net/
COMMENT= Call the Google web API from Python
-DEPENDS= ${PYPKGPREFIX}-SOAPpy>=0.11.1:../../net/py-soappy
-
PYDISTUTILSPKG= yes
USE_BUILDLINK3= yes
.include "../../lang/python/extension.mk"
+.include "../../net/py-soappy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/py-soappy/Makefile b/net/py-soappy/Makefile
index 0ec3a901386..7a454513900 100644
--- a/net/py-soappy/Makefile
+++ b/net/py-soappy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2004/07/22 09:16:03 recht Exp $
+# $NetBSD: Makefile,v 1.16 2004/08/13 08:57:14 recht Exp $
#
DISTNAME= SOAPpy-0.11.4
@@ -11,8 +11,6 @@ MAINTAINER= recht@NetBSD.org
HOMEPAGE= http://pywebsvcs.sourceforge.net/
COMMENT= SOAP implementation
-DEPENDS= ${PYPKGPREFIX}-fpconst>=0.6.0:../../math/py-fpconst
-
USE_BUILDLINK3= YES
PYDISTUTILSPKG= YES
PY_PATCHPLIST= YES
@@ -20,5 +18,6 @@ PY_PATCHPLIST= YES
PYTHON_VERSIONS_ACCEPTED= 23pth 22pth 21pth
.include "../../lang/python/extension.mk"
+.include "../../math/py-fpconst/buildlink3.mk"
.include "../../textproc/py-xml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/py-soappy/buildlink3.mk b/net/py-soappy/buildlink3.mk
new file mode 100644
index 00000000000..f7117c9fd74
--- /dev/null
+++ b/net/py-soappy/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/08/13 08:57:14 recht Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PY_SOAPPY_BUILDLINK3_MK:= ${PY_SOAPPY_BUILDLINK3_MK}+
+
+.include "../../lang/python/pyversion.mk"
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= py-SOAPpy
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-SOAPpy}
+BUILDLINK_PACKAGES+= py-SOAPpy
+
+.if !empty(PY_SOAPPY_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.py-SOAPpy+= ${PYPKGPREFIX}-SOAPpy>=0.11.4
+BUILDLINK_PKGSRCDIR.py-SOAPpy?= ../../net/py-soappy
+.endif # PY_SOAPPY_BUILDLINK3_MK
+
+.include "../../textproc/py-xml/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}