[Bug 267645] devel/py-qt5-pyqt: orphaned file in plist

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 08 Nov 2022 17:12:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267645

            Bug ID: 267645
           Summary: devel/py-qt5-pyqt: orphaned file in plist
           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: madpilot@FreeBSD.org
          Assignee: kde@FreeBSD.org
             Flags: maintainer-feedback?(kde@FreeBSD.org)

Created attachment 237947
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=237947&action=edit
patch v1

While testing for the py-qt6 import a plist error came out for pyqt5:

```
====> Running Q/A tests (stage-qa)
Warning: 'lib/python3.9/site-packages/dbus/mainloop/pyqt5.abi3.so' is not
stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Error: /usr/local/lib/python3.9/site-packages/PyQt5/QtBluetooth.abi3.so is
linked to /usr/local/lib/libGL.so.1 from graphics/libglvnd but it is not
declared as a dependency
Warning: you need USE_GL+=gl
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: %%PYTHON_SITELIBDIR%%/PyQt5/bindings/QtCore/pyqt-gpl.sip5
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/py-qt5-pyqt
=>> Error: check-plist failures detected
```

I'm attaching a fix for the plist error.

The gl issue requires further investigation, but the plist issue is easy to
fix.

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