aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2002-01-09 20:25:54 +0800
committertg <tg@FreeBSD.org>2002-01-09 20:25:54 +0800
commit6289aae47f1512a220611acc65f02c3977ffff19 (patch)
treebdbf52305022b941909f179793b77f7a32ea4f4b /math
parent2ad18698523e3294e6338e21d075dd96e2865556 (diff)
downloadfreebsd-ports-gnome-6289aae47f1512a220611acc65f02c3977ffff19.tar.gz
freebsd-ports-gnome-6289aae47f1512a220611acc65f02c3977ffff19.tar.zst
freebsd-ports-gnome-6289aae47f1512a220611acc65f02c3977ffff19.zip
Upgrade to 20.3.
Diffstat (limited to 'math')
-rw-r--r--math/py-numeric/Makefile14
-rw-r--r--math/py-numeric/distinfo2
2 files changed, 12 insertions, 4 deletions
diff --git a/math/py-numeric/Makefile b/math/py-numeric/Makefile
index cdf6c9f405a5..11e8e0c79728 100644
--- a/math/py-numeric/Makefile
+++ b/math/py-numeric/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= numeric
-PORTVERSION= 20.2.1
+PORTVERSION= 20.3
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= numpy
@@ -18,11 +18,19 @@ MAINTAINER= tg@FreeBSD.org
BUILD_DEPENDS= ${PYDISTUTILS}
USE_PYTHON= yes
-PYTHON_VERSION= python2.1
DOCDIR= ${PREFIX}/share/doc/py-numeric
EXAMPLEDIR= ${PREFIX}/share/examples/py-numeric
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 200
+.BEGIN:
+ @${ECHO} "Py-numeric doesn't work with Python versions < 2.0."
+ @${ECHO} "Please use the py-numeric17 port for these."
+ @${FALSE}
+.endif
+
do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup_all.py build
@@ -40,4 +48,4 @@ post-install:
# ${INSTALL_DATA} ${WRKSRC}/Doc/numpy.pdf ${DOCDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/math/py-numeric/distinfo b/math/py-numeric/distinfo
index 9e7f5eaf9c5f..7ba0d939b642 100644
--- a/math/py-numeric/distinfo
+++ b/math/py-numeric/distinfo
@@ -1 +1 @@
-MD5 (Numeric-20.2.1.tar.gz) = 448ee134201648c7bddcfa4a2331e0ef
+MD5 (Numeric-20.3.tar.gz) = 99c832837d203ca8492343ff2a072e42