Files
macports-ports/python/py-cons/Portfile
T
2024-11-21 14:10:53 -05:00

39 lines
1.3 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-cons
version 0.4.6
revision 0
supported_archs noarch
platforms {darwin any}
license LGPL-3+
maintainers {reneeotten @reneeotten} openmaintainer
description An implementation of Lisp/Scheme-like cons in Python.
long_description The cons package attempts to emulate the semantics of \
Lisp/Scheme's cons as closely as possible while \
incorporating all the built-in Python sequence types.
homepage https://github.com/pythological/python-cons
checksums rmd160 536988dfcaf4db89a104d7f1be3b1545491fa3a3 \
sha256 669fe9d5ee916d5e42b9cac6acc911df803d04f2e945c1604982a04d27a29b47 \
size 26179
python.versions 39 310 311 312 313
if {${name} ne ${subport}} {
depends_lib-append \
port:py${python.version}-logical-unification
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.md \
LICENSE.txt ${destroot}${docdir}
}
}