mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
New port: devel/vitables: Viewer and editor of files in both PyTables format and HDF5 format
This commit is contained in:
parent
15bef665f5
commit
d432fa6ec9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=480338
@ -6305,6 +6305,7 @@
|
||||
SUBDIR += viewvc
|
||||
SUBDIR += violet
|
||||
SUBDIR += visualparadigm
|
||||
SUBDIR += vitables
|
||||
SUBDIR += vstr
|
||||
SUBDIR += vulkan-headers
|
||||
SUBDIR += vulkan-tools
|
||||
|
41
devel/vitables/Makefile
Normal file
41
devel/vitables/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= vitables
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 3.0.0-55
|
||||
DISTVERSIONSUFFIX= -gb064ad7
|
||||
CATEGORIES= devel science python
|
||||
|
||||
MAINTAINER= yuri@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>
|
3
devel/vitables/distinfo
Normal file
3
devel/vitables/distinfo
Normal file
@ -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
|
8
devel/vitables/files/patch-requirements.txt
Normal file
8
devel/vitables/files/patch-requirements.txt
Normal file
@ -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
|
10
devel/vitables/files/patch-setup.py
Normal file
10
devel/vitables/files/patch-setup.py
Normal file
@ -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)'
|
5
devel/vitables/pkg-descr
Normal file
5
devel/vitables/pkg-descr
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user