svn commit: r480338 - in head/devel: . vitables vitables/files
Yuri Victorovich
yuri at FreeBSD.org
Sat Sep 22 01:41:35 UTC 2018
Author: yuri
Date: Sat Sep 22 01:41:33 2018
New Revision: 480338
URL: https://svnweb.freebsd.org/changeset/ports/480338
Log:
New port: devel/vitables: Viewer and editor of files in both PyTables format and HDF5 format
Added:
head/devel/vitables/
head/devel/vitables/Makefile (contents, props changed)
head/devel/vitables/distinfo (contents, props changed)
head/devel/vitables/files/
head/devel/vitables/files/patch-requirements.txt (contents, props changed)
head/devel/vitables/files/patch-setup.py (contents, props changed)
head/devel/vitables/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sat Sep 22 01:31:31 2018 (r480337)
+++ head/devel/Makefile Sat Sep 22 01:41:33 2018 (r480338)
@@ -6305,6 +6305,7 @@
SUBDIR += viewvc
SUBDIR += violet
SUBDIR += visualparadigm
+ SUBDIR += vitables
SUBDIR += vstr
SUBDIR += vulkan-headers
SUBDIR += vulkan-tools
Added: head/devel/vitables/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/vitables/Makefile Sat Sep 22 01:41:33 2018 (r480338)
@@ -0,0 +1,41 @@
+# $FreeBSD$
+
+PORTNAME= vitables
+DISTVERSIONPREFIX= v
+DISTVERSION= 3.0.0-55
+DISTVERSIONSUFFIX= -gb064ad7
+CATEGORIES= devel science python
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= Viewer and editor of files in both PyTables format and HDF5 format
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}QtPy>=1.2.1:devel/py-QtPy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}numexpr>=2.0:math/py-numexpr@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tables>=3.0:devel/py-tables@${PY_FLAVOR}
+
+USES= dos2unix python pyqt:5
+DOS2UNIX_FILES= setup.py
+USE_GITHUB= yes
+GH_ACCOUNT= uvemas
+GH_PROJECT= ViTables
+USE_PYTHON= distutils cython noflavors autoplist
+USE_PYQT= core_run gui_run sip_run widgets_run
+NO_ARCH= yes
+
+PLIST_FILES= ${PYTHON_SITELIBDIR}/${PORTNAME}.sh
+
+post-patch:
+ @${REINPLACE_CMD} "s|version=read('VERSION')|version='${DISTVERSION}'|" ${WRKSRC}/setup.py
+
+post-install:
+ @${MV} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}.sh
+ @(echo "#!/bin/sh"; \
+ echo "LD_PRELOAD=${PREFIX}/lib/gcc${GCC_DEFAULT}/libgcc_s.so ${PYTHON_SITELIBDIR}/${PORTNAME}.sh \"\$$@\"" \
+ ) > ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ @${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>
Added: head/devel/vitables/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/vitables/distinfo Sat Sep 22 01:41:33 2018 (r480338)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1537571694
+SHA256 (uvemas-ViTables-v3.0.0-55-gb064ad7_GH0.tar.gz) = ebe101c5994f0f02d8afa622130b075ecc5cecbad1320e03d9c225898eb40ee3
+SIZE (uvemas-ViTables-v3.0.0-55-gb064ad7_GH0.tar.gz) = 2067999
Added: head/devel/vitables/files/patch-requirements.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/vitables/files/patch-requirements.txt Sat Sep 22 01:41:33 2018 (r480338)
@@ -0,0 +1,8 @@
+--- requirements.txt.orig 2018-09-21 23:39:29 UTC
++++ requirements.txt
+@@ -2,5 +2,4 @@ Cython
+ numexpr
+ numpy
+ tables
+-PyQt5
+ QtPy
Added: head/devel/vitables/files/patch-setup.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/vitables/files/patch-setup.py Sat Sep 22 01:41:33 2018 (r480338)
@@ -0,0 +1,10 @@
+--- setup.py.orig 2018-09-21 23:38:58 UTC
++++ setup.py
+@@ -51,7 +51,6 @@ setup(name='ViTables',
+ ],
+ install_requires=[
+ 'qtpy (>=1.2.1)',
+- 'PyQt5 (>=5.5.1)',
+ 'numpy (>=1.4.1)',
+ 'numexpr (>=2.0)',
+ 'tables (>=3.0)'
Added: head/devel/vitables/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/vitables/pkg-descr Sat Sep 22 01:41:33 2018 (r480338)
@@ -0,0 +1,5 @@
+ViTables is a graphical tool for browsing and editing files in both PyTables
+and HDF5 format. With ViTables you can easily navigate through the data
+hierarchy, view and modify metadata, view actual data and more.
+
+WWW: https://github.com/uvemas/ViTables
More information about the svn-ports-head
mailing list