maintainer-feedback requested: [Bug 225773] pyqt5: package phase fails under python 3.4 with plist error on PYI file

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 8 21:12:17 UTC 2018


John W. O'Brien <john at saltant.com> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to kde at FreeBSD.org:
Bug 225773: pyqt5: package phase fails under python 3.4 with plist error on PYI
file
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225773



--- Description ---
Created attachment 190443
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=190443&action=edit
PyQt5: Fix plist under python 3.4

Summary
=======

The PyQt5 ports cannot be built successfully when using python 3.4. Poudriere
terminates in the package phase with the following error (or similar).

=======================<phase: package	      >============================
===>  Building package for py34-qt5-core-5.9.2_1
pkg-static: Unable to access file
/wrkdirs/usr/ports/devel/py-qt5-core/work-py34/stage/usr/local/lib/python3.4/si
te-packages/PyQt5/QtCore.pyi:No
such file or directory
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/py-qt5-core

Analysis
========

PyQt5 does not install a PYI file containing type hints (PEP 484) unless the
version of python is 3.5 or greater [0].

[0] https://docs.python.org/3/whatsnew/3.5.html#whatsnew-pep-484

Affected ports
==============

    devel/py-qt5-core
    x11-toolkits/py-qt5-widgets
    x11-toolkits/py-qt5-gui

Changelog
=========

*   Predicate inclusion of PYI file on type hints added in python 3.5
*   While here, strip share object

QA
==

poudriere: OK -- testport on 10.4-RELEASE-p3 amd64 w/py27 (default), py34,
py35, py36


More information about the kde-freebsd mailing list