[Bug 262823] textproc/py-libxml2: Include bytecode files in package

2022-04-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262823

John Hein  changed:

   What|Removed |Added

 CC||jcfyecr...@liamekaens.com

--- Comment #5 from John Hein  ---
After this commit (ports 25c952626c32a1830793a770b8f401a7d5370905), the port is
broken with default python version set to 3.7.

make check-plist fails:


===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned:
%%PYTHON_SITELIBDIR%%/__pycache__/drv_libxml2.cpython-37.opt-1.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/__pycache__/drv_libxml2.cpython-37.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/__pycache__/libxml2.cpython-37.opt-1.pyc
Error: Orphaned: %%PYTHON_SITELIBDIR%%/__pycache__/libxml2.cpython-37.pyc
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: %%PYTHON_SITELIBDIR%%/__pycache__/drv_libxml2.opt-1.pyc
Error: Missing: %%PYTHON_SITELIBDIR%%/__pycache__/drv_libxml2.pyc
Error: Missing: %%PYTHON_SITELIBDIR%%/__pycache__/libxml2.opt-1.pyc
Error: Missing: %%PYTHON_SITELIBDIR%%/__pycache__/libxml2.pyc
===> Error: Plist issues found.



make install fails for the same reason (.pyc files have an unexpected name
based on the new PLIST changes):


===>   Registering installation for py37-libxml2-2.9.13_2
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/py-libxml2/work-py37/stage/usr/local/lib/python3.7/site-packages/__pycache__/drv_libxml2.opt-1.pyc:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/py-libxml2/work-py37/stage/usr/local/lib/python3.7/site-packages/__pycache__/drv_libxml2.pyc:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/py-libxml2/work-py37/stage/usr/local/lib/python3.7/site-packages/__pycache__/libxml2.opt-1.pyc:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/textproc/py-libxml2/work-py37/stage/usr/local/lib/python3.7/site-packages/__pycache__/libxml2.pyc:No
such file or directory


If no one wants to re-open this, I will create a new bug.

The issue is that the .pyc fileas are created as *.cpython-37.*.pyc (similar to
*.cpython-38.*.pyc for py38 builds) and PYTHON_EXT_SUFFIX is empty for < py38.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug 261313] [META] Deprecate/Expire Django 2.2 and switch to Django 3.2

2022-04-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261313

--- Comment #7 from commit-h...@freebsd.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=32dfc9b254a9478752e74ef2372da24cb81cd001

commit 32dfc9b254a9478752e74ef2372da24cb81cd001
Author: Richard Gallamore 
AuthorDate: 2022-04-07 16:42:11 +
Commit: Richard Gallamore 
CommitDate: 2022-04-07 16:51:47 +

Seahub and Django depends: Update Django to 3.2

This is the initial commit for the migration from Django
2.2 to Django 3.2. This migration is needed due to Django 2.2
becoming is EOL as of 4/1/2022.

PR: 261313
Approved by: kai
Differential Revision: https://reviews.freebsd.org/D34456

 www/py-django-constance/Makefile   |  3 ++-
 www/py-django-picklefield/Makefile |  3 ++-
 www/py-django-ranged-response/Makefile |  4 ++--
 www/py-django-simple-captcha/Makefile  |  3 ++-
 www/py-django-statici18n/Makefile  |  3 ++-
 www/py-django-webpack-loader/Makefile  |  3 ++-
 www/seahub/Makefile| 13 +++--
 7 files changed, 19 insertions(+), 13 deletions(-)

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


[Bug 261313] [META] Deprecate/Expire Django 2.2 and switch to Django 3.2

2022-04-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261313
Bug 261313 depends on bug 256762, which changed state.

Bug 256762 Summary: www/py-google-api-python-client: update to 2.35.0
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256762

   What|Removed |Added

 Status|Open|Closed
 Resolution|--- |FIXED

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