textproc/py-sphinx fails `make check-plist`:
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: %%PYTHON_SITELIBDIR%%/sphinx/pycode/Grammar-py2-sphinx1.4.pickle
USE_PYTHON=autoplist does not take into account that that .pickle file that is installed manually in post-install.
A commit references this bug:
Date: Fri Nov 18 20:46:43 UTC 2016
New revision: 426339
- Fix issue with pkg-plist and missing pickle
Reported by: rakuco@
Not sure how I missed that before, seemed to pass the test on my laptop anyway. Thanks for the heads up!
Are you sure this is the right fix? That post-install was added in ports r301002 to avoid some bug. Plus, this commit will change the generated package so PORTREVISION should probably be bumped.
I did test the new port, and it does indeed seem to install a .pickle file and builds our docs just fine. I'm wondering if its automatically building it now, which make the extra post-install step unnecessary (and resulted in the extra plist item)
My pkg info -l py27-sphinx shows the following file that indicated it did indeed build without the post-install:
As for PORTREVISION, I had thought the port was broken / not building packages due to plist error. However if that's not the case I'll be happy to bump it.