mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
1d44af5898
Since the previous update changed USES=python from 3.6+ to 3.7+, all dependent ports must have USES=python:3.7+ as well, otherwise it breaks the @py36 flavor. PR: 255347 Reported by: sunpoet
31 lines
867 B
Makefile
31 lines
867 B
Makefile
PORTNAME= wwplot
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.0.8
|
|
CATEGORIES= science
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Plotting tool for experimental physics classes
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
|
|
|
BUILD_DEPENDS= ${PY_DEPENDS}
|
|
RUN_DEPENDS= ${PY_DEPENDS} \
|
|
qt5-core>0:devel/qt5-core \
|
|
qt5-declarative>0:x11-toolkits/qt5-declarative \
|
|
qt5-gui>0:x11-toolkits/qt5-gui
|
|
PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
|
|
${PYNUMPY} \
|
|
${PYTHON_PKGNAMEPREFIX}pyside2>0:devel/pyside2@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
|
|
|
|
USES= gettext meson python:3.7+ shebangfix
|
|
SHEBANG_FILES= wwplot.in
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= wwmm
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} "s|find_installation('python3',|find_installation('python${PYTHON_VER}',|" ${WRKSRC}/meson.build
|
|
|
|
.include <bsd.port.mk>
|