1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

science/veusz: Unbroke; Renamed to science/py-veusz.

It was breaking because of wrong python shebang.

This port is a python port, renamed per section 6.17.

Unbroke:
* Added USES=shebangfix and SHEBANG_FILES
* Added stripping (post-install)

Additional changes:
* Added USE_QT4
* Added USE_PYTHON=concurrent

Approved by:	tcberner (mentor, implicit)
Approved by:	portmgr (port compliance, infrastructure)
This commit is contained in:
Yuri Victorovich 2018-03-01 11:29:58 +00:00
parent 52c90b2ce8
commit 90e129ca89
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463296
6 changed files with 11 additions and 3 deletions

1
MOVED
View File

@ -10140,3 +10140,4 @@ devel/rubygem-google-api-client010||2018-02-28|Has expired: Use devel/rubygem-go
devel/rubygem-progressbar09||2018-02-28|Has expired: Only used by deprecated sysutils/rubygem-bosh_cli
sysutils/rubygem-bosh_cli||2018-02-28|Has expired: Use net/bosh-cli (CLI v2) instead
www/rubygem-gon-rails4||2018-02-28|Has expired: It is actually www/rubygem-gon with PKGNAMESUFFIX
science/veusz|science/py-veusz|2018-03-01|Rename to match our py- port naming

View File

@ -182,6 +182,7 @@
SUBDIR += py-scipy
SUBDIR += py-scoria
SUBDIR += py-tensorflow
SUBDIR += py-veusz
SUBDIR += py-ws2300
SUBDIR += pybrain
SUBDIR += pycdf
@ -206,7 +207,6 @@
SUBDIR += tfel
SUBDIR += udunits
SUBDIR += v_sim
SUBDIR += veusz
SUBDIR += vmd
SUBDIR += voro++
SUBDIR += xfce4-equake-plugin

View File

@ -6,22 +6,29 @@ PORTVERSION= 1.19.1
PORTREVISION= 2
CATEGORIES= science kde
MASTER_SITES= http://download.gna.org/veusz/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= devel@stasyan.com
COMMENT= Scientific plotting package
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PYNUMPY}
BUILD_DEPENDS:= ${RUN_DEPENDS}
USES= pyqt:4 python:2.7
USES= python pyqt:4 shebangfix
USE_PYQT= gui svg
USE_PYTHON= distutils autoplist
USE_PYTHON= distutils concurrent autoplist
USE_QT4= corelib gui xml
SHEBANG_FILES= examples/embedexample.py
post-patch:
@${REINPLACE_CMD} \
-e 's,distutils\.command\.install ,setuptools\.command\.install ,' \
${WRKSRC}/setup.py
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/veusz/helpers/*.so
.include <bsd.port.mk>