Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
47 lines (34 sloc) 1.31 KB
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup python 1.0
set my_name ply
name py-${my_name}
version 3.11
categories-append lang devel
platforms darwin
license BSD
supported_archs noarch
python.versions 27 34 35 36 37
maintainers nomaintainer
description lex and yacc implementation for Python
long_description ${description}
homepage https://www.dabeaz.com/ply/
master_sites ${homepage}
distname ${my_name}-${version}
checksums rmd160 d0039bbbf095aeb7ed82fc2fab4b4699e8406d50 \
sha256 00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3 \
size 159130
if {${name} ne ${subport}} {
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}/html
xinstall -m 644 -W $worksrcpath ANNOUNCE CHANGES \
TODO ${destroot}${docdir}
xinstall -m 644 $worksrcpath/doc/ply.html \
${destroot}${docdir}/html
}
livecheck.type none
} else {
livecheck.type regex
livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
}
You can’t perform that action at this time.