You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
55 lines
1.8 KiB
Tcl
55 lines
1.8 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
|
|
name py-zopeinterface
|
|
python.rootname zope.interface
|
|
version 7.2
|
|
revision 0
|
|
python.versions 27 310 311 312 313 314
|
|
categories-append zope
|
|
license ZPL-2.1
|
|
maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
|
|
description Python interfaces for Zope
|
|
long_description {*}${description}
|
|
|
|
homepage https://zopetoolkit.readthedocs.io/
|
|
|
|
checksums rmd160 6e1d8ef7701429a244352e0344d7a10a6e3c469a \
|
|
sha256 8b49f1a3d1ee4cdaf5b32d2e738362c7f5e40ac8b46dd7d1a65e82a4872728fe \
|
|
size 252960
|
|
|
|
if {${name} ne ${subport}} {
|
|
if {${python.version} == 27} {
|
|
version 5.5.2
|
|
revision 0
|
|
|
|
checksums rmd160 b56a9e93853ccc43993cf3b6f893a9d1986e6917 \
|
|
sha256 bfee1f3ff62143819499e348f5b8a7f3aa0259f9aca5e0ddae7391d059dce671 \
|
|
size 300533
|
|
|
|
depends_build port:py${python.version}-setuptools
|
|
} else {
|
|
post-patch {
|
|
reinplace {s|"setuptools[[:space:]]*<.*"|"setuptools"|} ${worksrcpath}/pyproject.toml
|
|
}
|
|
}
|
|
|
|
if {${python.version} > 27} {
|
|
# Probably fails due to lack of port for zope.testing
|
|
depends_test port:py${python.version}-zope-event
|
|
test.run yes
|
|
test.args --pyargs zope.interface.common.tests
|
|
}
|
|
|
|
post-destroot {
|
|
xinstall -d ${destroot}${prefix}/share/doc/${subport}
|
|
xinstall -m 0644 -W ${worksrcpath} \
|
|
CHANGES.rst README.rst \
|
|
${destroot}${prefix}/share/doc/${subport}
|
|
}
|
|
|
|
livecheck.type none
|
|
}
|