summaryrefslogtreecommitdiff
path: root/devel/vitables/Makefile
blob: 1e25a34a9f6732749a9d40c16e58a3ad5289b15d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

PORTNAME=	vitables
DISTVERSIONPREFIX=	v
DISTVERSION=	3.0.2
PORTREVISION=	6
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
USE_PYTHON=	distutils cython noflavors autoplist
USE_PYQT=	core_run gui_run sip_run widgets_run

USE_GITHUB=	yes
GH_ACCOUNT=	uvemas
GH_PROJECT=	ViTables

DOS2UNIX_FILES=	setup.py

NO_ARCH=	yes

post-patch:
	@${REINPLACE_CMD} "s|version=read('VERSION')|version='${DISTVERSION}'|" ${WRKSRC}/setup.py

.include <bsd.port.mk>