Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Feb 2018 21:12:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 225773] pyqt5: package phase fails under python 3.4 with plist error on PYI file
Message-ID:  <bug-225773-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225773

            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@FreeBSD.org
          Reporter: john@saltant.com
             Flags: maintainer-feedback?(kde@FreeBSD.org)
          Assignee: kde@FreeBSD.org

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

Summary
=3D=3D=3D=3D=3D=3D=3D

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

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: package        >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D>  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
=3D=3D=3D=3D=3D=3D=3D=3D

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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

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

Changelog
=3D=3D=3D=3D=3D=3D=3D=3D=3D

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

QA
=3D=3D

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225773-13>