svn commit: r463296 - in head: . science science/py-veusz science/veusz
Yuri Victorovich
yuri at FreeBSD.org
Thu Mar 1 11:29:59 UTC 2018
Author: yuri
Date: Thu Mar 1 11:29:58 2018
New Revision: 463296
URL: https://svnweb.freebsd.org/changeset/ports/463296
Log:
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)
Added:
head/science/py-veusz/
- copied from r463295, head/science/veusz/
Deleted:
head/science/veusz/
Modified:
head/MOVED
head/science/Makefile
head/science/py-veusz/Makefile
Modified: head/MOVED
==============================================================================
--- head/MOVED Thu Mar 1 11:25:03 2018 (r463295)
+++ head/MOVED Thu Mar 1 11:29:58 2018 (r463296)
@@ -10140,3 +10140,4 @@ devel/rubygem-google-api-client010||2018-02-28|Has exp
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
Modified: head/science/Makefile
==============================================================================
--- head/science/Makefile Thu Mar 1 11:25:03 2018 (r463295)
+++ head/science/Makefile Thu Mar 1 11:29:58 2018 (r463296)
@@ -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
Modified: head/science/py-veusz/Makefile
==============================================================================
--- head/science/veusz/Makefile Thu Mar 1 11:25:03 2018 (r463295)
+++ head/science/py-veusz/Makefile Thu Mar 1 11:29:58 2018 (r463296)
@@ -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 at 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>
More information about the svn-ports-head
mailing list