pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
(x11/py-qwt-qt5) New package, but make package not completed yet
Module Name: pkgsrc-wip
Committed By: Makoto Fujiwara (CF-SX3) <makoto%ki.nu@localhost>
Pushed By: mef
Date: Sat Jun 13 21:51:03 2020 +0900
Changeset: 0d6cd83729f5139f1c514d8c25d4d8198bb5eb4f
Added Files:
py-qwt-qt5/DESCR
py-qwt-qt5/Makefile
py-qwt-qt5/PLIST
py-qwt-qt5/TODO
py-qwt-qt5/distinfo
py-qwt-qt5/patches/patch-sip_qwt.sip
Log Message:
(x11/py-qwt-qt5) New package, but make package not completed yet
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0d6cd83729f5139f1c514d8c25d4d8198bb5eb4f
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-qwt-qt5/DESCR | 6 +++
py-qwt-qt5/Makefile | 41 ++++++++++++++++++++
py-qwt-qt5/PLIST | 74 ++++++++++++++++++++++++++++++++++++
py-qwt-qt5/TODO | 21 ++++++++++
py-qwt-qt5/distinfo | 7 ++++
py-qwt-qt5/patches/patch-sip_qwt.sip | 19 +++++++++
6 files changed, 168 insertions(+)
diffs:
diff --git a/py-qwt-qt5/DESCR b/py-qwt-qt5/DESCR
new file mode 100644
index 0000000000..bdd1420de8
--- /dev/null
+++ b/py-qwt-qt5/DESCR
@@ -0,0 +1,6 @@
+Python PyQt wrapper for Qwt6
+
+The code is tested for python2/3 and Qt4/5. oscilloscope.py is
+unfinished. animation.py works only for qt5. All the other examples
+have been tested to work on Debian Linux. The qwt include files must
+be patched to build PyQt-Qwt.
diff --git a/py-qwt-qt5/Makefile b/py-qwt-qt5/Makefile
new file mode 100644
index 0000000000..34e0193999
--- /dev/null
+++ b/py-qwt-qt5/Makefile
@@ -0,0 +1,41 @@
+# $NetBSD$
+
+VERSION= 1.02.00
+DISTNAME= pyqt-qwt-${VERSION}
+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-1.02.00
+
+MAKE_ENV+= PATH=${PATH}:${PREFIX}/qt5/bin
+MAKE_ENV+= INSTALL_ROOT=${DESTDIR}
+USE_LANGUAGES= c++
+
+do-configure:
+ (cd ${WRKSRC}; \
+ QT_SELECT=qt5 \
+ python${PYVERSSUFFIX} 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/application.mk"
+.include "../../x11/py-qt5/buildlink3.mk"
+.include "../../x11/py-sip/buildlink3.mk"
+.include "../../x11/qwt6-qt5/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-qwt-qt5/PLIST b/py-qwt-qt5/PLIST
new file mode 100644
index 0000000000..6e7460274c
--- /dev/null
+++ b/py-qwt-qt5/PLIST
@@ -0,0 +1,74 @@
+@comment $NetBSD$
+${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
diff --git a/py-qwt-qt5/TODO b/py-qwt-qt5/TODO
new file mode 100644
index 0000000000..dd2cfd0174
--- /dev/null
+++ b/py-qwt-qt5/TODO
@@ -0,0 +1,21 @@
+
+- current problem --
+
+/usr/pkg/bin/python3.7 mk_distinfo.py /tmp/wip/py-qwt-qt5/work/.destdir/usr/pkg/lib/python3.7/site-packages/Qwt-6.1.2.dist-info installed.txt
+Traceback (most recent call last):
+ File "mk_distinfo.py", line 101, in <module>
+ fn_f = open(fn, 'rb')
+FileNotFoundError: [Errno 2] No such file or directory: '/usr/pkg/lib/python3.7/site-packages/PyQt5/Qwt.so'
+*** Error code 1
+
+Stop.
+make: stopped in /tmp/wip/py-qwt-qt5/work/PyQt-Qwt-pyqt-qwt-1.02.00
+*** Error code 1
+
+Stop.
+make[1]: stopped in /export/CHROOT/usr/pkgsrc/wip/py-qwt-qt5
+*** Error code 1
+
+Stop.
+make: stopped in /export/CHROOT/usr/pkgsrc/wip/py-qwt-qt5
+
diff --git a/py-qwt-qt5/distinfo b/py-qwt-qt5/distinfo
new file mode 100644
index 0000000000..5c733a4939
--- /dev/null
+++ b/py-qwt-qt5/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+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-sip_qwt.sip) = f2491af157af22410ac78f1fb8bf05b332feb58e
diff --git a/py-qwt-qt5/patches/patch-sip_qwt.sip b/py-qwt-qt5/patches/patch-sip_qwt.sip
new file mode 100644
index 0000000000..86e6590bf3
--- /dev/null
+++ b/py-qwt-qt5/patches/patch-sip_qwt.sip
@@ -0,0 +1,19 @@
+$NetBSD$
+
+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 -)
Home |
Main Index |
Thread Index |
Old Index