mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 23:30:29 -04:00
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
This commit is contained in:
parent
ff9b495064
commit
c71776b767
6 changed files with 15 additions and 9 deletions
|
@ -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}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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} \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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} \
|
||||
|
|
Loading…
Add table
Reference in a new issue