svn commit: r507005 - in head/science: . wwplot
Yuri Victorovich
yuri at FreeBSD.org
Sat Jul 20 16:51:15 UTC 2019
Author: yuri
Date: Sat Jul 20 16:51:13 2019
New Revision: 507005
URL: https://svnweb.freebsd.org/changeset/ports/507005
Log:
New port: science/wwplot: Plotting tool for experimental physics classes
Added:
head/science/wwplot/
head/science/wwplot/Makefile (contents, props changed)
head/science/wwplot/distinfo (contents, props changed)
head/science/wwplot/pkg-descr (contents, props changed)
head/science/wwplot/pkg-plist (contents, props changed)
Modified:
head/science/Makefile
Modified: head/science/Makefile
==============================================================================
--- head/science/Makefile Sat Jul 20 16:34:04 2019 (r507004)
+++ head/science/Makefile Sat Jul 20 16:51:13 2019 (r507005)
@@ -326,6 +326,7 @@
SUBDIR += voro++
SUBDIR += wannier90
SUBDIR += wxmacmolplt
+ SUBDIR += wwplot
SUBDIR += xcrysden
SUBDIR += xdrawchem
SUBDIR += xfce4-equake-plugin
Added: head/science/wwplot/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/science/wwplot/Makefile Sat Jul 20 16:51:13 2019 (r507005)
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME= wwplot
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.0.4
+CATEGORIES= science
+
+MAINTAINER= yuri at 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.6+ 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>
Added: head/science/wwplot/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/science/wwplot/distinfo Sat Jul 20 16:51:13 2019 (r507005)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1563607517
+SHA256 (wwmm-wwplot-v0.0.4_GH0.tar.gz) = ebfb8e45741699e956d1962259b90046c0e2e6f689fc9d092aa34d7dbd1c34c4
+SIZE (wwmm-wwplot-v0.0.4_GH0.tar.gz) = 26676
Added: head/science/wwplot/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/science/wwplot/pkg-descr Sat Jul 20 16:51:13 2019 (r507005)
@@ -0,0 +1,8 @@
+A simple plotting tool for experimental physics classes.
+
+Features:
+* XY plot with error bars
+* Linear and nonlinear fit
+* Import and export table in TSV format (tab separated values)
+
+WWW: https://github.com/wwmm/wwplot
Added: head/science/wwplot/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/science/wwplot/pkg-plist Sat Jul 20 16:51:13 2019 (r507005)
@@ -0,0 +1,13 @@
+bin/wwplot
+%%PYTHON_SITELIBDIR%%/WWplot/__init__.py
+%%PYTHON_SITELIBDIR%%/WWplot/application_window.py
+%%PYTHON_SITELIBDIR%%/WWplot/fit.py
+%%PYTHON_SITELIBDIR%%/WWplot/model.py
+%%PYTHON_SITELIBDIR%%/WWplot/plot.py
+%%PYTHON_SITELIBDIR%%/WWplot/table.py
+%%PYTHON_SITELIBDIR%%/WWplot/ui/application_window.ui
+%%PYTHON_SITELIBDIR%%/WWplot/ui/custom.css
+%%PYTHON_SITELIBDIR%%/WWplot/ui/table.ui
+share/applications/com.github.wwmm.wwplot.desktop
+share/icons/hicolor/scalable/apps/wwplot.svg
+share/locale/pt_BR/LC_MESSAGES/wwplot.mo
More information about the svn-ports-all
mailing list