From owner-svn-ports-all@freebsd.org Sat Sep 22 01:41:35 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6F0B810AA9C2; Sat, 22 Sep 2018 01:41:35 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 250F279B70; Sat, 22 Sep 2018 01:41:35 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 05F7C1522E; Sat, 22 Sep 2018 01:41:35 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8M1fYfS041141; Sat, 22 Sep 2018 01:41:34 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8M1fXoU041136; Sat, 22 Sep 2018 01:41:33 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201809220141.w8M1fXoU041136@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sat, 22 Sep 2018 01:41:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480338 - in head/devel: . vitables vitables/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/devel: . vitables vitables/files X-SVN-Commit-Revision: 480338 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Sep 2018 01:41:35 -0000 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@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 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