[Bug 248981] Mk/Uses/python.mk: Do not surround plist entries in quotes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248981 Joseph Mingrone changed: What|Removed |Added Flags|exp-run?| -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
[Bug 248981] Mk/Uses/python.mk: Do not surround plist entries in quotes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248981 --- Comment #1 from commit-h...@freebsd.org --- A commit references this bug: Author: jrm Date: Tue Sep 1 15:34:25 UTC 2020 New revision: 547280 URL: https://svnweb.freebsd.org/changeset/ports/547280 Log: Mk/Use/python.mk: Do not surround package list entries in quotes When python package lists are generated by distutils, any file entry that includes a space will be surrounded in double quotes. This is unnecessary and causes problems elsewhere such as when stripping ${PREFIX} for staging or checking the package list in stage-qa. PR: 248981 Approved by: kevans, portmgr (mat), python (koobs) Differential Revision:https://reviews.freebsd.org/D26221 Changes: head/Mk/Uses/python.mk -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
[Bug 248981] Mk/Uses/python.mk: Do not surround plist entries in quotes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248981 Joseph Mingrone changed: What|Removed |Added Resolution|--- |FIXED Status|New |Closed -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
[Bug 248712] security/py-stem: Replace security/py-pycrypto with security/py-cryptography
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248712 --- Comment #1 from Automation User --- Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/184571205 -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
[Bug 248712] security/py-stem: Replace security/py-pycrypto with security/py-cryptography
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248712 Automation User changed: What|Removed |Added Keywords||buildisok -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
[Bug 248981] Mk/Uses/python.mk: Do not surround plist entries in quotes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248981 Kubilay Kocak changed: What|Removed |Added Assignee|port...@freebsd.org |j...@freebsd.org Flags|maintainer-feedback?(python |maintainer-feedback+, |@FreeBSD.org) |merge-quarterly? --- Comment #2 from Kubilay Kocak --- We should probably merge this to quarterly -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
Re: How to package .pyc files
On 1/09/2020 4:46 am, Gleb Popov wrote: On Mon, Aug 31, 2020 at 9:45 PM Gleb Popov wrote: Hello. I'm fiddling with the devel/mercurial port ( https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242463 ). The current Makefile results in Error: Orphaned: %%PYTHON_SITELIBDIR%%/mercurial/__modulepolicy__.py Error: Orphaned: %%PYTHON_SITELIBDIR%%/mercurial/__pycache__/__modulepolicy__.cpython-37.opt-1.pyc Error: Orphaned: %%PYTHON_SITELIBDIR%%/mercurial/__pycache__/__modulepolicy__.cpython-37.pyc errors. However, adding these files into pkg-plist seems a bit hard - it requires %%PYTHON_VER%% subst and a special treatment for python2 case. Which made me wonder - should these files be packaged at all? If yes, maybe there is some simple solution I'm missing? Yes, just add them to pkg-plist (while using USE_PYTHON=autoplist to handle the rest automatically) Thanks in advance. Inspecting ${WRKDIR}/.PLIST* files after the build revealed that all other .pyc files are correctly added to the plist. So, there is something special about this __modulepolicy__.py file. I'm tempted to simply remove it on post-install. They are handled specially (see setup.py) The root cause and outcome of that special handling (overriding the default setuptools build/install classes) is that those files are not added to setuptools --record output (the list of files that a package installs), which our framework uses to produce the pkg-plist This ultimately needs to be resolved by upstream, such that those files are added to the list correctly, as they should be. See examples of "get_outputs" use in setup.py files in github, like: https://github.com/Nevisor/Client/blob/master/ScriptLib/Python-2.2/Tools/idle/setup.py#L41 Any ideas? ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"