aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/py-pyqwt
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2009-09-25 08:37:07 +0800
committerwen <wen@FreeBSD.org>2009-09-25 08:37:07 +0800
commit815f181634da2f22d8082426cb50b83311897c37 (patch)
tree2aa5764705cc1f0165e1212acfa4496cbda0f098 /x11-toolkits/py-pyqwt
parent0cb6399d9c06cb83375fb5789939c18ba299a7a4 (diff)
downloadfreebsd-ports-gnome-815f181634da2f22d8082426cb50b83311897c37.tar.gz
freebsd-ports-gnome-815f181634da2f22d8082426cb50b83311897c37.tar.zst
freebsd-ports-gnome-815f181634da2f22d8082426cb50b83311897c37.zip
- Update to 5.2.0; unbreak
PR: ports/137960 Submitted by: wenheping@gmail.com(myself) Approved by: jadawin(co-mentor) Feature safe: yes
Diffstat (limited to 'x11-toolkits/py-pyqwt')
-rw-r--r--x11-toolkits/py-pyqwt/Makefile21
-rw-r--r--x11-toolkits/py-pyqwt/distinfo6
-rw-r--r--x11-toolkits/py-pyqwt/files/patch-GNUmakefile2
-rw-r--r--x11-toolkits/py-pyqwt/files/patch-configure-configure.py11
-rw-r--r--x11-toolkits/py-pyqwt/pkg-plist8
5 files changed, 31 insertions, 17 deletions
diff --git a/x11-toolkits/py-pyqwt/Makefile b/x11-toolkits/py-pyqwt/Makefile
index 55a9f2d00b89..5b3522611bf9 100644
--- a/x11-toolkits/py-pyqwt/Makefile
+++ b/x11-toolkits/py-pyqwt/Makefile
@@ -6,21 +6,22 @@
#
PORTNAME= pyqwt
-PORTVERSION= 5.1.0
-PORTREVISION= 1
+PORTVERSION= 5.2.0
CATEGORIES= x11-toolkits python
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}5/PyQwt-${PORTVERSION}
+MASTER_SITES= SF
+MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}5/PyQwt-${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= PyQwt-${PORTVERSION}
MAINTAINER= wenheping@gmail.com
COMMENT= Python Bindings for the Qwt Class Library
-BUILD_DEPENDS= ${PYNUMPY} \
- ${PYTHON_PKGNAMEPREFIX}qt4-core>=4.3.3:${PORTSDIR}/devel/py-qt4-core \
- ${PYTHON_PKGNAMEPREFIX}qt4-svg>=4.3.3:${PORTSDIR}/graphics/py-qt4-svg \
- ${PYTHON_PKGNAMEPREFIX}qt4-gui>=4.3.3:${PORTSDIR}/x11-toolkits/py-qt4-gui \
- ${PYTHON_PKGNAMEPREFIX}qt4-qscintilla2>=2.2:${PORTSDIR}/devel/py-qt4-qscintilla2 \
+BUILD_DEPENDS= ${LOCALBASE}/bin/qmake-qt4:${PORTSDIR}/devel/qmake4 \
+ ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}qt4-core>=4.5.4:${PORTSDIR}/devel/py-qt4-core \
+ ${PYTHON_PKGNAMEPREFIX}qt4-svg>=4.5.4:${PORTSDIR}/graphics/py-qt4-svg \
+ ${PYTHON_PKGNAMEPREFIX}qt4-gui>=4.5.4:${PORTSDIR}/x11-toolkits/py-qt4-gui \
+ ${PYTHON_PKGNAMEPREFIX}qt4-qscintilla2>=2.4.1:${PORTSDIR}/devel/py-qt4-qscintilla2 \
${PYTHON_PKGNAMEPREFIX}sip>=${SIP_VERSION}:${PORTSDIR}/devel/py-sip
RUN_DEPENDS= ${BUILD_DEPENDS}
LIB_DEPENDS= qwt.5:${PORTSDIR}/x11-toolkits/qwt5
@@ -29,6 +30,8 @@ USE_PYTHON= 2.5+
USE_GMAKE= yes
MAKEFILE= GNUmakefile
-BROKEN= does not compile
+post-patch:
+ ${REINPLACE_CMD} -e 's#%%LOCALBASE%%#${LOCALBASE}#g' \
+ ${WRKSRC}/GNUmakefile
.include <bsd.port.mk>
diff --git a/x11-toolkits/py-pyqwt/distinfo b/x11-toolkits/py-pyqwt/distinfo
index a9d2a4fc0b44..6367a2ad5fd3 100644
--- a/x11-toolkits/py-pyqwt/distinfo
+++ b/x11-toolkits/py-pyqwt/distinfo
@@ -1,3 +1,3 @@
-MD5 (PyQwt-5.1.0.tar.gz) = c9d662a0d4fc95cec75d3c526e4e748a
-SHA256 (PyQwt-5.1.0.tar.gz) = 13d90d25b3c21c5dadd5cfac1e45cd41680f3c9b7731776c5a46bb1eece12716
-SIZE (PyQwt-5.1.0.tar.gz) = 4700809
+MD5 (PyQwt-5.2.0.tar.gz) = fcd6c6029090d473dcc9df497516eae7
+SHA256 (PyQwt-5.2.0.tar.gz) = 98a8c7e0c76d07701c11dffb77793b05f071b664a8b520d6e97054a98179e70b
+SIZE (PyQwt-5.2.0.tar.gz) = 2670893
diff --git a/x11-toolkits/py-pyqwt/files/patch-GNUmakefile b/x11-toolkits/py-pyqwt/files/patch-GNUmakefile
index e143382214c3..06ecf36e6909 100644
--- a/x11-toolkits/py-pyqwt/files/patch-GNUmakefile
+++ b/x11-toolkits/py-pyqwt/files/patch-GNUmakefile
@@ -14,7 +14,7 @@
4:
cd configure \
- && python configure.py -4 -Q $(QWT) -j $(JOBS) \
-+ && python configure.py -4 -I/usr/local/include/qwt -L/usr/local/lib -lqwt -j $(JOBS) \
++ && python configure.py -4 -I%%LOCALBASE%%/include/qwt -L%%LOCALBASE%%/lib -lqwt -j $(JOBS) \
&& $(MAKE) -j $(JOBS)
diff --git a/x11-toolkits/py-pyqwt/files/patch-configure-configure.py b/x11-toolkits/py-pyqwt/files/patch-configure-configure.py
new file mode 100644
index 000000000000..faeb0d2ac21e
--- /dev/null
+++ b/x11-toolkits/py-pyqwt/files/patch-configure-configure.py
@@ -0,0 +1,11 @@
+--- configure/configure.py.orig 2009-08-17 05:24:49.000000000 +0800
++++ configure/configure.py 2009-08-17 05:25:10.000000000 +0800
+@@ -183,7 +183,7 @@
+ ''' % ' '.join(extra_include_dirs))
+ f.close()
+
+- qmake = os.path.join(configuration.qt_dir, 'bin', 'qmake')
++ qmake = os.path.join(configuration.qt_dir, 'bin', 'qmake-qt4')
+ os.system('%s -spec %s -o %s %s' % (
+ qmake, configuration.platform, make_file, pro_file))
+
diff --git a/x11-toolkits/py-pyqwt/pkg-plist b/x11-toolkits/py-pyqwt/pkg-plist
index 14b97444b8c6..62a7e29be004 100644
--- a/x11-toolkits/py-pyqwt/pkg-plist
+++ b/x11-toolkits/py-pyqwt/pkg-plist
@@ -1,4 +1,3 @@
-%%PYTHON_SITELIBDIR%%/PyQt4/Qwt5
%%PYTHON_SITELIBDIR%%/PyQt4/Qwt5/_iqt.so
%%PYTHON_SITELIBDIR%%/PyQt4/Qwt5/Qwt.so
%%PYTHON_SITELIBDIR%%/PyQt4/Qwt5/qplt.py
@@ -13,10 +12,12 @@
%%PYTHON_SITELIBDIR%%/PyQt4/Qwt5/iqt.pyc
%%PYTHON_SITELIBDIR%%/PyQt4/Qwt5/pythonrc.pyc
%%PYTHON_SITELIBDIR%%/PyQt4/Qwt5/qplt.pyc
-share/py-sip/Qwt5
+%%PYTHON_SITELIBDIR%%/PyQt4/Qwt5/ipy_user_conf.py
+%%PYTHON_SITELIBDIR%%/PyQt4/Qwt5/ipy_user_conf.pyc
share/py-sip/Qwt5/qwt_arrow_button.sip
share/py-sip/Qwt5/qwt_knob.sip
share/py-sip/Qwt5/qwt_plot_picker.sip
+share/py-sip/Qwt5/qwt_plot_rescaler.sip
share/py-sip/Qwt5/qwt_plot_svgitem.sip
share/py-sip/Qwt5/qwt_legend_itemmanager.sip
share/py-sip/Qwt5/qwt_text.sip
@@ -25,7 +26,6 @@ share/py-sip/Qwt5/qwt_plot_dict.sip
share/py-sip/Qwt5/qwt_abstract_scale_draw.sip
share/py-sip/Qwt5/qwt_plot_printfilter.sip
share/py-sip/Qwt5/qwt_scale_map.sip
-share/py-sip/Qwt5/qwt_scale_widget.sip
share/py-sip/Qwt5/QwtArrayInt.sip
share/py-sip/Qwt5/qwt_dial_needle.sip
share/py-sip/Qwt5/qwt_plot_curve.sip
@@ -89,4 +89,4 @@ share/py-sip/Qwt5/qwt_scale_widget.sip
@dirrm %%PYTHON_SITELIBDIR%%/PyQt4/Qwt5
@dirrmtry %%PYTHON_SITELIBDIR%%/PyQt4
@dirrm share/py-sip/Qwt5
-@dirrm share/py-sip
+@dirrmtry share/py-sip