git: c71776b7673d - main - astro/py-spktype01 et al.: fix the dependency on PYNUMPY
Thierry Thomas
thierry at FreeBSD.org
Wed Apr 7 15:06:34 UTC 2021
The branch main has been updated by thierry:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c71776b7673dd9fcbc84a187f2c76ab813f939f5
commit c71776b7673dd9fcbc84a187f2c76ab813f939f5
Author: Thierry Thomas <thierry at FreeBSD.org>
AuthorDate: 2021-04-07 14:25:15 +0000
Commit: Thierry Thomas <thierry at FreeBSD.org>
CommitDate: 2021-04-07 15:05:55 +0000
astro/py-spktype01 et al.: fix the dependency on PYNUMPY
Some ports, like astro/py-spktype01, uses the undefined variable ${NUMPY}
in their _DEPENDS fields and this must be replaced by the correct
${PYNUMPY}.
PR: 254740
Reported by: Bojan Petrovic
Approved by: QA blanket for the ports that I do not maintain
---
astro/py-jplephem/Makefile | 5 +++--
astro/py-spktype01/Makefile | 5 +++--
astro/py-spktype21/Makefile | 5 +++--
math/py-seaborn/Makefile | 3 ++-
science/py-PyFR/Makefile | 3 ++-
science/py-chempy/Makefile | 3 ++-
6 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/astro/py-jplephem/Makefile b/astro/py-jplephem/Makefile
index 1793a559a74c..1ecfc593a17b 100644
--- a/astro/py-jplephem/Makefile
+++ b/astro/py-jplephem/Makefile
@@ -3,6 +3,7 @@
PORTNAME= jplephem
PORTVERSION= 2.15
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= astro python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +12,8 @@ COMMENT= Python version of NASA DE4xx ephemerides
LICENSE= MIT
-BUILD_DEPENDS= ${NUMPY}
-RUN_DEPENDS= ${NUMPY}
+BUILD_DEPENDS= ${PYNUMPY}
+RUN_DEPENDS= ${PYNUMPY}
TEST_DEPENDS= bash:shells/bash \
${PYTHON_PKGNAMEPREFIX}unittest2>0:devel/py-unittest2@${PY_FLAVOR}
diff --git a/astro/py-spktype01/Makefile b/astro/py-spktype01/Makefile
index 37242cfca00f..da47c3ddd62d 100644
--- a/astro/py-spktype01/Makefile
+++ b/astro/py-spktype01/Makefile
@@ -2,6 +2,7 @@
PORTNAME= spktype01
PORTVERSION= 1.0.0
+PORTREVISION= 1
CATEGORIES= astro python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -10,8 +11,8 @@ COMMENT= Supporting module for jplephem to handle data type 1
LICENSE= MIT
-BUILD_DEPENDS= ${NUMPY}
-RUN_DEPENDS= ${NUMPY} \
+BUILD_DEPENDS= ${PYNUMPY}
+RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}jplephem>0:astro/py-jplephem@${PY_FLAVOR}
USE_GITHUB= yes
diff --git a/astro/py-spktype21/Makefile b/astro/py-spktype21/Makefile
index 5a9174ded8c1..0d7d729f5ea9 100644
--- a/astro/py-spktype21/Makefile
+++ b/astro/py-spktype21/Makefile
@@ -2,6 +2,7 @@
PORTNAME= spktype21
PORTVERSION= 0.1.0
+PORTREVISION= 1
CATEGORIES= astro python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -10,8 +11,8 @@ COMMENT= Supporting module for jplephem to handle data type 21
LICENSE= MIT
-BUILD_DEPENDS= ${NUMPY}
-RUN_DEPENDS= ${NUMPY} \
+BUILD_DEPENDS= ${PYNUMPY}
+RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}jplephem>0:astro/py-jplephem@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}spktype01>0:astro/py-spktype01@${PY_FLAVOR} \
py.test:devel/py-pytest@${PY_FLAVOR}
diff --git a/math/py-seaborn/Makefile b/math/py-seaborn/Makefile
index e6e9e4abad1c..f2a7398cc2cc 100644
--- a/math/py-seaborn/Makefile
+++ b/math/py-seaborn/Makefile
@@ -1,5 +1,6 @@
PORTNAME= seaborn
PORTVERSION= 0.11.0
+PORTREVISION= 1
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,7 +12,7 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
- ${NUMPY} \
+ ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}patsy>0:math/py-patsy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
diff --git a/science/py-PyFR/Makefile b/science/py-PyFR/Makefile
index 6c3951d78399..de7928e34d91 100644
--- a/science/py-PyFR/Makefile
+++ b/science/py-PyFR/Makefile
@@ -1,5 +1,6 @@
PORTNAME= PyFR
DISTVERSION= 1.10.0
+PORTREVISION= 1
CATEGORIES= science python
MASTER_SITES= http://www.pyfr.org/download/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,7 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>=1.4.0:devel/py-appdirs@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}mako>=1.0.0:textproc/py-mako@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mpi4py>=2.0:net/py-mpi4py@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytools>=2016.2.1:devel/py-pytools@${PY_FLAVOR} \
- ${NUMPY}
+ ${PYNUMPY}
USES= python:3.3+ shebangfix zip
SHEBANG_FILES= setup.py pyfr/__main__.py
diff --git a/science/py-chempy/Makefile b/science/py-chempy/Makefile
index 38283f3c028f..34befbaa797c 100644
--- a/science/py-chempy/Makefile
+++ b/science/py-chempy/Makefile
@@ -1,5 +1,6 @@
PORTNAME= chempy
DISTVERSION= 0.8.1
+PORTREVISION= 1
CATEGORIES= science python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -21,7 +22,7 @@ PY_DEPENDS= \
${PYTHON_PKGNAMEPREFIX}scipy>=1.0.1:science/py-scipy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sym>=0.3.4:math/py-sym@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sympy>=1.1.1:math/py-sympy@${PY_FLAVOR} \
- ${NUMPY}
+ ${PYNUMPY}
BUILD_DEPENDS= ${PY_DEPENDS}
RUN_DEPENDS= ${PY_DEPENDS}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
More information about the dev-commits-ports-all
mailing list