Files
2025-11-17 12:20:19 -05:00

42 lines
1.4 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.7
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 c671174c78f44c37c62de68316dd5a2332570e3f \
sha256 0a96cd2abd6a9f494816c1272cf5583a960041750c2d7a48eeeccd47ce369dfd \
size 8690
python.versions 310 311 312 313 314
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools_scm
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}
}
}