pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/x11/py-qwt-qt5
Module Name: pkgsrc
Committed By: tnn
Date: Sun Aug 30 08:21:15 UTC 2020
Added Files:
pkgsrc/x11/py-qwt-qt5: DESCR Makefile PLIST distinfo
pkgsrc/x11/py-qwt-qt5/patches: patch-mk__distinfo.py patch-sip_qwt.sip
patch-sip_qwt__transform.sip
Log Message:
x11/py-qwt-qt5: import py37-qwt-qt5-1.02.00
Python PyQt wrapper for Qwt6
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/py-qwt-qt5/DESCR \
pkgsrc/x11/py-qwt-qt5/Makefile pkgsrc/x11/py-qwt-qt5/PLIST \
pkgsrc/x11/py-qwt-qt5/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/py-qwt-qt5/patches/patch-mk__distinfo.py \
pkgsrc/x11/py-qwt-qt5/patches/patch-sip_qwt.sip \
pkgsrc/x11/py-qwt-qt5/patches/patch-sip_qwt__transform.sip
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/x11/py-qwt-qt5/DESCR
diff -u /dev/null pkgsrc/x11/py-qwt-qt5/DESCR:1.1
--- /dev/null Sun Aug 30 08:21:15 2020
+++ pkgsrc/x11/py-qwt-qt5/DESCR Sun Aug 30 08:21:15 2020
@@ -0,0 +1 @@
+Python PyQt wrapper for Qwt6
Index: pkgsrc/x11/py-qwt-qt5/Makefile
diff -u /dev/null pkgsrc/x11/py-qwt-qt5/Makefile:1.1
--- /dev/null Sun Aug 30 08:21:15 2020
+++ pkgsrc/x11/py-qwt-qt5/Makefile Sun Aug 30 08:21:15 2020
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1 2020/08/30 08:21:15 tnn Exp $
+
+VERSION= 1.02.00
+DISTNAME= pyqt-qwt-${VERSION}
+PKGNAME= ${PYPKGPREFIX}-qwt-qt5-${DISTNAME:S/pyqt-qwt-//}
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_GITHUB:=GauiStori/}
+GITHUB_PROJECT= PyQt-Qwt
+GITHUB_TAG= pyqt-qwt-${VERSION}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/GauiStori/PyQt-Qwt/
+COMMENT= Python PyQt wrapper for Qwt6
+#LICENSE= # gnu-lgpl-v2.1 with exception (Qwt License)
+
+BUILD_DEPENDS+= qt5-qtbase-[0-9]*:../../x11/qt5-qtbase
+
+WRKSRC= ${WRKDIR}/PyQt-Qwt-pyqt-qwt-${VERSION}
+
+CONFIGURE_ENV+= QT_SELECT=qt5
+MAKE_ENV+= PATH=${PATH}:${PREFIX}/qt5/bin
+INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}
+ALL_ENV+= LFLAGS=${COMPILER_RPATH_FLAG}${PREFIX}/${BUILDLINK_LIBDIRS.qwt6-qt5}
+USE_LANGUAGES= c++
+
+PY_PATCHPLIST= yes
+
+do-configure:
+ set -e; cd ${WRKSRC}; \
+ ${PKGSRC_SETENV} ${CONFIGURE_ENV} \
+ ${PYTHONBIN} configure.py \
+ --qwt-incdir=${PREFIX}/${BUILDLINK_INCDIRS.qwt6-qt5} \
+ --qwt-libdir=${PREFIX}/${BUILDLINK_LIBDIRS.qwt6-qt5} \
+ --qwt-lib=qwt \
+ --sip=${PREFIX}/bin/sip${PYVERSSUFFIX} \
+ --qmake=${PREFIX}/qt5/bin/qmake \
+ --pyqt-sipdir=${PREFIX}/share/sip${PYVERSSUFFIX}/PyQt5 \
+ --verbose
+
+.include "../../lang/python/extension.mk"
+.include "../../x11/py-qt5/buildlink3.mk"
+.include "../../x11/py-sip/buildlink3.mk"
+.include "../../x11/qwt6-qt5/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/x11/py-qwt-qt5/PLIST
diff -u /dev/null pkgsrc/x11/py-qwt-qt5/PLIST:1.1
--- /dev/null Sun Aug 30 08:21:15 2020
+++ pkgsrc/x11/py-qwt-qt5/PLIST Sun Aug 30 08:21:15 2020
@@ -0,0 +1,74 @@
+@comment $NetBSD: PLIST,v 1.1 2020/08/30 08:21:15 tnn Exp $
+${PYSITELIB}/PyQt5/Qwt.pyi
+${PYSITELIB}/PyQt5/Qwt.so
+${PYSITELIB}/Qwt-6.1.2.dist-info/INSTALLER
+${PYSITELIB}/Qwt-6.1.2.dist-info/METADATA
+${PYSITELIB}/Qwt-6.1.2.dist-info/RECORD
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/conversions.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qmap_convert.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_abstract_legend.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_abstract_scale.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_abstract_scale_draw.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_abstract_slider.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_analog_clock.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_color_map.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_column_symbol.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_compass.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_compass_rose.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_counter.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_curve_fitter.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_dial.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_dial_needle.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_event_pattern.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_graphic.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_interval.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_knob.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_legend.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_legend_data.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_null_paintdevice.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_panner.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_picker.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_picker_machine.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_plot.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_plot_abstract_barchart.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_plot_barchart.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_plot_canvas.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_plot_curve.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_plot_dict.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_plot_directpainter.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_plot_grid.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_plot_histogram.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_plot_item.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_plot_layout.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_plot_marker.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_plot_multi_barchart.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_plot_panner.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_plot_picker.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_plot_rasteritem.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_plot_renderer.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_plot_seriesitem.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_plot_spectrogram.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_plot_zoomer.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_point_data.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_point_polar.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_raster_data.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_round_scale_draw.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_samples.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_sampling_thread.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_scale_div.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_scale_draw.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_scale_engine.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_scale_map.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_scale_widget.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_series_data.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_series_store.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_slider.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_spline.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_symbol.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_text.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_text_engine.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_text_label.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_thermo.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_transform.sip
+share/sip${PYVERSSUFFIX}/PyQt5/Qwt/qwt_wheel.sip
Index: pkgsrc/x11/py-qwt-qt5/distinfo
diff -u /dev/null pkgsrc/x11/py-qwt-qt5/distinfo:1.1
--- /dev/null Sun Aug 30 08:21:15 2020
+++ pkgsrc/x11/py-qwt-qt5/distinfo Sun Aug 30 08:21:15 2020
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1 2020/08/30 08:21:15 tnn Exp $
+
+SHA1 (pyqt-qwt-1.02.00.tar.gz) = d1c113c5c8ae504bfc479dafdad94a2e459ecf09
+RMD160 (pyqt-qwt-1.02.00.tar.gz) = a25d19cd71baf264b03c02ecd2c86dd4fb3b560c
+SHA512 (pyqt-qwt-1.02.00.tar.gz) = f2b54bd4097b726bcf4df897b910d49489efd2bc9d06d239037b0ecb7ed1420c76499e65b84a49efe2e8ba2313857ece92d8d50d157ccc38fda0cc0dac5ab178
+Size (pyqt-qwt-1.02.00.tar.gz) = 103588 bytes
+SHA1 (patch-mk__distinfo.py) = 180ce6d00f21142878f2a01805921d5c1fd63637
+SHA1 (patch-sip_qwt.sip) = f2491af157af22410ac78f1fb8bf05b332feb58e
+SHA1 (patch-sip_qwt__transform.sip) = 1e6f0e26e5cd5368bf39ce8ade529fef8464e34a
Index: pkgsrc/x11/py-qwt-qt5/patches/patch-mk__distinfo.py
diff -u /dev/null pkgsrc/x11/py-qwt-qt5/patches/patch-mk__distinfo.py:1.1
--- /dev/null Sun Aug 30 08:21:15 2020
+++ pkgsrc/x11/py-qwt-qt5/patches/patch-mk__distinfo.py Sun Aug 30 08:21:15 2020
@@ -0,0 +1,18 @@
+$NetBSD: patch-mk__distinfo.py,v 1.1 2020/08/30 08:21:15 tnn Exp $
+
+Work around DESTDIR installation issue
+
+--- mk_distinfo.py.orig 2019-02-23 12:55:34.000000000 +0000
++++ mk_distinfo.py
+@@ -98,6 +98,11 @@ for name in installed:
+ else:
+ fn_name = fn
+
++ if (fn.startswith(sys.prefix + "/")):
++ fn = os.environ.get("DESTDIR") + fn
++ if (os.path.isdir(fn)):
++ continue
++
+ fn_f = open(fn, 'rb')
+ data = fn_f.read()
+ fn_f.close()
Index: pkgsrc/x11/py-qwt-qt5/patches/patch-sip_qwt.sip
diff -u /dev/null pkgsrc/x11/py-qwt-qt5/patches/patch-sip_qwt.sip:1.1
--- /dev/null Sun Aug 30 08:21:15 2020
+++ pkgsrc/x11/py-qwt-qt5/patches/patch-sip_qwt.sip Sun Aug 30 08:21:15 2020
@@ -0,0 +1,19 @@
+$NetBSD: patch-sip_qwt.sip,v 1.1 2020/08/30 08:21:15 tnn Exp $
+
+sip: sip/qwt.sip:13: syntax error
+Error: Unable to create the C++ code.
+*** Error code 1
+
+Hint:
+ http://gnats.netbsd.org/54558
+
+--- sip/qwt.sip.orig 2019-02-23 12:55:34.000000000 +0000
++++ sip/qwt.sip
+@@ -10,7 +10,6 @@
+ %Module(name=Qwt, keyword_arguments="Optional")
+
+ %Import QtCore/QtCoremod.sip
+-typedef unsigned long size_t;
+ %Import QtGui/QtGuimod.sip
+
+ %If (Qt_5_0_0 -)
Index: pkgsrc/x11/py-qwt-qt5/patches/patch-sip_qwt__transform.sip
diff -u /dev/null pkgsrc/x11/py-qwt-qt5/patches/patch-sip_qwt__transform.sip:1.1
--- /dev/null Sun Aug 30 08:21:15 2020
+++ pkgsrc/x11/py-qwt-qt5/patches/patch-sip_qwt__transform.sip Sun Aug 30 08:21:15 2020
@@ -0,0 +1,13 @@
+$NetBSD: patch-sip_qwt__transform.sip,v 1.1 2020/08/30 08:21:15 tnn Exp $
+
+https://github.com/GauiStori/PyQt-Qwt/commit/8f6e01a10f29417214ae2266f3e5c13443e989a0
+
+--- sip/qwt_transform.sip.orig 2019-02-23 12:55:34.000000000 +0000
++++ sip/qwt_transform.sip
+@@ -123,4 +123,6 @@ public:
+
+ virtual QwtTransform *copy() const;
+
++private:
++ QwtPowerTransform& operator=(const QwtPowerTransform&);
+ };
Home |
Main Index |
Thread Index |
Old Index