aboutsummaryrefslogtreecommitdiff
path: root/misc/py-qt4-demo
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2014-07-23 19:53:11 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2014-07-23 19:53:11 +0000
commitc3f9087c486683a6de3d8f1db91050bdb8340e45 (patch)
tree4e541e979a7f5bac477f1b27f24bd820268cd256 /misc/py-qt4-demo
parent25a105eeedb0ea4d81483bde3499155ebdc93c58 (diff)
downloadports-c3f9087c486683a6de3d8f1db91050bdb8340e45.tar.gz
ports-c3f9087c486683a6de3d8f1db91050bdb8340e45.zip
Notes
Diffstat (limited to 'misc/py-qt4-demo')
-rw-r--r--misc/py-qt4-demo/Makefile9
-rw-r--r--misc/py-qt4-demo/pkg-plist23
2 files changed, 8 insertions, 24 deletions
diff --git a/misc/py-qt4-demo/Makefile b/misc/py-qt4-demo/Makefile
index 7951e053680c..29f09a2e3ac6 100644
--- a/misc/py-qt4-demo/Makefile
+++ b/misc/py-qt4-demo/Makefile
@@ -17,15 +17,18 @@ USE_PYTHON= yes
EXAMPLESDIR= ${PREFIX}/share/examples/py-qt4
-OPTIONS_DEFINE= PYQT4
-PYQT4_DESC= Install all PyQt4 components
-
.include "${.CURDIR}/../../devel/py-qt4/bsd.pyqt.mk"
.for component in ${PYQT4_COMPONENTS:Ndemo}
PYQT4_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}qt4-${component}>=0:${PORTSDIR}/${${component}_PORT}
.endfor
+# Remove some empty __pycache__/ directories that are wrongly part of the
+# tarball and cause check-plist failures.
+post-patch:
+ ${RMDIR} ${WRKSRC}/examples/opengl/textures/__pycache__
+ ${RMDIR} ${WRKSRC}/examples/widgets/stylesheet/__pycache__
+
do-build:
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/examples
diff --git a/misc/py-qt4-demo/pkg-plist b/misc/py-qt4-demo/pkg-plist
index 70b32a87a948..035fc9f2e91d 100644
--- a/misc/py-qt4-demo/pkg-plist
+++ b/misc/py-qt4-demo/pkg-plist
@@ -101,7 +101,6 @@
%%EXAMPLESDIR%%/dbus/remotecontrolledcar/controller/controller.ui
%%EXAMPLESDIR%%/dbus/remotecontrolledcar/controller/ui_controller.py
%%EXAMPLESDIR%%/dbus/remotecontrolledcar/controller/ui_controller.pyc
-%%EXAMPLESDIR%%/declarative/modelviews/objectlistmodel/__pycache__/objectlistmodel_rc3.cpython-33.pyc
%%EXAMPLESDIR%%/declarative/modelviews/objectlistmodel/objectlistmodel.py
%%EXAMPLESDIR%%/declarative/modelviews/objectlistmodel/objectlistmodel.pyc
%%EXAMPLESDIR%%/declarative/modelviews/objectlistmodel/objectlistmodel.qrc
@@ -236,26 +235,6 @@
%%EXAMPLESDIR%%/demos/embeddeddialogs/embeddeddialogs_rc2.pyc
%%EXAMPLESDIR%%/demos/embeddeddialogs/embeddeddialogs_rc3.py
%%EXAMPLESDIR%%/demos/embeddeddialogs/embeddeddialogs_rc3.pyc
-%%EXAMPLESDIR%%/demos/qtdemo/__pycache__/colors.cpython-33.pyc
-%%EXAMPLESDIR%%/demos/qtdemo/__pycache__/demoitem.cpython-33.pyc
-%%EXAMPLESDIR%%/demos/qtdemo/__pycache__/demoitemanimation.cpython-33.pyc
-%%EXAMPLESDIR%%/demos/qtdemo/__pycache__/demoscene.cpython-33.pyc
-%%EXAMPLESDIR%%/demos/qtdemo/__pycache__/demotextitem.cpython-33.pyc
-%%EXAMPLESDIR%%/demos/qtdemo/__pycache__/examplecontent.cpython-33.pyc
-%%EXAMPLESDIR%%/demos/qtdemo/__pycache__/guide.cpython-33.pyc
-%%EXAMPLESDIR%%/demos/qtdemo/__pycache__/guidecircle.cpython-33.pyc
-%%EXAMPLESDIR%%/demos/qtdemo/__pycache__/guideline.cpython-33.pyc
-%%EXAMPLESDIR%%/demos/qtdemo/__pycache__/headingitem.cpython-33.pyc
-%%EXAMPLESDIR%%/demos/qtdemo/__pycache__/imageitem.cpython-33.pyc
-%%EXAMPLESDIR%%/demos/qtdemo/__pycache__/itemcircleanimation.cpython-33.pyc
-%%EXAMPLESDIR%%/demos/qtdemo/__pycache__/letteritem.cpython-33.pyc
-%%EXAMPLESDIR%%/demos/qtdemo/__pycache__/mainwindow.cpython-33.pyc
-%%EXAMPLESDIR%%/demos/qtdemo/__pycache__/menucontent.cpython-33.pyc
-%%EXAMPLESDIR%%/demos/qtdemo/__pycache__/menumanager.cpython-33.pyc
-%%EXAMPLESDIR%%/demos/qtdemo/__pycache__/qtdemo_rc3.cpython-33.pyc
-%%EXAMPLESDIR%%/demos/qtdemo/__pycache__/scanitem.cpython-33.pyc
-%%EXAMPLESDIR%%/demos/qtdemo/__pycache__/score.cpython-33.pyc
-%%EXAMPLESDIR%%/demos/qtdemo/__pycache__/textbutton.cpython-33.pyc
%%EXAMPLESDIR%%/demos/qtdemo/colors.py
%%EXAMPLESDIR%%/demos/qtdemo/colors.pyc
%%EXAMPLESDIR%%/demos/qtdemo/demoitem.py
@@ -957,6 +936,8 @@
%%EXAMPLESDIR%%/webkit/simpleselector/ui_window.py
%%EXAMPLESDIR%%/webkit/simpleselector/ui_window.pyc
%%EXAMPLESDIR%%/webkit/simpleselector/window.ui
+%%EXAMPLESDIR%%/webkit/webftpclient.py
+%%EXAMPLESDIR%%/webkit/webftpclient.pyc
%%EXAMPLESDIR%%/widgets/README
%%EXAMPLESDIR%%/widgets/analogclock.py
%%EXAMPLESDIR%%/widgets/analogclock.pyc