# -*- 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
PortGroup           github 1.0

github.setup        irmen Serpent 1.41 serpent-
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball

name                py-serpent

categories-append   print

platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         nomaintainer
description         Serialization based on ast.literal_eval
long_description    \
    Serpent is a simple serialization library based on ast.literal_eval. \
    Because it only serializes literals and recreates the objects using \
    ast.literal_eval(), the serialized data is safe to transport to other \
    machines (over the network for instance) and de-serialize it there.

checksums           rmd160  c0cd340e7e05dd37a8e9bc61fb116e2df488d07b \
                    sha256  933ff56916735541e52dc0bc65809b9379d126c4a00c6c0874d0d141589d1dd2 \
                    size    82900

python.versions     27 39 310 311 312

if {${name} ne ${subport}} {
    depends_build-append port:py${python.version}-setuptools
    livecheck.type       none
}