Re-add science/py-veusz: the latest version builds with Qt5

This commit is contained in:
Yuri Victorovich
2019-03-17 20:32:18 +00:00
parent c743c17be8
commit ce30afb630
6 changed files with 52 additions and 1 deletions

1
MOVED
View File

@@ -11912,7 +11912,6 @@ print/scribus||2019-03-16|Has expired: Qt4 has been EOL since december 2015
science/MOOSE-neural-simulator||2019-03-16|Has expired: Qt4 has been EOL since december 2015
science/avogadro|science/avogadro2|2019-03-16|Has expired: Qt4 has been EOL since december 2015, the new generation, avogadro2, should be used
science/openstructure||2019-03-16|Has expired: Qt4 has been EOL since december 2015
science/py-veusz||2019-03-16|Has expired: Qt4 has been EOL since december 2015
science/qtresistors||2019-03-16|Has expired: Qt4 has been EOL since december 2015
security/keepassx2||2019-03-16|Has expired: Qt4 has been EOL since december 2015
security/kqoauth||2019-03-16|Has expired: Qt4 has been EOL since december 2015

View File

@@ -266,6 +266,7 @@
SUBDIR += py-scipy
SUBDIR += py-scoria
SUBDIR += py-spglib
SUBDIR += py-veusz
SUBDIR += py-ws2300
SUBDIR += pybrain
SUBDIR += pycdf

28
science/py-veusz/Makefile Normal file
View File

@@ -0,0 +1,28 @@
# Created by: Stas Timokhin <devel@stasyan.com>
# $FreeBSD$
PORTNAME= veusz
DISTVERSIONPREFIX= ${PORTNAME}-
DISTVERSION= 3.0.1
CATEGORIES= science kde
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Scientific plotting package
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ${PYNUMPY}
USES= python:3.5+ pyqt:5 qt:5 shebangfix
USE_GITHUB= yes
USE_PYQT= core gui svg
USE_PYTHON= distutils concurrent autoplist
USE_QT= core gui xml widgets qmake_build
SHEBANG_FILES= examples/embedexample.py
MAKE_ENV= SIP_DIR=${LOCALBASE}/share/PyQt5/${PYTHON_VER}/sip
.include <bsd.port.mk>

View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1544078906
SHA256 (veusz-veusz-veusz-3.0.1_GH0.tar.gz) = 76f4feb400be4ada538e832cce352211383dbdb530f41f379c9dbf28e3591db3
SIZE (veusz-veusz-veusz-3.0.1_GH0.tar.gz) = 1706700

View File

@@ -0,0 +1,11 @@
--- pyqtdistutils.py.orig 2019-03-17 19:30:42 UTC
+++ pyqtdistutils.py
@@ -272,7 +272,7 @@ class build_ext(distutils.command.build_
sip_exe,
'-c', self.build_temp
] + SIP_FLAGS.split() + [
- '-I', os.path.join(sip_dir, 'PyQt5'),
+ '-I', sip_dir, # for FreeBSD's SIP file locations
'-b', sbf,
source
]

View File

@@ -0,0 +1,9 @@
Veusz is a GUI scientific plotting and graphing package. It
is designed to produce publication-ready Postscript or PDF
output. SVG, EMF and bitmap formats export are also supported.
The program runs under Unix/Linux, Windows or Mac OS X, and
binaries are provided. Data can be read from text, CSV or FITS
files, and data can be manipulated or examined from within the
application.
WWW: http://home.gna.org/veusz/