Opened 4 months ago

Closed 3 months ago

#70392 closed defect (fixed)

py37-sip fails to build

Reported by: RJVB (René Bertin) Owned by: reneeotten (Renee Otten)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: michaelld (Michael Dickens)
Port: py-sip

Description

sip 6.8.5 requires setuptools_scm >=8 but port:py37-setuptools_scm is clamped at 7.1.0 .

The latest binary package available for py37-sip is 6.8.3 ; this version still builds with the latest dependencies so I think the port needs clamping for python37.

The destroot also fails on README.md; I think the post-destroot should have this change:

     post-destroot {
         xinstall -d ${destroot}${prefix}/share/doc
-        if {${python.version} in "35 36"} {
+        if {${python.version} in "35 36 37"} {
             file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${subport}
             xinstall -m 0644 -W ${worksrcpath} LICENSE LICENSE-GPL2 LICENSE-GPL3 NEWS README ChangeLog \
                 ${destroot}${prefix}/share/doc/${subport}
+        } else {
+            xinstall -m 0644 -W ${worksrcpath} LICENSE README.md \
+                ${destroot}${prefix}/share/doc/${subport}
         }
-        xinstall -m 0644 -W ${worksrcpath} LICENSE README.md \
-            ${destroot}${prefix}/share/doc/${subport}
         system "${python.bin} ${python.libdir}/compileall.py ${destroot}${prefix}"
         system "${python.bin} -O ${python.libdir}/compileall.py ${destroot}${prefix}"
     }

Change History (1)

comment:1 Changed 3 months ago by reneeotten (Renee Otten)

Owner: set to reneeotten
Resolution: fixed
Status: newclosed

In 805b4599eb88a39c03171bb36c7ee1e6ec0ae564/macports-ports (master):

py-sip: pin py37 subport to latest supported version

Closes: #70392

Note: See TracTickets for help on using tickets.