[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


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225773

            Bug ID: 225773
           Summary: pyqt5: package phase fails under python 3.4 with plist
                    error on PYI file
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: john at saltant.com
             Flags: maintainer-feedback?(kde at FreeBSD.org)
          Assignee: kde at FreeBSD.org

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/site-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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list