Opened 9 years ago

Closed 9 years ago

#47856 closed defect (fixed)

py27-openssl @0.14+doc: patch fails

Reported by: zzanderr Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: petrrr
Port: py-openssl

Description

Apparently, the layout of the `wrksourcepath' has changed since the portfile was last revised. Everything seems to work if, in the py-openssl Portfile I comment out the lines

        post-patch {
            # Ensure that the correct binaries are used.
            # Some are not actually invoked because only the html documentation is created.
            foreach bin {bibtex dvips latex latex2html lynx makeindex pdflatex perl python} {
                reinplace "s| = \"${bin}\"| = \"${prefix}/bin/${bin}\"|" ${worksrcpath}/doc/tools/mkhowto
            }

            # Ensure that the correct python is used.
            reinplace "s|${prefix}/bin/python|${python.bin}|" ${worksrcpath}/doc/tools/mkhowto
            reinplace "s| python | ${python.bin} |" ${worksrcpath}/doc/Makefile
        }

then change

       post-destroot {
            file copy ${worksrcpath}/doc/html ${destroot}${prefix}/share/doc/${subport}

to

       post-destroot {
            file copy ${worksrcpath}/doc/_build/html ${destroot}${prefix}/share/doc/${subport}

Attachments (1)

py27-openssl_main_log (7.5 KB) - added by zzanderr 9 years ago.

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by zzanderr

Attachment: py27-openssl_main_log added

comment:1 Changed 9 years ago by larryv (Lawrence Velázquez)

Owner: changed from macports-tickets@… to mcalhoun@…
Port: py27-openssl added
Summary: "port upgrade --enforce-variants py27-openssl +doc" fails in patch phasepy27-openssl @0.14+doc: patch fails

comment:4 Changed 9 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:5 Changed 9 years ago by petrrr

Port: py-openssl added; py27-openssl removed
Resolution: fixed
Status: newclosed

Fixes in r140158, maintainer timeout.

Note: See TracTickets for help on using tickets.