[MacPorts] #70392: py37-sip fails to build
MacPorts
noreply at macports.org
Wed Jul 17 14:38:09 UTC 2024
#70392: py37-sip fails to build
--------------------+--------------------
Reporter: RJVB | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: py-sip
--------------------+--------------------
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}"
}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/70392>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list