FreeBSD Bugzilla – Attachment 242025 Details for
Bug 271285
devel/py-virtualenv: 'make stage' fails with AttributeError
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix stage target when there is another version installed
py-virtualenv-Makefile.diff (text/plain), 1.13 KB, created by
Nicola Vitale
on 2023-05-06 22:12:34 UTC
(
hide
)
Description:
Patch to fix stage target when there is another version installed
Filename:
MIME Type:
Creator:
Nicola Vitale
Created:
2023-05-06 22:12:34 UTC
Size:
1.13 KB
patch
obsolete
>diff -ruN py-virtualenv.orig/Makefile py-virtualenv/Makefile >--- py-virtualenv.orig/Makefile 2023-05-02 09:40:02.000000000 +0200 >+++ py-virtualenv/Makefile 2023-05-07 00:05:26.959625000 +0200 >@@ -61,10 +61,10 @@ > # StopIteration > # > # Apparently it doesn't work setting PYTHONPATH environment variable... >-VIRTUALENV_WHEEL= ${WRKSRC}/dist/${PORTNAME}-${PORTVERSION}-py${PYTHON_MAJOR_VER}-none-any.whl >+VIRTUALENV_MODULE= ${STAGEDIR}${PYTHON_LIBDIR} > > post-patch: >- @${SED} -i.bak -e 's,%%VIRTUALENV_WHEEL%%,${VIRTUALENV_WHEEL},1' \ >+ @${SED} -i.bak -e 's,%%VIRTUALENV_WHEEL%%,${VIRTUALENV_MODULE},1' \ > -e 's,%%PYTHON_VER%%,${PYTHON_VER},1' \ > ${WRKSRC}/docs/conf.py > >diff -ruN py-virtualenv.orig/files/patch-docs_conf.py py-virtualenv/files/patch-docs_conf.py >--- py-virtualenv.orig/files/patch-docs_conf.py 2023-03-04 12:58:58.000000000 +0100 >+++ py-virtualenv/files/patch-docs_conf.py 2023-05-07 00:03:09.359726000 +0200 >@@ -4,7 +4,7 @@ > from datetime import date, datetime > from pathlib import Path > >-+sys.path.insert(0, '%%VIRTUALENV_WHEEL%%') >++sys.path.insert(0, '%%VIRTUALENV_MODULE%%') > + > from virtualenv.version import __version__ >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 271285
: 242025